Skip to contentSkip to conversation

Configure block device IO rate

DISCUSSION aragrawal 4 participants 6 messages Nov 24, 2014

lore
Share & tools
lore

aragrawal

author
#0 lore raw

Hi

I am interested in getting the block I/O rate fixed for a Virtual Machine. However, it seems that there are no such options to control the block I/O rate via the VM configuration file. Going through the net, I see suggestions to configure the xen_blkback driver using ionice to get that done.

I would like to know if there are any plans to include any such configuration option.
Also, are there any particular reason (apart from the fact that there are other ways to get this done) for the absence of such configuration option?

Thanks
Ankit Agrawal

#1 lore raw
Quoted 8 lines · aragrawal

Hi

I am interested in getting the block I/O rate fixed for a Virtual Machine. However, it seems that there are no such options to control the block I/O rate via the VM configuration file.
Going through the net, I see suggestions to configure the xen_blkback driver using ionice to get that done.

Quoted 4 lines

I would like to know if there are any plans to include any such configuration option.
Also, are there any particular reason (apart from the fact that there are other ways to get this done) for the absence of such configuration option?

I'm pretty sure it's just because nobody had asked for it yet.

We can put it on our list of things to think about doing / projects for people new to the community.

We also accept patches. :-)

-George

#2 lore raw
Quoted 14 lines · George Dunlap
Quoted 8 lines · aragrawal

Hi

I am interested in getting the block I/O rate fixed for a Virtual Machine. However, it seems that there are no such options to control the block I/O rate via the VM configuration file.
Going through the net, I see suggestions to configure the xen_blkback driver using ionice to get that done.

Quoted 4 lines

I would like to know if there are any plans to include any such configuration option.
Also, are there any particular reason (apart from the fact that there are other ways to get this done) for the absence of such configuration option?

Quoted 6 lines

I'm pretty sure it's just because nobody had asked for it yet.

We can put it on our list of things to think about doing / projects for people new to the community.

We also accept patches. :-)

Patches for this were in the past posted - it just that nobody explained to the maintainer (me) why the dm-* or io-nice would not do the same job.

I sadly don't remember from whom they were or such.

Quoted 7 lines

-George

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#3 lore raw
Quoted 17 lines · Konrad Rzeszutek Wilk
Quoted 16 lines · George Dunlap
Quoted 8 lines · aragrawal

Hi

I am interested in getting the block I/O rate fixed for a Virtual Machine. However, it seems that there are no such options to control the block I/O rate via the VM configuration file.
Going through the net, I see suggestions to configure the xen_blkback driver using ionice to get that done.

Quoted 4 lines

I would like to know if there are any plans to include any such configuration option.
Also, are there any particular reason (apart from the fact that there are other ways to get this done) for the absence of such configuration option?

I'm pretty sure it's just because nobody had asked for it yet.

Quoted 7 lines
Quoted 4 lines

We can put it on our list of things to think about doing / projects for people new to the community.

We also accept patches. :-)

Patches for this were in the past posted - it just that nobody explained to the maintainer (me) why the dm-* or io-nice would not do the same job.

AIUI the question here is why the toolstack doesn't integrate a guest cfg file setting to configure dm-* and/or io-nice, rather than why blkback doesn't duplicate their functionality.

Ian.

#4 lore raw
Quoted 21 lines · Ian Campbell
Quoted 20 lines · Konrad Rzeszutek Wilk
Quoted 19 lines · George Dunlap
Quoted 8 lines · aragrawal

Hi

I am interested in getting the block I/O rate fixed for a Virtual Machine. However, it seems that there are no such options to control the block I/O rate via the VM configuration file.
Going through the net, I see suggestions to configure the xen_blkback driver using ionice to get that done.

Quoted 4 lines

I would like to know if there are any plans to include any such configuration option.
Also, are there any particular reason (apart from the fact that there are other ways to get this done) for the absence of such configuration option?

I'm pretty sure it's just because nobody had asked for it yet.

We can put it on our list of things to think about doing / projects for people new to the community.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

We also accept patches. :-)

Patches for this were in the past posted - it just that nobody explained to the maintainer (me) why the dm-* or io-nice would not do the same job.

AIUI the question here is why the toolstack doesn't integrate a guest cfg file setting to configure dm-* and/or io-nice, rather than why blkback doesn't duplicate their functionality.

Ah, that is a different question. That certainly could be done by somebody who has the time.

Quoted 4 lines

Ian.

#5 lore raw
Quoted 21 lines · Konrad Rzeszutek Wilk
Quoted 20 lines · Ian Campbell
Quoted 19 lines · Konrad Rzeszutek Wilk
Quoted 18 lines · George Dunlap
Quoted 8 lines · aragrawal

Hi

I am interested in getting the block I/O rate fixed for a Virtual Machine. However, it seems that there are no such options to control the block I/O rate via the VM configuration file.
Going through the net, I see suggestions to configure the xen_blkback driver using ionice to get that done.

Quoted 4 lines

I would like to know if there are any plans to include any such configuration option.
Also, are there any particular reason (apart from the fact that there are other ways to get this done) for the absence of such configuration option?

I'm pretty sure it's just because nobody had asked for it yet.

We can put it on our list of things to think about doing / projects for people new to the community.

Quoted 11 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

We also accept patches. :-)

Patches for this were in the past posted - it just that nobody explained to the maintainer (me) why the dm-* or io-nice would not do the same job.

AIUI the question here is why the toolstack doesn't integrate a guest cfg file setting to configure dm-* and/or io-nice, rather than why blkback doesn't duplicate their functionality.

Ah, that is a different question. That certainly could be done by somebody who has the time.

Quoted 3 lines

Ian.

Hi

Thanks for the quick reply. I see the time constraint is the only issue here.

Regards
Ankit Agrawal