From owner-freebsd-bugs@freebsd.org Thu Aug 6 18:15:30 2015 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF7579B58A5 for ; Thu, 6 Aug 2015 18:15:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 91B0DE08 for ; Thu, 6 Aug 2015 18:15:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t76IFUal025488 for ; Thu, 6 Aug 2015 18:15:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 202140] HP Z600 defaults to LAPIC for kern.eventtimer.timer but can't use 'Online CPU idle state' higher than C1 with this setting Date: Thu, 06 Aug 2015 18:15:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: brejoc@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2015 18:15:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202140 Bug ID: 202140 Summary: HP Z600 defaults to LAPIC for kern.eventtimer.timer but can't use 'Online CPU idle state' higher than C1 with this setting Product: Base System Version: 10.1-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: brejoc@gmail.com This computer is comsuming 160 watt when idle. I was looking for a way to reduce that and was told to set 'hw.acpi.cpu.cx_lowest' to 'C3' or 'C8'. If I'm setting 'hw.acpi.cpu.cx_lowest' to anything else than 'C1' the system stops working properly. Applications just stop - waiting forever. This can very easily be reproduced with ping. Starting to type anything on the shell "wakes" the computer up and applications start to respond and work again. A clean reboot is not possible with these settings. Default for this computer for 'kern.eventtimer.timer' is 'LAPIC'. Allan Jude from BSD Now, who was guiding me through the whole process, told me to try 'HPET', which worked. Both 'C3' and 'C8' for 'hw.acpi.cpu.cx_lowest' are now possible without any downside effects. Power consumption is down to around 90 watt with 'C8' and the system is working flawlessly and stable. Thanks Allan, Kris and last but not least TJ! But it would be much nicer, if this would work right out of the box! Some additional information: --- Xeon E5520 --- $ sysctl hw.|head hw.machine: amd64 hw.model: Intel(R) Xeon(R) CPU E5520 @ 2.27GHz hw.ncpu: 8 hw.byteorder: 1234 hw.physmem: 8545079296 hw.usermem: 8300666880 hw.pagesize: 4096 hw.floatingpoint: 1 hw.machine_arch: amd64 hw.realmem: 8592031744 --- Event timer choices --- $ sysctl kern.eventtimer.choice kern.eventtimer.choice: LAPIC(400) HPET(350) HPET1(340) HPET2(340) HPET3(340) i8254(100) RTC(0) -- You are receiving this mail because: You are the assignee for the bug.