Il 28/08/2013 15:51, Benoît Canet ha scritto: >> What is the command line to use for avg bps = 1MB/s, max bps = 0? > On the monitor it would be: > > block_set_io_throttle 1048576 0 0 0 0 0 > > When configuring throttle on the command line it would be: > > -drive file=foo.raw,if=virtio,cache=none,bps=1048576 > > Also remember that the code is setting bps_max = avg/10 to please guest cfq > schedulers so a little burst will be done at startup.
Yes, I'm afraid that the burst is problematic here since the current throttling algorithm doesn't help (and IIUC it behaves as if it had max=avg/10 due to the 100ms slice time). This is Windows so no CFQ here. Do you need to set bps_max=1 or will bps_max=0 work too? Paolo