Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Is anybody besides me concerned about VM requirements of OSF 1.2 on DEC 3000?
@ 1993-07-14  1:58 Jaye Mathisen
  1993-07-14  4:48 ` Doug Siebert
  1993-07-14  7:21 ` Burkhard Neidecker-Lutz
  0 siblings, 2 replies; 4+ messages in thread
From: Jaye Mathisen @ 1993-07-14  1:58 UTC (permalink / raw)



Posted to c.u.u to hit the Deccies.

I know disks are getting cheap, and really big disks are getting really
cheap, but...

I have a DEC 3000/500, 96MB's of RAM, 256MB Swap partition.  OSF/1 V1.2

Just me alone, with 10-15 xterms, rlogins, clock, zmail, 2 HX displays, I
can't run a compile 99% of the time with -0, because I'm out of swap
space (the infamous less then 10% swap free message).

Looking through ps guax, I see Xterms at 8+ MB', MWM at 11+, X at 40, etc
etc.  

Now I realize that there was going to be some expansion, and more memory
wastage/usage depending on your point-of-view, but this seems extreme.

For example, I have a 5500 with 128MB's RAM serving a 20 node X terminal
lab, plus about 10 more faculty x terminals, PC's workstations, and it
has 256MB's of swap as well.  We run about 40 users at a time, most of the
load is X development, emacs, compiles, etc.  We have very rarely ever run
out of swap.

I have a 3000/500X with 192MB's of RAM coming.  If I extrapolate out
that number of users, X processes, etc. to the 500x, I'm going to need
2+GB's of swap.  Outrageous.  

Hell, unless I close most of my windows, I can't compile xv3.00a with
full optimization, as the compiler hits something like 70MB's of VM space.

I love the speed of this baby, but there are aspects that disappoint me.

Perhaps it's an OSF shlib implementation issue?  Or maybe the page/swap
area page reservation scheme?

In comparison (not to start a flame war or anything), I went to an xterminal
(DEC VXT2000, booted off an infoserver), and connected the xdm session to
an HP 9000/730, with 64MB's ram, 105MB's swap.  After 10 xterms, and rlogins,
the HP shows 90+MB's free.

I realize this isn't an apple-apple comparison, the tools used may not be
reporting the same thing.

I would be interested in hearing any thoughts on this, or if somebody can 
straighten me out on what's going on.  For all I know, I just need to
set a kernel param, reconfig it, and the behaviour will change, I'm just
not fully up-to-speed yet on the OSF stuff.

Thanks for your time.
-- 
 Jaye Mathisen, COE Systems Manager                (406) 994-4780
 410 Roberts Hall,Dept. of Computer Science
 Montana State University,Bozeman MT 59717	osyjm@cs.montana.edu


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

* Re: Is anybody besides me concerned about VM requirements of OSF 1.2 on DEC 3000?
  1993-07-14  1:58 Is anybody besides me concerned about VM requirements of OSF 1.2 on DEC 3000? Jaye Mathisen
@ 1993-07-14  4:48 ` Doug Siebert
  1993-07-18 14:41   ` Lincoln Stein
  1993-07-14  7:21 ` Burkhard Neidecker-Lutz
  1 sibling, 1 reply; 4+ messages in thread
From: Doug Siebert @ 1993-07-14  4:48 UTC (permalink / raw)


osyjm@cs.montana.edu (Jaye Mathisen) writes:


>Posted to c.u.u to hit the Deccies.

>I know disks are getting cheap, and really big disks are getting really
>cheap, but...

>I have a DEC 3000/500, 96MB's of RAM, 256MB Swap partition.  OSF/1 V1.2

>Just me alone, with 10-15 xterms, rlogins, clock, zmail, 2 HX displays, I
>can't run a compile 99% of the time with -0, because I'm out of swap
>space (the infamous less then 10% swap free message).

>Looking through ps guax, I see Xterms at 8+ MB', MWM at 11+, X at 40, etc
>etc.  

>Now I realize that there was going to be some expansion, and more memory
>wastage/usage depending on your point-of-view, but this seems extreme.

>For example, I have a 5500 with 128MB's RAM serving a 20 node X terminal
>lab, plus about 10 more faculty x terminals, PC's workstations, and it
>has 256MB's of swap as well.  We run about 40 users at a time, most of the
>load is X development, emacs, compiles, etc.  We have very rarely ever run
>out of swap.

>I have a 3000/500X with 192MB's of RAM coming.  If I extrapolate out
>that number of users, X processes, etc. to the 500x, I'm going to need
>2+GB's of swap.  Outrageous.  

>Hell, unless I close most of my windows, I can't compile xv3.00a with
>full optimization, as the compiler hits something like 70MB's of VM space.

>I love the speed of this baby, but there are aspects that disappoint me.

>Perhaps it's an OSF shlib implementation issue?  Or maybe the page/swap
>area page reservation scheme?

>In comparison (not to start a flame war or anything), I went to an xterminal
>(DEC VXT2000, booted off an infoserver), and connected the xdm session to
>an HP 9000/730, with 64MB's ram, 105MB's swap.  After 10 xterms, and rlogins,
>the HP shows 90+MB's free.

>I realize this isn't an apple-apple comparison, the tools used may not be
>reporting the same thing.

>I would be interested in hearing any thoughts on this, or if somebody can 
>straighten me out on what's going on.  For all I know, I just need to
>set a kernel param, reconfig it, and the behaviour will change, I'm just
>not fully up-to-speed yet on the OSF stuff.



Well I've had an Alpha 3000/400 w/96M of RAM on my desk for 4 or 5 months now,
first with the default 128M of swap, later increased to about 200M (customizing
your partitions is ridiculously hard on that machine, a single user maintenence
shell without even an 'ls' (echo * anyone?) is pretty horrible!)  I found out
after the fact you can remove /sbin/swapdefault, and you don't "reserve" swap
space for all those VM-hungry apps.  So if that's all you are worried about,
rm'ing that one file will solve it.  The way it works is that you reserve
space to cover the VM needs of a process at startup time, to make sure it won't
have to be killed in the kernel because there's nowhere to swap it to.  Its
usefulness is limited if you are never going to exceed your RAM size plus your
swap space in kernel+apps memory requirements.  With 96M+256M, you'd have to be
doing some really heavy-duty stuff...

However, the HP does the same 'hold' strategy, and it does *not* have such
excessive VM problems.  HP's shared library design, while I could think of
some improvements, is far superior to OSF's, IMHO.  And I've used HP's for well
over a year now, and run some pretty major stuff on one, so I know a lot about
how that system handles huge loads (we're talking multiple hundreds of users
running a dedicated application on a 9000/710 here) and its VM requirements.

I'd advise against anyone without lots of disk (or who wants lots of real
users) trying to run an Alpha without rm'ing /etc/swapdefault, the VM design
in OSF is just so incredibly poor wasting that disk just to reserve space does
not make sense.

-- 
Doug Siebert                             |  "I don't have to take this abuse
Internet:  dsiebert@isca.uiowa.edu       |   from you - I've got hundreds of
NeXTMail:  dsiebert@chop.isca.uiowa.edu  |   people waiting in line to abuse
    ICBM:  41d 39m 55s N, 91d 30m 43s W  |   me!"  Bill Murray, Ghostbusters


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

* Re: Is anybody besides me concerned about VM requirements of OSF 1.2 on DEC 3000?
  1993-07-14  1:58 Is anybody besides me concerned about VM requirements of OSF 1.2 on DEC 3000? Jaye Mathisen
  1993-07-14  4:48 ` Doug Siebert
