DO NOT REPLY [Bug 3491] throttle disk IO during filelist/directory parsing

bugzilla-daemon at jump.samba.org bugzilla-daemon at jump.samba.org
Wed Feb 8 08:22:39 GMT 2006


https://bugzilla.samba.org/show_bug.cgi?id=3491





------- Comment #1 from vanes002 at umn.edu  2006-02-08 02:22 MST -------
I like this idea.  I, too, have seen degradation in response times when rsync
starts on a large hierarchy.  Using nice didn't help (much).

Wouldn't it be better to count up readdir() calls and then sleep for a longer
time when a threshold is reached?  Fewer system calls that way.  For example,
add the slow-down value to a counter and when the counter passes 100,000 then
sleep for 100,000 microseconds (0.1 second) and subtract 100,000 from the
counter.

BTW, in your example, did you mean --slow-down=1000 (not 100) for 1000
microsecs?


-- 
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