[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] questions about the number of pending requests that the host system can detect


  • To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
  • From: Yuehai Xu <yuehaixu@xxxxxxxxx>
  • Date: Thu, 12 Aug 2010 14:16:11 -0400
  • Cc: yuehai.xu@xxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, yhxu@xxxxxxxxx
  • Delivery-date: Thu, 12 Aug 2010 11:17:07 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=JZVJW5PUinfND9z45UDhpL8xXNtWrZ6uhXyaqDgfK278WPVh0F4U+4GSZscV3wkazu RykQ5s+JHfUk09PlGmFpf9Ap4qGz97UgbcyXQjcMwbUBIhQcFuWreIa5peDtgHl/0x19 TgE9LrSmGyIPyFIsUsLiyobMncCZi+YJjGdwQ=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On Thu, Aug 12, 2010 at 2:04 PM, Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
>  On 08/11/2010 08:42 PM, Yuehai Xu wrote:
>>
>> However, the result turns out that my assumption is wrong. The number
>> of pending requests, according to the trace of blktrace, is changing
>> like this way: 9 8 7 6 5 4 3 2 1 1 1 2 3 4 5 4 3 2 1 1 1 2 3 4 5 6 7 8
>> 8 8..., just like a curve.
>>
>> I am puzzled about this weird result. Can anybody explain what has
>> happened between domU and dom0 for this result? Does this result make
>> sense? or I did something wrong to get this result.
>
> If you're using a journalled filesystem in the guest, it will be need to
> drain the IO queue periodically to control the write ordering.  You should
> also observe barrier writes in the blkfront stream.
>
>    J
>
The file system I use in the guest system is ext3, which is a
journaled file system. However, I don't quite understand what you said
".. control the write ordering" because the 10 processes running in
the guest system all just send requests, there is no write request.
What do you mean of "barrier writes" here?

Thanks,
Yuehai

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.