Re: disk io with vzdump / vzmigrate [message #13282 is a reply to message #13276] |
Thu, 24 May 2007 08:16   |
rickb
Messages: 368 Registered: October 2006
|
Senior Member |
|
|
Linux itself has no way to do what you want (limit disk i/o bandwidth per process). However, the 2.6.18+ cfq scheduler supports i/o priorities, check out ionice and set the migrate pid to a low priority or the idle class.
Quote: |
[root@arsenic ~]# /root/bin/ionice -h
Usage: ionice [OPTIONS] [COMMAND [ARG]...]
Sets or gets process io scheduling class and priority.
-n Class data (typically 0-7, lower being higher prio)
-c Scheduling class
1: realtime, 2: best-effort, 3: idle
-p Process pid
-h This help page
Jens Axboe <axboe@suse.de> (C) 2005
|
your disk i/o could be full, however you will not feel it as all other processes have significant priority. the vz tools do not set io priority yet directly, however you can re-ionice the process after it has been started.
good question!
-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions
UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
[Updated on: Thu, 24 May 2007 08:33] Report message to a moderator
|
|
|