[svlug] Sync command slowdown
Don Marti
dmarti at zgp.org
Mon Nov 24 18:43:24 PST 2008
begin Luke S Crawford quotation of Mon, Nov 24, 2008 at 09:17:15PM -0500:
> But yeah, that'd be my guess; you just have lots of dirty buffers. More ram
> means that you can buffer more, and disks are still pretty slow.
Here's the consultant who wants to make his plane
home answer...set up another cron job that runs 1
minute before the logrotate cron job and does a
sleep 50 && sync
so you only have a few seconds of dirty buffers
to sync from the real cron job.
What does
/proc/sys/vm/dirty_writeback_centisecs
say? You might be able to get a faster sync time by
making it smaller.
--
Don Marti +1 510-814-0932
http://zgp.org/~dmarti/ +1 510-332-1587 mobile
dmarti at zgp.org
More information about the svlug
mailing list