This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Improve system performance by moving your log files to RAM

Posted by: Anonymous [ip: 64.56.230.64] on July 18, 2008 12:33 AM
I stopped taking your article seriously when I realized you said that 80000 KB == 80MB. It does not. 80MB == 1024 * 80.

You have a Ph.D and you can not do very simple byte math?

Yes a tempfs is better because if it runs out of space it can use the swap. If a regular ramdisk runs out of space you're screwed. Not that it likely would, but still.

Also, Linux sometimes caches IO -- unless you tell it not to -- so really you're not gaining all that much here.

If you're going to throw your logs into a non-trustworthy ramdisk you might as well turn your syslog off.

-Isaac

#

Return to Improve system performance by moving your log files to RAM