From owner-freebsd-current@FreeBSD.ORG Mon Feb 20 23:25:14 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C45D516A420; Mon, 20 Feb 2006 23:25:14 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8E6243D49; Mon, 20 Feb 2006 23:25:12 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) (authenticated bits=128) by igloo.linux.gr (8.13.5/8.13.5/Debian-3) with ESMTP id k1KNOtSW025407 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 21 Feb 2006 01:24:56 +0200 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id k1KNOZN1039143; Tue, 21 Feb 2006 01:24:35 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id k1KNOZ0p039142; Tue, 21 Feb 2006 01:24:35 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 21 Feb 2006 01:24:35 +0200 From: Giorgos Keramidas To: Andrey Chernov , current@freebsd.org Message-ID: <20060220232435.GA38768@flame.pc> References: <20060220231530.GA38930@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060220231530.GA38930@nagual.pp.ru> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.362, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.84, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr Cc: Subject: Re: Lots of calcru: runtime went backwards, never saw it before X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2006 23:25:14 -0000 On 2006-02-21 02:15, Andrey Chernov wrote: > What I got with recent -current (below). What does it mean, what I > supposed to do and why I never saw it before? > > Feb 21 01:14:19 pobrecita kernel: calcru: runtime went backwards from > 42153 usec to 42152 usec for pid 613 (sshd) > Feb 21 01:14:19 pobrecita kernel: u 2:28102/28101 s 1:14051/14050 i 0:0/1 > Feb 21 01:14:19 pobrecita kernel: calcru: runtime went backwards from 2979 > usec to 2978 usec for pid 606 (getty) > Feb 21 01:14:19 pobrecita kernel: u 0:0/0 s 1:2979/2978 i 0:0/0 > Feb 21 01:14:19 pobrecita kernel: calcru: runtime went backwards from 3148 > usec to 3147 usec for pid 605 (getty) > Feb 21 01:14:19 pobrecita kernel: u 0:0/0 s 1:3148/3147 i 0:0/0 > Feb 21 01:14:19 pobrecita kernel: calcru: runtime went backwards from 5011 > usec to 5010 usec for pid 585 (inetd) > Feb 21 01:14:19 pobrecita kernel: u 1:5011/5010 s 0:0/0 i 0:0/0 > Feb 21 01:14:19 pobrecita kernel: calcru: runtime went backwards from > 292891 usec to 292883 usec for pid 29 (pagezero) > Feb 21 01:14:19 pobrecita kernel: u 0:0/0 s 37:292891/292883 i 0:0/0 Hi Andrey, Can you test with the following /etc/defaults/rc.conf vars set to "HIGH"? keramida@flame:/home/keramida$ grep _cx /etc/defaults/rc.conf /etc/rc.conf /etc/defaults/rc.conf:performance_cx_lowest="LOW" # Online CPU idle state /etc/defaults/rc.conf:economy_cx_lowest="LOW" # Offline CPU idle state keramida@flame:/home/keramida$ Without these set to "HIGH" in rc.conf, my laptop crawls to a halt very fast after it enters multiuser mode.