From owner-freebsd-current@FreeBSD.ORG Sat Jul 19 22:57:23 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07CD3106567B for ; Sat, 19 Jul 2008 22:57:23 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id C1B0E8FC15 for ; Sat, 19 Jul 2008 22:57:22 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so265070ywe.13 for ; Sat, 19 Jul 2008 15:57:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=F3YUB/c3FN7d8H0tMn+g8Ltqowm6b46xa96Wlat3Lwk=; b=HaCwce/hyovSuy5JFgRSPWgoWscjGA6XQnoLUj0d6ZYgq5wo1s34n/uKrDhVGpC3Uf u/9C/v7Yu8jbdQabB6maUTaSg2zAImPXslRTzlFBQ6C7F2G64OBwWnseD4Eu9NO0ZcPF 7qHjvglifVXQer62DKqWRpLJOBKIkYOE4dy38= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=I38U5tu8o1tdsQgPqDCb8PYFs8x1P5ddhJQPBhbWdPu0ZZpVks+V9rcOuBn2iODVv4 pt0VA26dPnJs00meX2LTZaeibnN0j9ns/KEQDjQqanbOji/cJwAPFAa0aFwbtZvLruF+ iDvXYjmSQoMPDT91OkVWNxfAPg63RX7A0NX/E= Received: by 10.150.134.21 with SMTP id h21mr1887518ybd.135.1216508241146; Sat, 19 Jul 2008 15:57:21 -0700 (PDT) Received: from ?10.0.3.231? ( [70.111.22.162]) by mx.google.com with ESMTPS id 4sm634272yxj.7.2008.07.19.15.57.20 (version=SSLv3 cipher=RC4-MD5); Sat, 19 Jul 2008 15:57:20 -0700 (PDT) From: "Alexandre \"Sunny\" Kovalenko" To: Giorgos Keramidas In-Reply-To: <87tzelebd7.fsf@kobe.laptop> References: <87prpcjrsk.fsf@kobe.laptop> <1216501388.971.6.camel@RabbitsDen> <87mykd5wsl.fsf@kobe.laptop> <87tzelebd7.fsf@kobe.laptop> Content-Type: text/plain; charset=utf-8 Date: Sat, 19 Jul 2008 18:57:10 -0400 Message-Id: <1216508230.2172.8.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-current@freebsd.org Subject: Re: Broken APIC on my laptop or bug in FreeBSD? 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: Sat, 19 Jul 2008 22:57:23 -0000 On Sun, 2008-07-20 at 01:51 +0300, Giorgos Keramidas wrote: > On Sun, 20 Jul 2008 01:33:30 +0300, Giorgos Keramidas wrote: > > On Sat, 19 Jul 2008 17:03:08 -0400, "Alexandre \"Sunny\" Kovalenko" wrote: > >> Are you by any chance using cx_lowest="C3" (or "LOW") in your > >> rc.conf? I have seen these symptoms (including mouse inducement of > >> the typed characters) when cpu0 on my laptop went to C3. Nowadays I > >> have C3 on cpu1 and C2 on cpu0 and life is good. Then again, I am > >> running RELENG_7 (which AFAICR was 7-CURRENT at the time), so YMMV. > > > > Ah, good point. I have indeed performance_cx_lowest="LOW" in rc.conf. > > > > I'll remove that and try again with the APIC enabled... > > That was it. Thanks! > > # sysctl -a | egrep -e 'cx_(usage|support)' > dev.cpu.0.cx_supported: C1/1 C2/1 C3/57 > dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% > dev.cpu.1.cx_supported: C1/1 C2/1 C3/57 > dev.cpu.1.cx_usage: 100.00% 0.00% 0.00% > > With anything except "C1" the CPU is obviously too slow to do anything > useful :-) > I guess it got worse in CURRENT: # uname -a FreeBSD RabbitsDen.RabbitsLawn.verizon.net 7.0-STABLE FreeBSD 7.0-STABLE #0: Wed Jul 9 16:52:35 EDT 2008 root@RabbitsDen.RabbitsLawn.verizon.net:/usr/obj/usr/src/sys/TPX60 i386 RabbitsDen# sysctl -a | egrep -e 'cx_(usage|support)' dev.cpu.0.cx_supported: C1/1 C2/1 C3/57 dev.cpu.0.cx_usage: 0.00% 100.00% 0.00% dev.cpu.1.cx_supported: C1/1 C2/1 C3/57 dev.cpu.1.cx_usage: 0.00% 4.43% 95.56% -- Alexandre "Sunny" Kovalenko (Олександр Коваленко)