From owner-freebsd-current@FreeBSD.ORG Tue Oct 29 20:47:54 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BC5537B7 for ; Tue, 29 Oct 2013 20:47:54 +0000 (UTC) (envelope-from jean-sebastien.pedron@dumbbell.fr) Received: from mail.made4.biz (unknown [IPv6:2001:41d0:1:7018::1:3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 831BD25AB for ; Tue, 29 Oct 2013 20:47:54 +0000 (UTC) Received: from 141.7.19.93.rev.sfr.net ([93.19.7.141] helo=[192.168.1.179]) by mail.made4.biz with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1VbGCe-000Dkx-MJ for freebsd-current@freebsd.org; Tue, 29 Oct 2013 21:47:53 +0100 Message-ID: <52701EF9.4000000@dumbbell.fr> Date: Tue, 29 Oct 2013 21:47:53 +0100 From: =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: 10.0-BETA2: LAPIC event timer and C2 c-state -> abnormal high load Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 29 Oct 2013 20:47:54 -0000 Hello! I partially upgraded my workstation from 9.2-RELEASE-p1 to 10.0-BETA2 using freebsd-update. Partially because I only performed the first pass (installing the kernel and rebooting). After the boot, the average load was around 5, with no activity on the computer. I tried again by disabling all services in rc.conf and rebooted: same load. Other symptoms are: o The display (syscons) is only redrawn when hitting random keys on a PS/2 or USB keyboard. o When all services are disabled (even NIC is not configured), the computer isn't able to boot or shutdown in a reasonable time without hitting the keyboard too (I guess to generate some interrupts). The chosen event timer is different between 9.2 and 10.0: 9.2: kern.eventtimer.timer: HPET kern.eventtimer.choice: HPET(450) HPET1(440) HPET2(440) HPET3(440) LAPIC(400) i8254(100) RTC(0) 10.0: kern.eventtimer.timer: LAPIC kern.eventtimer.choice: LAPIC(400) HPET(350) HPET1(340) HPET2(340) HPET3(340) i8254(100) RTC(0) I have hw.acpi.cpu.cx_lowest=C2 in sysctl.conf. I tested the following combinations: o HPET + cx_lowest=C1: normal load, computer responsive o HPET + cx_lowest=C2: normal load, computer responsive o LAPIC + cx_lowest=C1: normal load, computer responsive o LAPIC + cx_lowest=C2: high load /!\ Can someone help me track the problem down? :) Thanks! -- Jean-Sébastien Pédron