* Mark <[EMAIL PROTECTED]> [20070117 23:15]:

> What is the preferred grml way to limit total tmpfs RAM usage across all
> mount points.  By default tmpfs takes 50% of RAM before swapout.  We
> want a lower threshold of 20% RAM.  With fstab syntax it's possible to
> limit one mount at a time, but is that the best one can do?
[...]

Yes.

> Where is the 50% limit set, for example.

,---- [ $KERNELSOURCE/mm/shmem.c ]
| if (!(sb->s_flags & MS_NOUSER)) {
|     blocks = totalram_pages / 2;
`----

regards,
-mika-
-- 
You like grml?  Help us!      http://grml.org/donations/
Already on the grml-user-map? http://www.frappr.com/grmlusers
The Grml Planet               http://planet.grml.org/
Grml Solutions                http://solutions.grml.org/

Attachment: pgpszFv1u8hp9.pgp
Description: PGP signature

_______________________________________________
Grml mailing list - [email protected]
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/

Reply via email to