From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932390Ab1FWCn7 (ORCPT ); Wed, 22 Jun 2011 22:43:59 -0400 Received: from mga14.intel.com ([143.182.124.37]:44394 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932170Ab1FWCn6 (ORCPT ); Wed, 22 Jun 2011 22:43:58 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.65,410,1304319600"; d="scan'208";a="17206994" Subject: power increase issue on light load From: "Alex,Shi" To: ncrao@google.com, peterz@infradead.org, mingo@elte.hu Cc: "Chen, Tim C" , "Li, Shaohua" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Date: Thu, 23 Jun 2011 10:43:44 +0800 Message-ID: <1308797024.23204.95.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org commit c8b281161dfa4bb5d5be63fb036ce19347b88c63 causes light load benchmark use more than 10% system power on platform NHM-EP and laptop Thinkpad T410 etc. The benchmarks are specpower and bltk office. I tried to track this issue, but only find deep C sate time reduced much, about from 90% to 30~40%, the C0 or C1 state increase much on different machines. Powertop just hints RES interrupts has a bit more. but when I try "perf probe native_smp_send_reschedule". I didn't find much. I also checked the /proc/schedstat, just can sure the load_balance was called a bit more frequency. but pull_task() was called really rare. The following are the /proc/schedstat increased number in about 300' when do bltk-office. The getting command is here: #on a 16 LCPU system, with 3 level domain, 0,1,2, so all domain number is 48, the domain statistic number is 2 + 36, so fs=38, $cat /proc/schedstat > schedstat ; sleep x ; cat /proc/schedstat >> schedstat ; cat schedstat | grep domain | sed '49 i \\n' | awk -v fs=38 'BEGIN { RS=""; FS=" " } { if ( NR ==1) for (i=0; i