Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-06-04 Thread Blue Swirl
On Wed, Jun 1, 2011 at 2:30 AM, Anthony Liguori wrote: > On 05/31/2011 02:24 PM, Vivek Goyal wrote: >> >> On Tue, May 31, 2011 at 01:39:47PM -0500, Anthony Liguori wrote: >>> >>> On 05/31/2011 12:59 PM, Vivek Goyal wrote: >> >> Ok, so we seem to be talking of two requirements. >> >> - A consistent

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-06-03 Thread Zhi Yong Wu
t;       zhaoy...@cn.ibm.com, l...@redhat.com, rahar...@us.ibm.com >>>Subject: Re: [Qemu-devel] [RFC]QEMU disk I/O limits >>>User-Agent: Mutt/1.5.21 (2010-09-15) >>> >>>On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: >>> >>>[..] >>

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-06-02 Thread Michal Suchanek
  k...@vger.kernel.org, guijianf...@cn.fujitsu.com, >>       qemu-devel@nongnu.org, wu...@cn.ibm.com, >>       herb...@gondor.hengli.com.au, luow...@cn.ibm.com, zh...@cn.ibm.com, >>       zhaoy...@cn.ibm.com, l...@redhat.com, rahar...@us.ibm.com >>Subject: Re: [Qemu-devel]

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-06-02 Thread Zhi Yong Wu
u-devel@nongnu.org, wu...@cn.ibm.com, luow...@cn.ibm.com, > zh...@cn.ibm.com, zhaoy...@cn.ibm.com, l...@redhat.com, > rahar...@us.ibm.com, vgo...@redhat.com, stefa...@linux.vnet.ibm.com >Subject: Re: [Qemu-devel] [RFC]QEMU disk I/O limits >X-Mailer: Evolution 2.32.2 > &

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-06-02 Thread Sasha Levin
> > aligu...@us.ibm.com, herb...@gondor.apana.org.au, > > guijianf...@cn.fujitsu.com, wu...@cn.ibm.com, luow...@cn.ibm.com, > > zh...@cn.ibm.com, zhaoy...@cn.ibm.com, l...@redhat.com, > > rahar...@us.ibm.com, vgo...@redhat.com, stefa...@linux.vnet.ibm.com >

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-06-01 Thread Zhi Yong Wu
...@cn.fujitsu.com, wu...@cn.ibm.com, luow...@cn.ibm.com, > zh...@cn.ibm.com, zhaoy...@cn.ibm.com, l...@redhat.com, > rahar...@us.ibm.com, vgo...@redhat.com, stefa...@linux.vnet.ibm.com >Subject: Re: [Qemu-devel] [RFC]QEMU disk I/O limits >X-Mailer: Evolution 2.32.2 > &g

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-06-01 Thread Sasha Levin
Hi, On Mon, 2011-05-30 at 13:09 +0800, Zhi Yong Wu wrote: > Hello, all, > > I have prepared to work on a feature called "Disk I/O limits" for > qemu-kvm projeect. > This feature will enable the user to cap disk I/O amount performed by a > VM.It is important for some storage resources to

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-06-01 Thread Zhi Yong Wu
u...@cn.ibm.com, > herb...@gondor.hengli.com.au, e...@redhat.com, luow...@cn.ibm.com, > zh...@cn.ibm.com, zhaoy...@cn.ibm.com, l...@redhat.com, > rahar...@us.ibm.com >Subject: Re: [Qemu-devel] [RFC]QEMU disk I/O limits >User-Agent: Mutt/1.5.21 (2010-09-15) > >On Wed, J

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-06-01 Thread Stefan Hajnoczi
On Wed, Jun 1, 2011 at 10:42 PM, Vivek Goyal wrote: > On Wed, Jun 01, 2011 at 10:15:30PM +0100, Stefan Hajnoczi wrote: >> One issue that concerns me is how effective iops and throughput are as >> capping mechanisms.  If you cap throughput then you're likely to >> affect sequential I/O but do littl

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-06-01 Thread Vivek Goyal
On Wed, Jun 01, 2011 at 10:15:30PM +0100, Stefan Hajnoczi wrote: > On Wed, Jun 1, 2011 at 2:20 PM, Vivek Goyal wrote: > > On Tue, May 31, 2011 at 06:30:09PM -0500, Anthony Liguori wrote: > > > > [..] > >> The level of consistency will then depend on whether you overcommit > >> your hardware and ho

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-06-01 Thread Stefan Hajnoczi
On Wed, Jun 1, 2011 at 2:20 PM, Vivek Goyal wrote: > On Tue, May 31, 2011 at 06:30:09PM -0500, Anthony Liguori wrote: > > [..] >> The level of consistency will then depend on whether you overcommit >> your hardware and how you have it configured. > > Agreed. > >> >> Consistency is very hard becaus

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-06-01 Thread Vivek Goyal
On Tue, May 31, 2011 at 06:30:09PM -0500, Anthony Liguori wrote: [..] > The level of consistency will then depend on whether you overcommit > your hardware and how you have it configured. Agreed. > > Consistency is very hard because at the end of the day, you still > have shared resources. Eve

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-06-01 Thread Vivek Goyal
nux.vnet.ibm.com, > > k...@vger.kernel.org, guijianf...@cn.fujitsu.com, > > qemu-devel@nongnu.org, wu...@cn.ibm.com, > > herb...@gondor.hengli.com.au, luow...@cn.ibm.com, zh...@cn.ibm.com, > > zhaoy...@cn.ibm.com, l...@redhat.com, rahar...@us.ibm.com > >Su

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Zhi Yong Wu
u-devel@nongnu.org, wu...@cn.ibm.com, > herb...@gondor.hengli.com.au, luow...@cn.ibm.com, zh...@cn.ibm.com, > zhaoy...@cn.ibm.com, l...@redhat.com, rahar...@us.ibm.com >Subject: Re: [Qemu-devel] [RFC]QEMU disk I/O limits >User-Agent: Mutt/1.5.21 (2010-09-15) > >On M

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Zhi Yong Wu
u-devel@nongnu.org, wu...@cn.ibm.com, > herb...@gondor.hengli.com.au, luow...@cn.ibm.com, zh...@cn.ibm.com, > zhaoy...@cn.ibm.com, l...@redhat.com, rahar...@us.ibm.com >Subject: Re: [Qemu-devel] [RFC]QEMU disk I/O limits >User-Agent: Mutt/1.5.21 (2010-09-15) > >On M

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Anthony Liguori
On 05/31/2011 02:24 PM, Vivek Goyal wrote: On Tue, May 31, 2011 at 01:39:47PM -0500, Anthony Liguori wrote: On 05/31/2011 12:59 PM, Vivek Goyal wrote: Ok, so we seem to be talking of two requirements. - A consistent experience to guest - Isolation between VMs. If this qcow2 mapping/metada ove

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Anthony Liguori
On 05/31/2011 03:48 PM, Mike Snitzer wrote: On Tue, May 31 2011 at 2:39pm -0400, Anthony Liguori wrote: Are you referring to merging taking place which can change the definition of IOPS as seen by guest? No, with qcow2, it may take multiple real IOPs for what the guest sees as an IOP. That

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Mike Snitzer
On Tue, May 31 2011 at 2:39pm -0400, Anthony Liguori wrote: > On 05/31/2011 12:59 PM, Vivek Goyal wrote: > >On Tue, May 31, 2011 at 09:25:31AM -0500, Anthony Liguori wrote: > >>On 05/31/2011 09:04 AM, Vivek Goyal wrote: > >>>On Tue, May 31, 2011 at 08:50:40AM -0500, Anthony Liguori wrote: >

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Vivek Goyal
On Tue, May 31, 2011 at 01:39:47PM -0500, Anthony Liguori wrote: > On 05/31/2011 12:59 PM, Vivek Goyal wrote: > >On Tue, May 31, 2011 at 09:25:31AM -0500, Anthony Liguori wrote: > >>On 05/31/2011 09:04 AM, Vivek Goyal wrote: > >>>On Tue, May 31, 2011 at 08:50:40AM -0500, Anthony Liguori wrote: > >>

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Anthony Liguori
On 05/31/2011 12:59 PM, Vivek Goyal wrote: On Tue, May 31, 2011 at 09:25:31AM -0500, Anthony Liguori wrote: On 05/31/2011 09:04 AM, Vivek Goyal wrote: On Tue, May 31, 2011 at 08:50:40AM -0500, Anthony Liguori wrote: On 05/31/2011 08:45 AM, Vivek Goyal wrote: On Mon, May 30, 2011 at 01:09:23PM

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Vivek Goyal
On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: [..] > 3.) How the users enable and play with it > QEMU -drive option will be extended so that disk I/O limits can be > specified on its command line, such as -drive [iops=xxx,][throughput=xxx] or > -drive [iops_rd=xxx,][iops_w

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Vivek Goyal
On Tue, May 31, 2011 at 09:25:31AM -0500, Anthony Liguori wrote: > On 05/31/2011 09:04 AM, Vivek Goyal wrote: > >On Tue, May 31, 2011 at 08:50:40AM -0500, Anthony Liguori wrote: > >>On 05/31/2011 08:45 AM, Vivek Goyal wrote: > >>>On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: > He

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Ryan Harper
* Daniel P. Berrange [2011-05-31 09:25]: > On Tue, May 31, 2011 at 10:10:37AM -0400, Vivek Goyal wrote: > > On Tue, May 31, 2011 at 02:56:46PM +0100, Daniel P. Berrange wrote: > > > On Tue, May 31, 2011 at 09:45:37AM -0400, Vivek Goyal wrote: > > > > On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Y

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Vivek Goyal
On Tue, May 31, 2011 at 03:19:56PM +0100, Daniel P. Berrange wrote: > On Tue, May 31, 2011 at 10:10:37AM -0400, Vivek Goyal wrote: > > On Tue, May 31, 2011 at 02:56:46PM +0100, Daniel P. Berrange wrote: > > > On Tue, May 31, 2011 at 09:45:37AM -0400, Vivek Goyal wrote: > > > > On Mon, May 30, 2011

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Anthony Liguori
On 05/31/2011 09:04 AM, Vivek Goyal wrote: On Tue, May 31, 2011 at 08:50:40AM -0500, Anthony Liguori wrote: On 05/31/2011 08:45 AM, Vivek Goyal wrote: On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: Hello, all, I have prepared to work on a feature called "Disk I/O limits" fo

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Daniel P. Berrange
On Tue, May 31, 2011 at 10:10:37AM -0400, Vivek Goyal wrote: > On Tue, May 31, 2011 at 02:56:46PM +0100, Daniel P. Berrange wrote: > > On Tue, May 31, 2011 at 09:45:37AM -0400, Vivek Goyal wrote: > > > On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: > > > > Hello, all, > > > > > > > >

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Vivek Goyal
On Tue, May 31, 2011 at 02:56:46PM +0100, Daniel P. Berrange wrote: > On Tue, May 31, 2011 at 09:45:37AM -0400, Vivek Goyal wrote: > > On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: > > > Hello, all, > > > > > > I have prepared to work on a feature called "Disk I/O limits" for >

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Vivek Goyal
On Tue, May 31, 2011 at 08:50:40AM -0500, Anthony Liguori wrote: > On 05/31/2011 08:45 AM, Vivek Goyal wrote: > >On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: > >>Hello, all, > >> > >> I have prepared to work on a feature called "Disk I/O limits" for > >> qemu-kvm projeect. > >>

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Daniel P. Berrange
On Tue, May 31, 2011 at 09:45:37AM -0400, Vivek Goyal wrote: > On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: > > Hello, all, > > > > I have prepared to work on a feature called "Disk I/O limits" for > > qemu-kvm projeect. > > This feature will enable the user to cap disk I/

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Anthony Liguori
On 05/31/2011 08:45 AM, Vivek Goyal wrote: On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: Hello, all, I have prepared to work on a feature called "Disk I/O limits" for qemu-kvm projeect. This feature will enable the user to cap disk I/O amount performed by a VM.It is i

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Vivek Goyal
On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: > Hello, all, > > I have prepared to work on a feature called "Disk I/O limits" for > qemu-kvm projeect. > This feature will enable the user to cap disk I/O amount performed by a > VM.It is important for some storage resources

[Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-29 Thread Zhi Yong Wu
Hello, all, I have prepared to work on a feature called "Disk I/O limits" for qemu-kvm projeect. This feature will enable the user to cap disk I/O amount performed by a VM.It is important for some storage resources to be shared among multi-VMs. As you've known, if some of VMs are doing