Article View: net.eunice
Article #67shareable images
From: Steve Summit
Date: Tue, 13 Dec 1983 02:36
Date: Tue, 13 Dec 1983 02:36
35 lines
2210 bytes
2210 bytes
Has anyone attacked the problem of generating shareable images
to run under vms? The assembler (in this case, Eunice's vmsas)
has to provide the linker (in this case, vms link) with
information about which psects are position-independent, which
data segments can be shared, etc. It looks like it could be a
mess to figure out. I'm not sure I can even look at the vmsas
source to figure it out -- on our machine, at least,
/usr/src/cmd/vmsas is missing files, and the files there are
older than the ones in /usr/src/cmd/as, which also have VMS
#ifdef's.
Shareable images are highly desirable, but they are not the
default under vms, as they are under unix. Unless you explicitly
say link/shareable, the executable code will not be shared, and
each user will receive his own, private, in-core copy. This will
kill performance in the case of a large program that many people
are executing (like a command interpreter or editor) since there
won't be enough physical core and most people will have their
redundant copy of the code swapped out most of the time.
If anyone has looked into this problem, or can just suggest which
vmsas sources are likely to be reliable, I would appreciate any
tips.
Perhaps it would help to use cc -S, and let the vms assembler
take a stab at the assembly language code the unix c compiler
spits out.
Eventually we're going to get DEC's c compiler, which will
probably be able to deal with things properly.
Steve Summit
Tektronix, Inc.
tektronix!tekmdp!stevesu
503-629-1069
Technical Details
Message-ID:
<2429@azure.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!linus!security!genrad!decvax!tektronix!azure!stevesuShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 (Tek) 9/26/83; site azure.UUCP Path: arc1-ca.pugleaf.net!utzoo!linus!security!genrad!decvax!tektronix!azure!stevesu From: stevesu@azure.UUCP (Steve Summit) Newsgroups: net.eunice Subject: shareable images Message-ID: <2429@azure.UUCP> Date: Mon, 12-Dec-83 21:36:43 EST Article-I.D.: azure.2429 Posted: Mon Dec 12 21:36:43 1983 Date-Received: Wed, 14-Dec-83 01:43:42 EST Organization: Tektronix, Beaverton OR Lines: 35