From owner-freebsd-stable@FreeBSD.ORG Wed Dec 21 14:54:46 2011 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 D65271065678 for ; Wed, 21 Dec 2011 14:54:46 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 93AE88FC15 for ; Wed, 21 Dec 2011 14:54:46 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RdNZ7-00069a-72 for freebsd-stable@freebsd.org; Wed, 21 Dec 2011 15:54:45 +0100 Received: from 161.53.72.85 ([161.53.72.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Dec 2011 15:54:45 +0100 Received: from ivoras by 161.53.72.85 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Dec 2011 15:54:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Wed, 21 Dec 2011 15:54:30 +0100 Lines: 30 Message-ID: References: <20111221134852.GT67687@mdounin.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 161.53.72.85 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 In-Reply-To: <20111221134852.GT67687@mdounin.ru> Subject: Re: Unbalanced timer interrupts under VMWare? 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: Wed, 21 Dec 2011 14:54:46 -0000 On 21.12.2011. 14:48, Maxim Dounin wrote: > Hello! > > On Wed, Dec 21, 2011 at 12:02:04PM +0100, Ivan Voras wrote: >> Unless the tickless kernel project has advanced more than I think, > > It is, actually. Many thanks to mav@ for his amazing work. > > $ sysctl kern.eventtimer.periodic > kern.eventtimer.periodic: 0 > > $ vmstat -i | grep timer > cpu0:timer 72769640 47 Ah, great! I missed that commit :) Thanks mav! > And down to 37 i/s as seen in "systat -vm". Idle virtual machine > now takes 2 times less CPU on my laptop as seen from the host. > >> this looks like a problem... so I looked elsewhere and it turns out >> I cannot get more than about 55 interrupts/s with the disk >> controller either. > > Happily goes to 6k i/s here (though it's under VirtualBox and > a bit old -current, not 9.0). Yes, it looks like it's not related to the tickless mode, the disk IO is slow even when kern.eventtimer.periodic=1. Something else is broken.