From: jgh1+@pmax1.cis.pitt.edu (John G Hardie)
Subject: VMS 5.x global sections
Date: 9 Jun 92 15:53:03 GMT [thread overview]
Message-ID: <207413@unix.cis.pitt.edu> (raw)
Hi again.
Does anyone have a nice clear simple example of creating a
system global section under VMS? I would prefer that it be
in C, but I'll take anything.
The App:
We have several people tracking particles through magnetic fields.
Most of them are analyzing the same experiment and hence use the
same field map. Now, this map is 3 Meg in size (reduced from 4.5
Meg originally by some sneaky tricks). In the current setup, every
person doing tracking loads the map into their own address space.
Our microvax has 16 Meg of ram, the tracking/analysis application
takes about 2-3 meg on it's own (without the map) depending on what's
being done. So, a full analyzer requires about 5-6 Meg to run.
Usually, there are 2 or 3 people running this program at the same
time which amounts to 10-18 Meg required for them alone. In addition,
there are usually 4 or so other users running stuff. Needless to say,
things swap a bit.
I would like to put the magnet map in a system wide global section
which each tracer can map to. This should reduce our memory
requirements from 10-18 to 7-12 meg, which should also increase our
throughput since we won't have to go to disk as often.
---------------
Anyway, I've got the MACRO fragments from the DEC docs, and two
examples of creating sections (one in FORTRAN, one in C) but all are
more or less impenetrable (particularly the C which seems to have been
intended for the Obfuscated C Contest ;-), none creates a system
global section, and all create a new (i.e. empty) section rather than
mapping to an existing file.
HEEELLLLPPPP! I've been fooling around with this for a
couple (ok, 1.5 on and off) days but I don't really have the time right
now to figure it out myself.
Thanks,
John
--
jgh1@vm1.cis.pitt.edu
Give me chastity and continency, but do not give them yet.
reply other threads:[~1992-06-09 15:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox