Changing from bwlimit to ionice

JustaGuy

Renowned Member
Jan 1, 2010
324
2
83
Currently I have 2 lines defined in vzdump.conf:
Code:
bwlimit: 50000
maxfiles: 2
As I understand in pve 1.6 the bwlimit line is now ignored.

Can someone confirm the maxfiles line remains effective?

How do I define an equivalent default value now, one which applies to all automatic backup operations?
 
pve 1.6 changes ONLY bwlimit behaviour, maxfiles and other parameters are unchanged (I mean, behave the same way as in 1.5).
Now you can still use bwlimit, only if you don't then is not used instead of be 10MB/s as previous default.
So, as far as I understand, if you don't set bwlimit then ionice is used alone, but if you set it then it's ionice + bwlimit
Also there is now the parameter ionice: x, where x is from 0 to 7 (7 is default, lowest priprity).
Dig and grep /usr/share/perl5/PVE directory, and also the /usr/sbin/vzdump file. They are in perl, you read the code with relative easy.
Best regards
 
What happens if you have the kernel IO scheduler set to "deadline" ?

As far as I know ionice depends on the cfq scheduler, so if that's not running, will ionice just do nothing?