[HEADS-UP] Moving /var/run and /var/lock to tmpfs in Rawhide

Paul Wouters paul at xelerance.com
Wed Nov 24 02:30:36 UTC 2010


On Tue, 23 Nov 2010, Nicholas Miell wrote:

> The spec page says it'll be better, but is very vague as to why.
>
> Basically, I'm looking for a "Doing this will keep $X kilobytes
> permanently pinned in RAM (in the form of dentry and inode structs) and
> $Y bytes in RAM or swap (in the form of file data pages), of which $Z
> bytes is wasted (due to the fixed page size) and this is {worth it, not
> worth it} due to the $N millisecond improvement in boot times."
>
> i.e. an acknowledgment that somebody thought about the trade-offs and
> decided it is the right thing to do.

Personally, I think its worth it just because a rebooted/crashed system starts
with a clean /var/run and /var/lock. Too often I've seen things not startup
based on a stale pid file.

Paul


More information about the devel mailing list