OpenVZ Forum


Home » General » Support » *SOLVED* disk io with vzdump / vzmigrate
Re: disk io with vzdump / vzmigrate [message #13282 is a reply to message #13276] Thu, 24 May 2007 08:16 Go to previous messageGo to previous message
rickb is currently offline  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

 
Read Message icon3.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* Which Kernel 2.6.18 or 2.6.20?
Next Topic: HN iptables blocking http access
Goto Forum:
  


Current Time: Sun Jul 20 07:34:57 GMT 2025

Total time taken to generate the page: 0.09122 seconds