Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cgroup.blkio_bandwidth test should set up VM disk with cache=none #1617

Open
rayx opened this issue Dec 29, 2018 · 0 comments
Open

cgroup.blkio_bandwidth test should set up VM disk with cache=none #1617

rayx opened this issue Dec 29, 2018 · 0 comments

Comments

@rayx
Copy link
Contributor

rayx commented Dec 29, 2018

The test creates two VMs and sets up cgroup blkio.weight parameter for each of their qemu processes. The ratio of weight used in test is 100:1000. However, the result is not as expected. The actual ratio of I/O speed in the two VMs is about 1:1.


status norm_weights norm_out actual
FAIL 0.0909090909091 0.497569739009 897372
FAIL 0.909090909091 0.502430260991 906138

I believe one factor that leads to the false failure is that VM disk image file should be set up with "cache=none" option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant