Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Undump for DECstations?
@ 1991-12-31  3:07 Jurgen Botz
  1991-12-31 14:07 ` Frank Wortner
  1991-12-31 19:46 ` Sticky bit? Was: " Michael Stoodt
  0 siblings, 2 replies; 6+ messages in thread
From: Jurgen Botz @ 1991-12-31  3:07 UTC (permalink / raw)


Anybody have a working "undump" for DECstations?

I'm using Tom Christiansen's (excellent!) "man" program, written
in Perl.  Unfortunately it's big enough that it takes a good 4 or
5 seconds to parse on my heavily loaded DS 3100, which is just a 
bit irritating.

I've found the version of undump in TeX's unsupported set, but
it doesn't seem to work on MIPS machines.

TIA.
-- 
Jurgen Botz                  |   Internet: JBotz@mtholyoke.edu
Academic Systems Consultant  |     Bitnet: JBotz@mhc.bitnet
Mount Holyoke College        |      Voice: (US) 413-538-2375 (daytime)
South Hadley, MA, USA        | Snail Mail: J. Botz, 01075-0629


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Undump for DECstations?
  1991-12-31  3:07 Undump for DECstations? Jurgen Botz
@ 1991-12-31 14:07 ` Frank Wortner
  1991-12-31 19:46 ` Sticky bit? Was: " Michael Stoodt
  1 sibling, 0 replies; 6+ messages in thread
From: Frank Wortner @ 1991-12-31 14:07 UTC (permalink / raw)



GNU EMACS 18.57 has an unexec() subroutine that works.  Look in
unexmips.c in the distribution.  With a little bit of hacking,
you should be able to do what you want.

					Frank


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Sticky bit? Was: Undump for DECstations?
  1991-12-31  3:07 Undump for DECstations? Jurgen Botz
  1991-12-31 14:07 ` Frank Wortner
@ 1991-12-31 19:46 ` Michael Stoodt
  1991-12-31 22:13   ` Mike Iglesias
  1 sibling, 1 reply; 6+ messages in thread
From: Michael Stoodt @ 1991-12-31 19:46 UTC (permalink / raw)


In <1991Dec31.030750.19086@mtholyoke.edu> jbotz@mtholyoke.edu (Jurgen Botz) writes:

>Anybody have a working "undump" for DECstations?

>I'm using Tom Christiansen's (excellent!) "man" program, written
>in Perl.  Unfortunately it's big enough that it takes a good 4 or
>5 seconds to parse on my heavily loaded DS 3100, which is just a 
>bit irritating.

On the same subject, I'm wondering how much good it would do to set
the "sticky bit" (chmod 1755, etc.) on the perl executable.  Does
anyone care to comment before I try it?

Michael Stoodt                                stoodt@cis.umassd.edu


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Sticky bit? Was: Undump for DECstations?
  1991-12-31 19:46 ` Sticky bit? Was: " Michael Stoodt
@ 1991-12-31 22:13   ` Mike Iglesias
  1991-12-31 22:35     ` Win Treese
  0 siblings, 1 reply; 6+ messages in thread
From: Mike Iglesias @ 1991-12-31 22:13 UTC (permalink / raw)


In article <1991Dec31.194650.9923@cis.umassd.edu> stoodt@cis.umassd.edu (Michael Stoodt) writes:
>On the same subject, I'm wondering how much good it would do to set
>the "sticky bit" (chmod 1755, etc.) on the perl executable.  Does
>anyone care to comment before I try it?

I tried this recently and it didn't seem to make much difference.


Mike Iglesias                        Internet:    iglesias@draco.acs.uci.edu
University of California, Irvine     BITNET:      iglesias@uci
Office of Academic Computing         uucp:        ...!ucbvax!ucivax!iglesias


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Sticky bit? Was: Undump for DECstations?
  1991-12-31 22:13   ` Mike Iglesias
@ 1991-12-31 22:35     ` Win Treese
  1992-01-02 17:02       ` Stefan Esser
  0 siblings, 1 reply; 6+ messages in thread
From: Win Treese @ 1991-12-31 22:35 UTC (permalink / raw)



In article <2960EB9F.29108@orion.oac.uci.edu> iglesias@draco.acs.uci.edu (Mike Iglesias) writes:

>   In article <1991Dec31.194650.9923@cis.umassd.edu> stoodt@cis.umassd.edu (Michael Stoodt) writes:
>   >On the same subject, I'm wondering how much good it would do to set
>   >the "sticky bit" (chmod 1755, etc.) on the perl executable.  Does
>   >anyone care to comment before I try it?

>   I tried this recently and it didn't seem to make much difference.

I wouldn't expect it to make much difference.  ULTRIX, like the BSD
system it is derived from, keeps program text pages around in memory
until it actually needs to reclaim the memory.  Hence, if you're using
perl a lot, it will probably be in memory.  If it isn't, something
else needed the memory, and the hint of the sticky bit doesn't really
make any difference.

Win Treese						Cambridge Research Lab
treese@crl.dec.com					Digital Equipment Corp.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Sticky bit? Was: Undump for DECstations?
  1991-12-31 22:35     ` Win Treese
@ 1992-01-02 17:02       ` Stefan Esser
  0 siblings, 0 replies; 6+ messages in thread
From: Stefan Esser @ 1992-01-02 17:02 UTC (permalink / raw)


In article <1991Dec31.223513.1961@crl.dec.com>, treese@crl.dec.com (Win Treese) writes:
|> I wouldn't expect it to make much difference.  ULTRIX, like the BSD
|> system it is derived from, keeps program text pages around in memory
|> until it actually needs to reclaim the memory.  Hence, if you're using
|> perl a lot, it will probably be in memory.  If it isn't, something
|> else needed the memory, and the hint of the sticky bit doesn't really
|> make any difference.

BSD used to swap out a binary on exit, and kept it available for paging in 
at a later time. This was considered reasonable, when memory was small, 
disks were many and a network was nonexistent. 
With fewer disks, larger memories (and especially network swap) this 
became a bad strategie and was dropped from several (all ?) 
implementations.

Thus the sticky bit makes a difference. The binaries are swapped out after 
termination and can be paged in from several drives in parallel thereafter. 
But it also means, that you need a higher number of texts configured into 
your kernel and a higher amount of swap.

We have a DEC 5000/200 with 4 1GB SCSI drives and see improved startup 
time after setting the sticky bit on often used executables. Our programs 
often operate on data much larger than real memory (72MB), and we have 
no big chance of finding left over pages from earlier executions of the same 
binary.

If you have many swap partitions and startup times tend to be long under 
heavy load, setting the sticky bit may well be worth the try.
It is not too useful for binaries present in memory at all times anyway
(like /bin/sh), but may well be a good idea for perl (and /bin/cc and all the 
compiler passes, as, ld, ...).
But don't try it on more executables than your kernel has text segments 
defined. It will make your system die after some time ...

Stefan
-- 
 Stefan Esser,  Institute of Nuclear Physics,  University of Cologne,  Germany
 se@IKP.Uni-Koeln.DE                                           [134.95.192.50]


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1992-01-02 17:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1991-12-31  3:07 Undump for DECstations? Jurgen Botz
1991-12-31 14:07 ` Frank Wortner
1991-12-31 19:46 ` Sticky bit? Was: " Michael Stoodt
1991-12-31 22:13   ` Mike Iglesias
1991-12-31 22:35     ` Win Treese
1992-01-02 17:02       ` Stefan Esser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox