[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: reading an empty directory after reboot is very slow

On 2015-04-14 13:26:16 -0300, Henrique de Moraes Holschuh wrote:
> Yeah, that's a bad habit to have as it slows down way too many
> utilities (lots of stuff benefit for extremely lightweight
> ultra-fast tmpfs in /tmp and $TMPDIR, from "sort" to gcc without
> -pipe), but it is indeed widespread.

Can't disk caching be as fast as tmpfs (or almost)?

> The "persistent dumping ground" lives in /var/tmp, it is not
> supposed to be in /tmp or ${TMPDIR}. But old habits are hard to
> change.

When Debian/unstable temporarily switched /tmp to tmpfs by default,
the /tmp size became too small for files that were really temporary.
So, /var/tmp was *not* the right choice, and /tmp became unusable
as too small.

Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply to: