This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] questions about the number of pending requests that the

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] questions about the number of pending requests that the host system can detect
From: Yuehai Xu <yuehaixu@xxxxxxxxx>
Date: Thu, 12 Aug 2010 14:18:28 -0400
Cc: yuehai.xu@xxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, yhxu@xxxxxxxxx
Delivery-date: Thu, 12 Aug 2010 11:18:59 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Cp9ZtByCIGnr/nS7e+wOTPRSIJTCexJ2Sreovd/Qwt4=; b=IEvjUVq48QGWLtDNszh53dFi9Zd9HWaRpiIwcxSOAi3+0ztcvcypGbTKwOQzLQcRDI NPoJI77IKSkCVl9YfHM7HyyJxqPfhHBmbSG2/bRMq1Da0KcwVjLezCpA4erhWmwHHjcW 9Eo5E/IowiqRVVOBcHuN2BNvoms7DAayGlwkQ=
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=Kc+U65WhAjDr1vSdrEH0zg+YkjAbasHIxS6BS+8j6skj5LeDCbUTjLLkdRG57i626m abh9Z2p2brtcLOHyQUCXVy+fGPO0lcnkSFeDurJqOC8ykKW5m4V+op6YIUjXbzwWpg3Q q9nrD/KpFI+sDjv+JL9lKS5Q67M1Dwdwd/MHE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimwpt8xFAt5Njw5V8+5qUFs2WTpWqUSacS_+3Qa@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTi=3d=+J2WNbBM5rLu_MfpjA_3OXhm8qOkCf_sLg@xxxxxxxxxxxxxx> <4C6437C4.3040908@xxxxxxxx> <AANLkTimwpt8xFAt5Njw5V8+5qUFs2WTpWqUSacS_+3Qa@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Aug 12, 2010 at 2:16 PM, Yuehai Xu <yuehaixu@xxxxxxxxx> wrote:
> 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
I am sorry for the missing word, the requests sent by the 10 processes
in the guest system are all read requests.


Xen-devel mailing list