From owner-freebsd-stable@FreeBSD.ORG Sat Jan 21 09:18:53 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6BDB106564A for ; Sat, 21 Jan 2012 09:18:52 +0000 (UTC) (envelope-from martin@sugioarto.com) Received: from mailserv.regfish.com (mailserv.regfish.com [79.140.61.33]) by mx1.freebsd.org (Postfix) with ESMTP id 5C8818FC0A for ; Sat, 21 Jan 2012 09:18:51 +0000 (UTC) Received: (qmail 5603 invoked from network); 21 Jan 2012 09:18:50 -0000 Received: from pd9ec004a.dip0.t-ipconnect.de (HELO yuni.sugioarto.com) (46959-0001@[217.236.0.74]) (envelope-sender ) by mailserv.regfish.com (qmail-ldap-1.03) with SMTP for ; 21 Jan 2012 09:18:50 -0000 Received: from zelda.sugioarto.com (zelda.sugioarto.com [192.168.0.12]) by yuni.sugioarto.com (Postfix) with ESMTP id 7FE7B1BAC57; Sat, 21 Jan 2012 10:18:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sugioarto.com; s=mail; t=1327137528; bh=ssvF2HLRrjEgvToE2ZJDnGooa5q7cEQPR1TgF5GndX4=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: Mime-Version:Content-Type; b=XfLfSQHkk4jv+JHXmrK7mTxRSdiExNECqWTLGDwcHvKZ0LcsVvvHdIyY5/ehcxYwW EAlmwoVJ1w0yjJebaT7cGHD1paUyPCpZSy9RwB3ekyMnPI5cpV3lzD0Yf0TLAmHTfw 501yPSorim9GJXiufJk8P8ORoPvFrcasHEk3UdNo= Date: Sat, 21 Jan 2012 10:18:42 +0100 From: Martin Sugioarto To: FreeBSD Stable Mailing List Message-ID: <20120121101842.786fc402@zelda.sugioarto.com> In-Reply-To: <20120118075049.289954e8@zelda.sugioarto.com> References: <4F15D643.8000907@rewt.org.uk> <20120118075049.289954e8@zelda.sugioarto.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/fvjL7IS5lNjXtKav3XSMwtD"; protocol="application/pgp-signature" Cc: Joe Holden Subject: Re: Timekeeping in stable/9 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2012 09:18:53 -0000 --Sig_/fvjL7IS5lNjXtKav3XSMwtD Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Wed, 18 Jan 2012 07:50:49 +0100 schrieb Martin Sugioarto : > I can confirm this on VirtualBox. I've been running WinXP inside > VirtualBox and measured network I/O during downloads. It showed me > very high download rates (around 800kB/s) while it's physically > possible to download 200kB/s through DSL here (Germany sucks with > DSL, even in largest cities, btw!). >=20 > I correlated this behavior with high disk I/O on the host. That means > that the timer issues on the virtual host appear when I start a > larger cp job on the host. I also immediately thought that this has > something to do with timers. Hi everybody, I just want to add some information on this. I tested a few things with VirtualBox yesterday. I switched off ntpd on the host and tested if there are differences, but the clock is working correctly on the host. I tested it a few times, it is stable, as I expect it to be. It seems to be rather a software problem with VirtualBox. I can see that when the host is under heavy load (CPU!) the guest does not get enough runtime to adjust the clock correctly. After a few minutes there has been a difference of 50 seconds between the host and guest clock. And furthermore, I don't quite understand how the real time clock works in VirtualBox but it seems to slide in the different directions causing weird results with progress bars on MS-Windows XP. I just want to explain why I thought that I/O influences this. I have got my hard disk encrypted, so it puts some load on the CPU, too. If you want to test VirtualBox behavior, you can simple dd from /dev/random and look at the weird results in VirtualBox. -- I hope it helps further, Martin --Sig_/fvjL7IS5lNjXtKav3XSMwtD Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQIcBAEBAgAGBQJPGoL3AAoJEF8wvLx/5p/7yQcQAKCBJdpgIOetIxeKSIm2RZPS sQ/lfpgmbQYAhlFnxq+WWE6mCpOYDVubyA1NV9uZIk/vgKl3gDNxyfYrLYUKvGW9 N6X1uK7dorfGlOijRnO2lmjC4L9wCf5eYLgC1nWX/wcBNdItWAv3BI0O+BM4+hIT 4vGMVLHCc2AvAjvKkaQmhcqbB0+0McfPRB5Jx7E5XDyn7Mse8OYkJICahyki/kYF Z1a91z4sl4EyYq9ZoOm8ByuyAqUVFuqMne2CvNRwuVISWHsjHCUum9BVHBgtVpzV nz3tAWEKonswAyHquqFHQTy6Msitmxk0Nunjf7yT382xyI5TWWaoFGZiPkg7KMoF 5wyOGO+KI8DboWiI+X6qMibHRa1NTL6ok6Dx9SQwmmIER+CI+IYVusD5VyyvUC4c 0FRVd0aid1mMXJZcnHEw5BGFDtKvJvhuxUkAGS4WNG7inuhi20fetTUHbPeEfRKC j0Tb5x6yu2lcvfShG9DEUVmzwgfM/TXd6exM0zPl4OuGtnpJNSPRtBIJoCUrT9qn 4gt3ggQj1LneYHNAREi03LjQ4l5+DO4RwXcvuXQHemOEQQfwLsNJS+SICjpgmCeQ yYdfGzMIl7qF7tUpogfTJjghTkVEYFBgdCZY4LLes9MtT8DW2p0SI339+yqBM0Hj UziuIiuXiX0LLwxBAUaV =1BA7 -----END PGP SIGNATURE----- --Sig_/fvjL7IS5lNjXtKav3XSMwtD--