[Gllug] increase performance by increasing RAM or increasing in Core
Peter Corlett
abuse at cabal.org.uk
Mon Feb 16 11:07:21 UTC 2009
On 16 Feb 2009, at 08:54, James Hawtin wrote:
[...]
> Using tmpfs for /tmp is a good idea if you have alot of ram that you
> don;t
> know what to do with.
It's a good idea anyway, even if you don't have much RAM. The contents
of a tmpfs *may* get swapped to disk if memory is better used
elsewhere. Contrast with an tmpfs on a traditional filesystem which
*will* get committed to disk.
The performance improvement is small, but useful enough to be worth
the effort.
Also, don't just limit yourself to /tmp. There are all sorts of other
caches on a Linux box that you might not care about keeping over a
reboot, and which are thus also candidates for a tmpfs. For example,
Exim's retry and callout cache in /var/spool/exim4/db/.
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list