Print

Print


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Mar 04, 2007 at 02:42:05PM +0200, Arthur Sherman wrote:

> My questions:
> 1) how can I make /dev/shm smaller, say 512MB? I believe it will be more
> than sufficient for Mailscanner.
> 2) what else can I make run from /dev/shm to gain performance?

Free space on /dev/shm isn't excluded from being used for other purposes,
so there's no compelling reason to shrink it.  However, you can still
do so by addding size=foo as a mount option, with foo in bytes.

Applications that are /dev/shm-aware usually take care of it automagically,
there's nothing to configure.  However, you can get better performance out
of some applications by also mounting /tmp as a tmpfs filesystem.

- -- 
Daniel Franke         [log in to unmask]         http://www.dfranke.us
|----| =|\     \\\\    
|| * | -|-\---------   Man is free at the instant he wants to be. 
- -----| =|  \   ///     --Voltaire
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF6wmLKTA17JAC/eYRAt7XAJ9bo++5AFJ3iN0GW/x6+5xY1kfNGwCeK2YV
66KGKjzneZ+SYyLSSZwGmZ4=
=XQav
-----END PGP SIGNATURE-----