From owner-freebsd-current@FreeBSD.ORG Thu Aug 14 10:09:28 2003 Return-Path: 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 A388D37B405 for ; Thu, 14 Aug 2003 10:09:28 -0700 (PDT) Received: from serio.al.rim.or.jp (serio.al.rim.or.jp [202.247.191.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id A259843FB1 for ; Thu, 14 Aug 2003 10:09:27 -0700 (PDT) (envelope-from matoba@st.rim.or.jp) Received: from mail6.rim.or.jp by serio.al.rim.or.jp (3.7W/HMX-13) id CAA12181; Fri, 15 Aug 2003 02:09:25 +0900 (JST) Received: from localhost (ntkngw088139.kngw.nt.adsl.ppp.infoweb.ne.jp [220.209.96.139]) by mail6.rim.or.jp (8.9.3/3.7W) id CAA24026; Fri, 15 Aug 2003 02:09:25 +0900 (JST) Date: Fri, 15 Aug 2003 01:52:02 +0900 (JST) Message-Id: <20030815.015202.730549847.matoba@st.rim.or.jp> To: freebsd-current@freebsd.org From: MATOBA Hirozumi Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: clock works slowly when I change CPU speed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 14 Aug 2003 17:09:29 -0000 I have a problem about clock when I change CPU speed (hw.acpi.cpu). The default hw.acpi.cpu status of my ThinkPad A22e is # sysctl hw.acpi.cpu hw.acpi.cpu.max_speed: 8 hw.acpi.cpu.current_speed: 8 hw.acpi.cpu.performance_speed: 8 hw.acpi.cpu.economy_speed: 4 and, the clock value of "top" tool updates per 2 seconds normally, like as "01:21:45", "01:21:47", "01:21:49",... (because the default delay between updates is 2 seconds) When I change CPU speed as sysctl -w hw.acpi.cpu.performance_speed=4 the clock value of "top" tool updates by 1, per 2 seconds, like as "01:22:45", "01:22:46", "01:22:47",..., but per 2 seconds. So, the clock of "top" tool works on half speed of the real world. (I compare the clock value of "top" tool and the clock value of my video recorder. The problem also occur when I restart "top" tool after changing CPU speed) This problem occurs not only to using "top" tool, but to executing "while :; do date; sleep 1; done" on bash prompt, (When CPU speed is 4, the time value updates by 1 per 2 seconds) and to executing "kldload snd_ich" by hand after booting. (When CPU speed is not 8, the result of link rate is wrong. The normal value is about 48000 Hz, but when CPU speed is 4, it gets double value of normal link rate) This problem did not exist when I did cvsup on Aug 2. This problem exists since when I did cvsup on Aug 9. I did cvsup on Aug 13 again, but this problem still exists. And, when I use backuped kernel of Aug 2, by changing value of "module_path" on boot prompt, this problem does not occur. (So I do not think my ThinkPad A22e has broken) -- matoba@st.rim.or.jp