@ 1993-07-14  7:21 ` Burkhard Neidecker-Lutz
  1 sibling, 0 replies; 4+ messages in thread
From: Burkhard Neidecker-Lutz @ 1993-07-14  7:21 UTC (permalink / raw)


In article <21vp91$rnn@pdq.coe.montana.edu> osyjm@cs.montana.edu (Jaye Mathisen) writes:
> ... lots of unpleasant stuff about VM gobbling deleted ...

>Perhaps it's an OSF shlib implementation issue?  Or maybe the page/swap
>area page reservation scheme?

Both, more of the latter. The first one asks for a lot of stuff that it
virtually never uses, the second one eagerly preallocates stuff. We've
changed over to "lazy" swap allocation (which is mostly what SGI and HP
seem to be using anyway). That's described in the system administration
manual (basically, delete /sbin/swapdefault after you've added the necessary
description of your swap areas to /etc/fstab). Some of these things will
also improve with the newer releases of the OS (such as the upcoming V1.3
which will tame the compilers memory hunger quite a bit).

>I realize this isn't an apple-apple comparison, the tools used may not be
>reporting the same thing.

The reporting by "ps" is too intimidating (though correct in some sense).

		Burkhard Neidecker-Lutz

Distributed Multimedia Group, CEC Karlsruhe  
Software Motion Pictures & BERKOM II Project
Digital Equipment Corporation
neidecker@nestvx.enet.dec.com


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

* Re: Is anybody besides me concerned about VM requirements of OSF 1.2 on DEC 3000?
  1993-07-14  4:48 ` Doug Siebert
@ 1993-07-18 14:41   ` Lincoln Stein
  0 siblings, 0 replies; 4+ messages in thread
From: Lincoln Stein @ 1993-07-18 14:41 UTC (permalink / raw)


> I found out after the fact you can remove /sbin/swapdefault, and you
> don't "reserve" swap space for all those VM-hungry apps.  So if that's
> all you are worried about, rm'ing that one file will solve it.

One warning about using the "lazy" swap allocation method: When swap
is exhausted using this method, process requests for additional memory
fail, and these processes begin to die.  Unfortunately it appears that
various essential root processes in OSF on the DEC 3000 are constantly
making calls for new memory.  So when a user process exhausts VM, the
OS begins to kick off its processes one by one: a nfsd here, an inetd
there, a crond...  In our configuration, a DEC 3000 model 500, with
180 MB of RAM and 640 MB of swap we were able to bomb the operating
system almost 100% of the time by running several large user programs
simultaneously.  After crashing the machine a few days in a row, we
went back to the greedy swap algorithm.

Lincoln

-- 
========================================================================
Lincoln D. Stein
lstein@genome.wi.mit.edu	Whitehead Institute, Cambridge, MA
========================================================================


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

end of thread, other threads:[~1993-07-18 14:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-07-14  1:58 Is anybody besides me concerned about VM requirements of OSF 1.2 on DEC 3000? Jaye Mathisen
1993-07-14  4:48 ` Doug Siebert
1993-07-18 14:41   ` Lincoln Stein
1993-07-14  7:21 ` Burkhard Neidecker-Lutz

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