Bug 8027 - io throtling based on /proc/loadvg
Summary: io throtling based on /proc/loadvg
Status: NEW
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.0
Hardware: All IRIX
: P5 enhancement (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-19 21:35 UTC by nand
Modified: 2011-03-21 12:53 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nand 2011-03-19 21:35:52 UTC
Rsync could use system loadavg (/proc/loadavg) measure to throttle disk operations on both sites. This especially includes file table operations as those are more costly. Checking loadavg every file is not a good idea, but checking it every x seconds (when next file accessed) could be ok. If max load is exceeded operations should freeze for few seconds (possibly another parameter)

--load-check-interval-min = 5 (seconds)
--max-load = 8
--load-freeze = 10(seconds)
Comment 1 Björn Jacke 2011-03-21 12:53:54 UTC
io wait seems to be more reasonable than system load. system load simply telly how many processes are waiting for _something_, which may not be related to disk io at all.