[systemd-devel] [PATCH 08/10] units: make it possible to disable tmp.mount using systemctl

Tollef Fog Heen tfheen at err.no
Wed Jul 16 11:22:37 PDT 2014


]] Lennart Poettering 

> (Also I see little point in /tmp not being a tmpfs anyway. If you want a
> lot of space there, then use swap -- of which you can have up to 2G even
> on 32bit systems. tmpfs on on swap has the great benefit that it
> relieves the kernel from always having to utimately flush things to disk)

Swap doesn't scale well, though.  To the point where if the amount of
swapped-out data is > 2x physical memory, kswapd starts gobbling CPU.

Yes, that's a bug that should be fixed, but it's been that way for years
in Linux.

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are


More information about the systemd-devel mailing list