Displaying 1 result from an estimated 1 matches for "1000usec".
Did you mean:
1000user
2006 Feb 08
4
DO NOT REPLY [Bug 3491] New: throttle disk IO during filelist/directory parsing
...QAContact: rsync-qa@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...