From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076450423096.tru64-unix-managers.marc@archive.invalid> From: Tim DiLauro Date: Fri, 10 Jan 1997 15:12:43 +0000 To: tru64-unix-managers Subject: SUMMARY: swap question with osf4.0 (translated) X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076450423096 On Fri, 10 Jan 1997, Bertrand Wallrich wrote: > Date: Fri, 10 Jan 1997 11:06:05 +0100 (MET) > From: Bertrand Wallrich > To: alpha-osf-managers@ornl.gov > Subject: SUMMARY: swap question with osf4.0 > Followup-To: poster >=20 >=20 > Thanks to : > ----------- > chu@musp0.Jpl.Nasa.Gov (Eugene Chu) > Jerome FENAL >=20 > The question : > -------------- > I don't understand how works the memory and swap allocation. > The kernel seems to alocate the entire memory in swap. >=20 > USER PID %CPU %MEM VSZ RSS TTY S STARTED TIME = COMMAND > root 0 0.2 5.1 132M 6.5M ?? R < Dec 23 56:47.60 = [kernel i >=20 > why ? > Is there a way to decrease that ? >=20 >=20 > If you have pointers on text which explain that... > Thanks, >=20 >=20 > Answer : > -------- > (sorry, it's in french) I've provided a rough English translation, for anyone who cares. >=20 > Peut-=EAtre le noyau utilise-t-il la m=E9moire non allou=E9= e par > les process pour du cache (=E0 v=E9rifier). Perhaps the kernel is using the memory that hasn't been allocated by processes for cache.=20 >=20 > On peut le limiter en sp=E9cifiant : >=20 > vm: > ucb-maxpercent=3D20 (20 % de la m=E9moire en Unifie= d > Buffer Cache) >=20 > dans le fichier /etc/sysconfigtab, puis rebooter. >=20 > On peut aussi recompiler le noyau en sp=E9cifiant ce m=EAme > param=E8tre dans le fichier de configuration du noyau. > Cordialement, One can limit this by specifying (in file /etc/sysconfigtab): vm: ucb-maxpercent=3D20 (20% of the memory in the=20 unified buffer cache) and then rebooting. You can also rebuild the kernel after specifying the same parameter in the kernel configuration. [And, of course, booting the newly built kernel.] >=20 > J=E9r=F4me >=20 >=20 > Answer : > -------- >=20 > you might try renaming the swapdefault file in /sbin to something else. > This allocate the swapper in less agressive manner. >=20 > eyc >=20 > | Bertrand WALLRICH (Ingenieur Systemes et Reseaux) | > | INRIA-Lorraine / Phone : 03 83 59 30 31 | > | 615, rue du Jardin Botanique \ Fax : 03 83 27 83 19 | > | 54602 VILLERS-LES-NANCY CEDEX / Email : Bertrand.Wallrich@loria.fr | >=20 >=20 >=20 Tim DiLauro Milton S. Eisenhower Library Library Systems Jack Johns Hopkins University (410) 516-5263 3400 N. Charles Street timmo@jhu.edu Baltimore, MD 21218