Re: [foxboro] DM optimization in 6.5.1
- From: "Ed Zychowski" <Ed.Zychowski@xxxxxxxxxx>
- To: foxboro@xxxxxxxxxxxxx
- Date: Fri, 29 Apr 2005 09:47:43 -0500
That was it! Worked great. Thanks!
"Kevin
FitzGerrell"
<fitzgerrell@para To
dise.net.nz> "foxboro@xxxxxxxxxxxxx"
Sent by: <foxboro@xxxxxxxxxxxxx>
foxboro-bounce@fr cc
eelists.org
Subject
Re: [foxboro] DM optimization in
04/28/2005 05:39 6.5.1
PM
Please respond to
foxboro@freelists
.org
Ed,
You can use the pdfpack tool in /usr/fox/wp/bin to help with this problem.
The
pdfpack tool in /usr/fox/wp/bin is not the same as the one in /usr/foxbin
(or
/usr/fox/disp_tools). Make sure you fully path the command to get the
right
tool. They are both scripts that are wrappers for an executable.
For example, if your graphics files are in directories under /usr/disp:
cd /usr/disp
/usr/fox/wp/bin/pdfpack -r -5 *
The -r tells pdfpack to process a list of files, recursively.
The -5 tells it to process only 50 series files.
The * is a wildcard.
All display manager files in /usr/disp and in all directories under
/usr/disp
will be processed.
It's my understanding that pdfpack for 50 series does not optimize the
displays,
but rather clears the previous optimization. This reduces your callup time
from
20+ seconds on the first callup to only a few extra seconds on the first
callup.
There will still be a delay on the first callup of a graphic.
To speed things up even further, you can automate the initial graphics
callup by
writing a script using the pref command. Because pdfpack gives you a list
of
all the files it processes, and which ones it packed, you can do the
following
to save a record:
cd /usr/disp
/usr/fox/wp/bin/pdfpack -r -5 * | tee /opt/myscripts/displays.list
This saves a list of processed files in /opt/myscripts/displays.list
To call each one of these displays and allow 5 seconds for optimization,
you can
use the following script:
#!/bin/sh
### cycle through dm graphics based on list generated by pdfpack ###
for DISP in `awk '/PACKED/{print $3}' /opt/myscripts/displays.list`
do
### send display to screen ###
/usr/local/pref -AW5101 dmcmd $DISP
sleep 5
done
When typing this script, watch the difference between the backquotes which
execute the entire awk command and the normal single quotes which isolate
/PACKED/{print $3} portion of the command. Change the -AW5101 to the name
of
the display manager you are going to send the graphics to.
Regards,
Kevin FitzGerrell
Systems Engineer
Foxboro New Zealand
------------------------------------
Tel: +64 (9) 573 7690
Fax: +64 (9) 573 7691
Quoting Ed Zychowski <Ed.Zychowski@xxxxxxxxxx>:
>
> All knowing list,
> I have just upgraded two nodes to version 6.5.1. We use display manager
> running on WP51Ds. Now, each time a display is called up for the first
> time, we have to wait for the display to "time-out/smurf -out" and then
> re-callup the display before we can get our normal DM callup speed. One
> node has 8 dual headed workstations and about 250 displays not counting
> the
> overlays.
>
> Is there a way to either reduce the time it takes to optimize the
> display
> or a way to automate the optimization process?
>
>
>
>
>
>
>
> ______________________________________________________________________
> _
> 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: http://www.freelists.org/list/foxboro
> to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
> to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
>
>
_______________________________________________________________________
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: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
_______________________________________________________________________
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: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
- References:
- Re: [foxboro] DM optimization in 6.5.1
- From: Kevin FitzGerrell
Other related posts:
- » Re: [foxboro] DM optimization in 6.5.1
- » Re: [foxboro] DM optimization in 6.5.1
- » Re: [foxboro] DM optimization in 6.5.1
- » Re: [foxboro] DM optimization in 6.5.1
- Re: [foxboro] DM optimization in 6.5.1
- From: Kevin FitzGerrell