Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Sep 2011 00:23:23 -0400
From:      Boris Kochergin <spawk@acm.poly.edu>
To:        freebsd-emulation@freebsd.org
Subject:   Re: Funny sleep behavior with 8.2-R/amd64 on Linux KVM
Message-ID:  <4E605A3B.8040107@acm.poly.edu>
In-Reply-To: <4E4AD5D6.6090803@acm.poly.edu>
References:  <4E4AD5D6.6090803@acm.poly.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/16/11 16:40, Boris Kochergin wrote:
> Hi.
>
> I have KVM running on a Linux machine:
>
> # uname -a
> Linux [censored] 2.6.18-238.19.1.el5 #1 SMP Fri Jul 15 07:31:24 EDT 
> 2011 x86_64 x86_64 x86_64 GNU/Linux
>
> I created it as follows:
>
> virt-install --name [censored] --vcpus 2 --ram 2048 --disk 
> path=/var/lib/libvirt/images/[censored]/[censored],size=10,sparse=false --cdrom=/xen/iso/FreeBSD-8.2-RELEASE-amd64-disc1.iso 
> --network bridge:br0 --network bridge:br1 --vnc --noautoconsole --hvm 
> --accelerate --os-variant=freebsd7 --os-type unix
>
> Everything seems fine except one thing: it looks like the system, when 
> asked to sleep, sleeps for three times as long as it was asked to:
>
> # time sleep 1
> 0.000u 0.000s 0:03.02 0.0%      0+0k 0+0io 0pf+0w
>
> This is also evident in increased top(1) update delays, delays between 
> ping(8) sending packets, and so forth. Any thoughts?

Replying to myself in case anyone bumps into this. I upgraded the VM to 
9-BETA1 and all is well.

# time sleep 1
0.000u 0.000s 0:01.04 0.0%      0+0k 0+0io 0pf+0w

-Boris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E605A3B.8040107>