DO NOT REPLY [Bug 3491] New: throttle disk IO during
filelist/directory parsing
bugzilla-daemon at jump.samba.org
bugzilla-daemon at jump.samba.org
Wed Feb 8 04:13:32 GMT 2006
https://bugzilla.samba.org/show_bug.cgi?id=3491
Summary: throttle disk IO during filelist/directory parsing
Product: rsync
Version: 2.6.4
Platform: All
URL: http://vilius.multiply.com/video/item/10
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: vilius at multiply.com
QAContact: rsync-qa at samba.org
rsync was bringing our webserver to crawl while during file list generation.
since the job wasn't time critical, i made it be less aggressive during this
step - a rather trivial change to microsleep between each readdir().
--slow-down=100 will usleep() for 1000usec (microseconds) before each readdir.
if i'm not mistaken with 10k directories that'd be ~10second of sleep.
I've seen people try to do this using --bwlimit and/or loop checking loadavg
and sending sigstop/sigcont.
re: http://lists.samba.org/archive/rsync/2004-February/008651.html
not the best fix for disk cache poisoning but still might give a some time to
breathe.
sorry, patches are not for the latest ver..
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the rsync
mailing list