Re: Improve system performance by moving your log files to RAM
Posted by: Anonymous
on July 17, 2008 09:15 PM
That may stop syncs for every log write, but doesn't ext2/3 sync every five seconds anyway, by default? So if there's a log write waiting in the buffer, it's still going to write it to the hard disk every five seconds.
This is not a stupid idea at all. It doesn't take a rocket scientist to figure out that on a laptop it can allow the hard disk to remain spun down longer. Even for SSDs, it can let the SATA link remain in low power mode longer. It's clearly better than sending logs to /dev/null, because this way you still get logs. On most laptops, most of the time, logs aren't critical, and if you're having a hardware problem, you can always turn ramlog off.
This is another good idea that will further improve our limited battery life on mobile systems. Anyone who thinks ramlog is a stupid idea is probably just that...