From owner-freebsd-acpi@FreeBSD.ORG Thu Sep 23 13:10:04 2010 Return-Path: Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05C35106566B for ; Thu, 23 Sep 2010 13:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 97D758FC08 for ; Thu, 23 Sep 2010 13:10:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8NDA3p5041766 for ; Thu, 23 Sep 2010 13:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8NDA3rV041765; Thu, 23 Sep 2010 13:10:03 GMT (envelope-from gnats) Date: Thu, 23 Sep 2010 13:10:03 GMT Message-Id: <201009231310.o8NDA3rV041765@freefall.freebsd.org> To: freebsd-acpi@FreeBSD.org From: Alexander Motin Cc: Subject: Re: i386/135447: [i386] [request] Intel Core i7 and Nehalem-EP new features not supported X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Motin List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2010 13:10:04 -0000 The following reply was made to PR i386/135447; it has been noted by GNATS. From: Alexander Motin To: Dmitry Kubov Cc: Andriy Gapon , jh@FreeBSD.org, bug-followup Subject: Re: i386/135447: [i386] [request] Intel Core i7 and Nehalem-EP new features not supported Date: Thu, 23 Sep 2010 16:01:09 +0300 Dmitry Kubov wrote: > >> This CPU has only 266MHz TurboBoost speedup. And some part of it >> (probably half) could be enabled all the time. This benefit still could >> be overweighted by C-states latencies penalty. It could be interesting >> to test some other workloads, like compilation with different number of >> threads. >> > > Actually tested 8.1-RELEASE with both TurboBoost options in BIOS: > > TurboBoost OFF > Ubench Single CPU: 451935 (0.40s) > Ubench Single CPU: 450927 (0.40s) > Ubench Single CPU: 450486 (0.40s) > > TurboBoost ON > Ubench Single CPU: 450890 (0.40s) > Ubench Single CPU: 450890 (0.40s) > Ubench Single CPU: 449926 (0.40s) > > C-states latencies penalty is reasonable idea. But looks like P0-state > not activated at all. Try to kill powerd and manually set highest CPU frequency. 0.40s test time looks a bit suspicious, as powerd may just not react in time to set P0 state. > What about too high %% for C3 state during heavy load: > dev.cpu.0.cx_usage: 0.17% 0.06% 99.75% last 7560us It's not really strange. These numbers count number of enters into each state. So when CPU is completely bust - they won't be updated. Main case when C1 state should be actively used/counted is loads with high interrupt rate or heavy context switching, such as disk I/O or network load. >> Disk performance fix is reasonable. Some recent improvements in >> 9-CURRENT should improve it even more. What's about ubench - try some >> different load. >> > Can you suggest other CPU only benchmark? > > make -j 16 buildworld > can't load all cores, can't see less than 11% idle I think it's not the main goal to completely load all CPUs. But this test is realistic and has really usable result. -- Alexander Motin