From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O3Ys8-0000gm-QT for qemu-devel@nongnu.org; Sun, 18 Apr 2010 14:05:32 -0400 Received: from [140.186.70.92] (port=54171 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O3Ys7-0000gG-6N for qemu-devel@nongnu.org; Sun, 18 Apr 2010 14:05:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O3Ys5-0006rf-Gl for qemu-devel@nongnu.org; Sun, 18 Apr 2010 14:05:30 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:35036) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3Ys5-0006r9-5l for qemu-devel@nongnu.org; Sun, 18 Apr 2010 14:05:29 -0400 Message-ID: <4BCB49E1.8030106@web.de> Date: Sun, 18 Apr 2010 20:05:21 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <4BC757DD.8060804@siemens.com> <20100417194009.GA13862@lst.de> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig446C8D46A174C9C27C6E1F92" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: Guest latency issues due to bdrv_check_byte_request List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Christoph Hellwig , qemu-devel This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig446C8D46A174C9C27C6E1F92 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Stefan Hajnoczi wrote: > Thanks Christoph. >=20 > Cached getlength with pread/pwrite: > % time seconds usecs/call calls errors syscall > ------ ----------- ----------- --------- --------- ---------------- > 96.97 1.760111 11893 148 4 futex > 1.61 0.029209 1 46891 2217 select > 0.28 0.005047 0 64609 timer_gettime > 0.22 0.004059 0 42745 2578 rt_sigreturn > 0.22 0.003911 0 46261 timer_settime > 0.18 0.003280 1093 3 shmdt > 0.17 0.003095 0 23859 pread <--- > 0.17 0.003061 0 42800 write > 0.16 0.002916 0 47759 5151 read > 0.02 0.000285 0 645 writev > [...] > 0.00 0.000000 0 13 lseek >=20 > Note that this is a Tiny Core Linux boot from disk and shutdown; not > very I/O intensive since it only loads a kernel and ~10 MB initramfs > without touching the disk much after kernel load. Nice. Will give this a try tomorrow with "a bit" more load. We already played with a hack to completely remove the checks from AIO requests, thus avoiding lseek this way - effect as desired, but fragile of course. Jan --------------enig446C8D46A174C9C27C6E1F92 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkvLSeQACgkQitSsb3rl5xRqtwCgyvuQL37k3F8kJTZHtmwl/ZRh gYkAoJDfIpDf9V/4ATKmpQsJujrXZ30x =pBto -----END PGP SIGNATURE----- --------------enig446C8D46A174C9C27C6E1F92--