Re: [foxboro] CP Block Processor Memory Management

  • From: "Johnson, Alex P (IPS)" <alex.johnson@xxxxxxxxxxxxxxxx>
  • To: foxboro@xxxxxxxxxxxxx
  • Date: Thu, 6 Oct 2005 16:48:11 -0400

Re: Question1: will the new block moved to the end of the memory or =
will it
be split onto two areas?

Blocks are stored contiguously.


Re: Question2: If this maneuver creates some empty spaces within the =
memory,
will these spaces be filled with new blocks or existing one which have =
been
modified?

Space is reused if the new block fits. Altering a block parameter will =
not
cause it to move (other than HLBL blocks which are resized).

Re: Question3: What happen if I create a block which needs more space =
than
pre-allocated with the CSPACE parameter?

It depends on the version of the CP. At one time, there was a defect =
where a
new sequence block could not fit and the old one had been deleted. This =
was
changed to add the new block before removing the old one.=20

I do not remember the version in which this was done.


Re: Basically, the SHRINK command affects the work file. Is there any =
way to
do the same on the CP's memory without doing a reboot?

No. A reboot is required.


Re: Will this problem occur in case of Fault tolerant modules?

Yes.


Re: Is the memory "snapshot" of =3D the two CPFT necessary the exact =
copy?

There is only one snapshot - the checkpoint file. The secondary module =
is
reloaded from the primary module's memory - not the boot host's =
checkpoint
file.



Regards,
=20
Alex Johnson
Invensys Systems, Inc.
10707 Haddington
Houston, TX 77063
+1 713 722 2859 (voice)
+1 713 932 0222 (fax)
+1 713 722 2700 (switchboard)
alex.johnson@xxxxxxxxxxxxxxxx
I hope to see you at the Invensys Process System User Group meeting =
October
3-6 in Houston, TX -=20
www.invensys.com/usergroup2005

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx =
[mailto:foxboro-bounce@xxxxxxxxxxxxx] On
Behalf Of "Perrot, Fran=E7ois"
Sent: Thursday, October 06, 2005 9:46 AM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro]=20

Content-Type: text/plain;
        charset=3D"iso-8859-1"
Content-Transfer-Encoding: quoted-printable
=3D20

Dear all,

=3D20

I am facing a problem regarding the CP60 memory management when using =
=3D
lots
of sequential blocks.

=3D20

According my understanding of the Foxboro documentation, the parameter
CSPACE is booking a certain amount of memory within the limit of =
32Kb.=3D20

=3D20

e.g. I would like to modify an existing sequential block (IND) using
CSIZE=3D3D20kb and CSPACE=3D3D0 with the new parameters like =
CSIZE=3D3D20kb =3D
and CSPACE
30kb

=3D20

Question1: will the new block moved to the end of the memory or will it =
=3D
be
split onto two areas?

=3D20

Question2: If this manoeuvre creates some empty spaces within the =3D
memory,
will these spaces be filled with new blocks or existing one which have =
=3D
been
modified?

=3D20

Question3: What happen if I create a block which need more space than
pre-allocated with the CSPACE parameter?

=3D20

Basically, the SHRINK command affects the work file. Is there any way =
=3D
to do
the same on the CP's memory without doing a reboot.  Will this problem
occurs in case of Fault tolerant modules. (is the memory "snapshot" of =
=3D
the
two CPFT necessary the exact copy?)

=3D20

Thanks.

=3D20

Fran=3DE7ois PERROT

=3D20





 <http://www.fp-consulting.com>=3D20

=3D20

=3D20



Francois Perrot
Consultant=3D20

FP consulting=3D20


 <mailto:francois.perrot@xxxxxxxxxxxxxxxx> =3D
francois.perrot@xxxxxxxxxxxxxxxx=3D20


mobile:=3D20

(060) 941-2129=3D20

=3D20



 =3D
<https://www.plaxo.com/add_me?u=3D3D17180619476&v0=3D3D1479401&k0=3D3D19=
868609=3D
79> Add
me to your address book...

 <http://www.plaxo.com/signature> Want a signature like this?

=3D20




-- No attachments (even text) are allowed --
-- Type: image/jpeg
-- File: image001.jpg


=20
=20
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
=20
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         =
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Djoin
to unsubscribe:      =
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave
=20

 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts:

  • » Re: [foxboro] CP Block Processor Memory Management