Re: [Qemu-devel] [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-11 Thread Zhi Yong Wu
On Fri, Aug 12, 2011 at 1:47 PM, Stefan Hajnoczi wrote: > On Fri, Aug 12, 2011 at 6:35 AM, Zhi Yong Wu wrote: >> On Tue, Aug 9, 2011 at 4:57 PM, Ram Pai wrote: >>> On Tue, Aug 09, 2011 at 12:17:51PM +0800, Zhi Yong Wu wrote: Note:       1.) When bps/iops limits are specified to a small

Re: [Qemu-devel] [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-11 Thread Stefan Hajnoczi
On Fri, Aug 12, 2011 at 6:35 AM, Zhi Yong Wu wrote: > On Tue, Aug 9, 2011 at 4:57 PM, Ram Pai wrote: >> On Tue, Aug 09, 2011 at 12:17:51PM +0800, Zhi Yong Wu wrote: >>> Note: >>>       1.) When bps/iops limits are specified to a small value such as 511 >>> bytes/s, this VM will hang up. We are c

Re: [Qemu-devel] [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-11 Thread Zhi Yong Wu
On Tue, Aug 9, 2011 at 4:57 PM, Ram Pai wrote: > On Tue, Aug 09, 2011 at 12:17:51PM +0800, Zhi Yong Wu wrote: >> Note: >>       1.) When bps/iops limits are specified to a small value such as 511 >> bytes/s, this VM will hang up. We are considering how to handle this senario. >>       2.) When "d

Re: [Qemu-devel] [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-11 Thread Zhi Yong Wu
On Fri, Aug 12, 2011 at 1:06 PM, Stefan Hajnoczi wrote: > On Fri, Aug 12, 2011 at 6:00 AM, Zhi Yong Wu wrote: >> On Wed, Aug 10, 2011 at 7:00 PM, Stefan Hajnoczi wrote: >>> On Wed, Aug 10, 2011 at 7:57 AM, Zhi Yong Wu wrote: On Tue, Aug 9, 2011 at 11:19 PM, Stefan Hajnoczi wrote: >>

Re: [Qemu-devel] [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-11 Thread Stefan Hajnoczi
On Fri, Aug 12, 2011 at 6:00 AM, Zhi Yong Wu wrote: > On Wed, Aug 10, 2011 at 7:00 PM, Stefan Hajnoczi wrote: >> On Wed, Aug 10, 2011 at 7:57 AM, Zhi Yong Wu wrote: >>> On Tue, Aug 9, 2011 at 11:19 PM, Stefan Hajnoczi wrote: On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wrote: > N

Re: [Qemu-devel] [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-11 Thread Zhi Yong Wu
On Wed, Aug 10, 2011 at 7:00 PM, Stefan Hajnoczi wrote: > On Wed, Aug 10, 2011 at 7:57 AM, Zhi Yong Wu wrote: >> On Tue, Aug 9, 2011 at 11:19 PM, Stefan Hajnoczi wrote: >>> On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu >>> wrote: Note:      1.) When bps/iops limits are specified to a s

Re: [Qemu-devel] [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-10 Thread Stefan Hajnoczi
On Wed, Aug 10, 2011 at 7:57 AM, Zhi Yong Wu wrote: > On Tue, Aug 9, 2011 at 11:19 PM, Stefan Hajnoczi wrote: >> On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wrote: >>> Note: >>>      1.) When bps/iops limits are specified to a small value such as 511 >>> bytes/s, this VM will hang up. We are co

Re: [Qemu-devel] [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-09 Thread Zhi Yong Wu
On Tue, Aug 9, 2011 at 11:19 PM, Stefan Hajnoczi wrote: > On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wrote: >> Note: >>      1.) When bps/iops limits are specified to a small value such as 511 >> bytes/s, this VM will hang up. We are considering how to handle this senario. > > If an I/O request

Re: [Qemu-devel] [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-09 Thread Stefan Hajnoczi
On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wrote: > Note: >      1.) When bps/iops limits are specified to a small value such as 511 > bytes/s, this VM will hang up. We are considering how to handle this senario. If an I/O request is larger than the limit itself then I think we should let it th

Re: [Qemu-devel] [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-09 Thread Zhi Yong Wu
On Tue, Aug 9, 2011 at 4:57 PM, Ram Pai wrote: > On Tue, Aug 09, 2011 at 12:17:51PM +0800, Zhi Yong Wu wrote: >> Note: >>       1.) When bps/iops limits are specified to a small value such as 511 >> bytes/s, this VM will hang up. We are considering how to handle this senario. >>       2.) When "d

Re: [Qemu-devel] [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-09 Thread Ram Pai
On Tue, Aug 09, 2011 at 12:17:51PM +0800, Zhi Yong Wu wrote: > Note: > 1.) When bps/iops limits are specified to a small value such as 511 > bytes/s, this VM will hang up. We are considering how to handle this senario. > 2.) When "dd" command is issued in guest, if its option bs is set