On Fri, 10 Jan 1997, Bertrand Wallrich wrote:
> Date: Fri, 10 Jan 1997 11:06:05 +0100 (MET)
> From: Bertrand Wallrich <Bertrand.Wallrich_at_loria.fr>
> To: alpha-osf-managers_at_ornl.gov
> Subject: SUMMARY: swap question with osf4.0
> Followup-To: poster
>
>
> Thanks to :
> -----------
> chu_at_musp0.Jpl.Nasa.Gov (Eugene Chu)
> Jerome FENAL <fenal_at_dcmc.creditlyonnais.fr>
>
> The question :
> --------------
> I don't understand how works the memory and swap allocation.
> The kernel seems to alocate the entire memory in swap.
>
> 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
>
> why ?
> Is there a way to decrease that ?
>
>
> If you have pointers on text which explain that...
> Thanks,
>
>
> Answer :
> --------
> (sorry, it's in french)
I've provided a rough English translation, for anyone who cares.
>
> Peut-être le noyau utilise-t-il la mémoire non allouée par
> les process pour du cache (à vérifier).
Perhaps the kernel is using the memory that hasn't been allocated
by processes for cache.
>
> On peut le limiter en spécifiant :
>
> vm:
> ucb-maxpercent=20 (20 % de la mémoire en Unified
> Buffer Cache)
>
> dans le fichier /etc/sysconfigtab, puis rebooter.
>
> On peut aussi recompiler le noyau en spécifiant ce même
> paramètre dans le fichier de configuration du noyau.
> Cordialement,
One can limit this by specifying (in file /etc/sysconfigtab):
vm:
ucb-maxpercent=20 (20% of the memory in the
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.]
>
> Jérôme
>
>
> Answer :
> --------
>
> you might try renaming the swapdefault file in /sbin to something else.
> This allocate the swapper in less agressive manner.
>
> eyc
>
> | 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_at_loria.fr |
>
>
>
Tim DiLauro Milton S. Eisenhower Library
Library Systems Jack Johns Hopkins University
(410) 516-5263 3400 N. Charles Street
timmo_at_jhu.edu Baltimore, MD 21218
Received on Fri Jan 10 1997 - 16:32:32 NZDT