From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,ff3f83fe2469c0f2 X-Google-Attributes: gid1164f8,public From: msimons@csugrad.cs.vt.edu (Mike Simons) Subject: Re: Low mem on DEC 3000 Date: 1995/04/06 Message-ID: <3m1tcc$odh@csugrad.cs.vt.edu>#1/1 X-Deja-AN: 100924661 references: <3lr6v0$c06@h20-hrze.uni-duisburg.de> organization: Virginia Tech Computer Science Dept, Blacksburg, VA newsgroups: comp.sys.dec Joerg Rottland (rottland@fb9-ti.uni-duisburg.de) wrote: : we have some problems with our DEC 3000 systems running OSF/1. We are :using two systems: : DEC 3000/800 128MB (1GB swap - DSP3107L) OSF/1 V2.0 : DEC 3000/700 128MB (512MB swap - RZ26L) OSF/1 V3.0 : When starting a big job the max. mem we get is about 78-80MB, so we : are missing ~50MB - (I can't believe that the OS needs all of the mem, : cause I think DEC sells systems with only 32MB.) : So what are the 50MB used for? Can I configure the kernel, so that : I get more mem? (without buying any!?) Actually it doesn't need all that memory... I suspect you are running into a resource limit problem (each user is allowed a certain ammount of system resources per process. Most of the time the resource limit is set well above real needs). If you read the man pages for your shell you will see that you can change the limits... but only to a point ... that point is compiled into the kernel... you need to change the maximum_resident_memory_size value... :) but that's not what DEC calls it... I don't know exactly where it is in the header files nor do I know what it's called. But I do know that it is set by using the 'maxusers' value in some function. For example, on a machine that has a "#define maxusers 16" the resident memory size is set at about 27 Megs... for a system with 32... the limit is about 57 Megs... I do NOT recommend you just simply raise the 'maxusers' variable... to 'fix' this... that value changes many other things to. So hopefully _someone_ will know the exact define statement to change to fix this problem... after all we have had 20 people from DEC say they read this group I'm _sure_ one will know ;) If there isn't an answer by this weekend I will play around in the kernel files looking for the place it sets the limit... The bad part about this fix is you need to re-compile the kernel :< To change the soft limits check your shell man page (for bash, ksh, sh: builtin command is 'ulimit'... for csh, tcsh builtin command 'limit') Also if you have the OSF/1 3.0 documentation check out section 5.3.3.3 : The second problem we have is the swapping. (We have the /sbin/swapdefault : -link installed). If a process starts swapping (which it does very : early - 78MB) the system gets really slow. It gets so slow, that a : Sun Sparc10 gets faster than the DEC, which is normaly about three : times faster. (The Sun swaps too) Is swapping without the : /sbin/swapdefault faster? Or are out Discs to slow ? (ST124000 in : the SUN), or has anybody a better solution than buying memmory? Hmmm... The best thing you can do to speed up swap speed is to simply use more swap _devices_... using multiple disks helps alot to speed up swap speed. If you a lot of drives available use the 'fastest' drive you have for 1st swap space... and put _some_ swap space on all your drives ... that way OSF can swapp out to who isn't already busy. If you have 4 drives... and you put a little swap space on each drive, about 40 Megs each) you should get a great speed up (at least compared to using only one drive for swapping :) The down side is that you might have to reconfigure all your filesystems ... ;) ... but you must have tape drives should be easy :] Later, Mike Simons msimons@csugrad.cs.vt.edu