From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,215113d8a780b60a X-Google-Attributes: gidfee84,public X-Google-Thread: 10b612,215113d8a780b60a X-Google-Attributes: gid10b612,public X-Google-ArrivalTime: 1993-07-13 22:16:01 PST Xref: gmd.de comp.unix.ultrix:10034 comp.unix.osf.osf1:617 Newsgroups: comp.unix.ultrix,comp.unix.osf.osf1 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!ux1.cso.uiuc.edu!moe.ksu.ksu.edu!hobbes.physics.uiowa.edu!news.uiowa.edu!icaen!icaen.uiowa.edu!dsiebert From: dsiebert@icaen.uiowa.edu (Doug Siebert) Subject: Re: Is anybody besides me concerned about VM requirements of OSF 1.2 on DEC 3000? Message-ID: <1993Jul14.044839.28950@icaen.uiowa.edu> Sender: usenet@icaen.uiowa.edu (UseNet News daemon) Organization: Iowa Computer Aided Engineering Network, University of Iowa X-Newsreader: NN version 6.4.19 References: <21vp91$rnn@pdq.coe.montana.edu> Date: Wed, 14 Jul 1993 04:48:39 GMT 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