anne.jones dumps core
John Mashey
mash at mips.COM
Thu Mar 22 13:33:40 AEST 1990
In article <3054 at auspex.auspex.com> guy at auspex.auspex.com (Guy Harris) writes:
>The SunOS 3.2 Bourne shell was scoured for the "catch SIGSEGV and grow
>the 'stack'" hack. (Actually, the BRL Bourne shell - based, like the
>SunOS 3.x one, on the S5R2 Bourne shell - was the one that was scoured,
>and the changes were later applied to the 3.x one, but I digress....)
> The performance impact was, in fact, insignificant, at least
> for that test.
> I'm curious what the performance impact was on the original
> PDP-11(s) on which the work was done, given that John Mashey
> has claimed, as I remember, that Bourne put the SIGSEGV hack
> in at his urging in order to speed up the shell.
Beats me. Just to make sure this statement is clarified:
a) NEVER, EVER, did I urge this particular thing upon srb.
b) However, I almost certainly caused it, because at the time,
I was telling Steve we'd never switch because:
1) His shell used noticably more time than the PWB shell.
2) At the time [mid-76], we were driving 11/45s ruthlessly,
(and slightly later, putting 45 users on an 11/70),
and re-orging every file system every weekend, and
watching the accounting files for people in need of
tuning,.. and we couldn't buy machines fast enough.
3) Hence, a slower shell would be over our dead bodies....
c) At which point, Steve went into an orgy of tuning...
d) I never heard how much this particular part of the
tuning was worth. Note that you would see it a lot more
in the case where you are continually allocating/reallocating
memory (and thus not taking SIGSEGVs).
Just to show there's justice in the world, I paid for my (indirect) sin
of item b) above when I left BTL and went to work at Convergent
on 68010s...
--
-john mashey DISCLAIMER: <generic disclaimer, I speak for me only, etc>
UUCP: {ames,decwrl,prls,pyramid}!mips!mash OR mash at mips.com
DDD: 408-991-0253 or 408-720-1700, x253, or 408-524-7015
USPS: MIPS Computer Systems, 930 E. Arques, Sunnyvale, CA 94086
More information about the Comp.unix.wizards
mailing list