https://bugzilla.samba.org/show_bug.cgi?id=3491------- Comment #1 from
vanes002@... 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.
--
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/rsyncBefore posting, read:
http://www.catb.org/~esr/faqs/smart-questions.html