From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 17 19:30:01 2012 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D623FA4 for ; Sat, 17 Nov 2012 19:30:01 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id D93568FC0C for ; Sat, 17 Nov 2012 19:30:00 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so4783391oag.13 for ; Sat, 17 Nov 2012 11:30:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=S0l1MLsy1J6MuIja3REOW3OsYyiXehyxgCDF6Q7ivs8=; b=xbgZIaiCb5TZVSvvEbhFF6HsvViMTdQoubKjuEGKNQsLwXIjEbsi+CMDfbZfCwrJm2 EurM56WI3PAj8qXq8jJC7Bi2S72gBftAreqj4jE2G9J0i0aTe+VLK+C4nEHrbnfimvE2 6O+RaofvFn1h4TE1Zt1zRaLCo8+YgNew6Hj1munUyTRhIfAktnRMQwinfLE2zJSrmvZ7 DrIE70I/qORh2INELhGRsCZFfsbC7Cw76NamQ1VKnvx9O0AbgkXkVAJ1iUGhlgPQqqW/ 4uz3LyziNwMG/FcZ6vEmC3PjK4wF+lusSY+Om9T/5auBB+EGL8HRRZaPrBRolSnXozoC 0VEw== MIME-Version: 1.0 Received: by 10.60.32.193 with SMTP id l1mr6765040oei.114.1353180600049; Sat, 17 Nov 2012 11:30:00 -0800 (PST) Received: by 10.76.80.104 with HTTP; Sat, 17 Nov 2012 11:29:59 -0800 (PST) In-Reply-To: References: <50A67D9F.8040505@wp.pl> <50A787A6.8050402@wp.pl> Date: Sat, 17 Nov 2012 13:29:59 -0600 Message-ID: Subject: Re: VirtualBox 4.1.22 on FreeBSD 9.0-RELEASE problem: VBoxHeadless eats 100% CPU From: Adam Vande More To: Alex Chistyakov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-emulation@freebsd.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2012 19:30:01 -0000 On Sat, Nov 17, 2012 at 1:19 PM, Alex Chistyakov wrote: > Okay the situation has changed radically after upgrade to 4.2.4, > VBoxHeadless does not consume 100% CPU anymore but now I have another > problem: > > --- 192.168.221.11 ping statistics --- > 677 packets transmitted, 677 packets received, 0.0% packet loss > round-trip min/avg/max/stddev = 0.233/4997.489/52552.511/10627.598 ms > > This is results of ping between host and guest systems. > > A common pattern is like this: > > 64 bytes from 192.168.221.11: icmp_seq=63 ttl=64 time=21.168 ms > 64 bytes from 192.168.221.11: icmp_seq=64 ttl=64 time=1.914 ms > 64 bytes from 192.168.221.11: icmp_seq=65 ttl=64 time=49.005 ms > 64 bytes from 192.168.221.11: icmp_seq=66 ttl=64 time=7.190 ms > 64 bytes from 192.168.221.11: icmp_seq=67 ttl=64 time=56.000 ms > 64 bytes from 192.168.221.11: icmp_seq=68 ttl=64 time=0.276 ms > 64 bytes from 192.168.221.11: icmp_seq=69 ttl=64 time=0.817 ms > 64 bytes from 192.168.221.11: icmp_seq=70 ttl=64 time=12.177 ms > 64 bytes from 192.168.221.11: icmp_seq=71 ttl=64 time=11.181 ms > 64 bytes from 192.168.221.11: icmp_seq=72 ttl=64 time=19790.362 ms > 64 bytes from 192.168.221.11: icmp_seq=73 ttl=64 time=18789.374 ms > 64 bytes from 192.168.221.11: icmp_seq=74 ttl=64 time=17788.379 ms > > > I also have got a lot of "soft lockup - CPU#0 stuck for 22s!" Linux > kernel messages on the guest. > Since this is a periodic problem I guess the best way to track it down > is to get thread stack dump samples using gdb when the lock occures > but unfortunately I am not familiar with FreeBSD flavour of gdb, it > seems to be quite different. But I will try anyway. Does 'sysctl kern.eventtimer.periodic=1' help? -- Adam Vande More