WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Impact of P/C-states on server power with xen-unstable

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Impact of P/C-states on server power with xen-unstable
From: Niraj Tolia <ntolia@xxxxxxxxx>
Date: Tue, 10 Feb 2009 18:24:19 -0800
Delivery-date: Tue, 10 Feb 2009 18:25:51 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=ROP3AM92sVtvcskn9jpevQwPJ+ntLkc4810JIQgOmOk=; b=w8ZQQs6zUES2cQnR6dhIYZUxWCW83RS+POmzfAQBugbF0X9XcqopOKSSnD8+e0AdnR zYbO7GDX50tTrySf0/YxOKqAqAPTg3lR9yAFCiTo1PV/o6iZA++aBN/LPzssW2d5ny2y +0jd0M0/An7ovv7ED/GjvCZp1DpE78josA0m8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Tmnsdp4lKu/IOlP3Fc/UiX0tuDWZXBPGt+w3ksDNMmBtx+p2/zj8wRS9i28hq/f3fG bA01mFpQtiQQN0hivKdHhyFrUcJtGKFTwD+xWw7Uh9eT/vBY51KhQhXHmiNy4r83e3g1 6RqpZoZjWlKabjkFuP5MYeSX/fbskhrFkqP9g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

So, I was playing with C-states (with and without cpuidle on the xen command line) on Intel Xeons and I discovered that turning C-state support on/off makes no difference in terms of the power used by an idle server.

The processor in question is a Xeon X5355 and, when cpuidle is enabled, xenpm reports a C1 state and will show that the server is ~99.96% resident in C1 when idle. However, the power consumed by a idle server in C1 is virtually identical to that consumed by the server when C-state support is disabled and the idle server is in either P1 or even P0 (both set manually using the userspace governor and xenpm set-scaling-speed). Is the processor doing something that is not exposed to Xen/xenpm? For what it's worth, the power used by the server does show a significant difference between 100% busy CPUs at P0 and P1.

The relevant 'xm dmesg' output for the first core is included below. I am running xen-unstable changeset 19104/31983c30c460.

Cheers,
Niraj


(XEN) cpu0 cx acpi info:
(XEN)     count = 1
(XEN)     flags: bm_cntl[0], bm_chk[0], has_cst[0],
(XEN)            pwr_setup_done[1], bm_rld_set[0]
(XEN)     states[0]:
(XEN)         reg.space_id = 0x0
(XEN)         reg.bit_width = 0x0
(XEN)         reg.bit_offset = 0x0
(XEN)         reg.access_size = 0x0
(XEN)         reg.address = 0x0
(XEN)         type    = 1
(XEN)         latency = 0
(XEN)         power   = 0
(XEN)         dp(@0x00000000)
(XEN) ==cpu0==
(XEN) active state:        C-1
(XEN) max_cstate:        C7
(XEN) states:
(XEN)     C1:    type[C1] latency[000] usage[00000000] duration[0]
(XEN)     C0:    usage[00000000] duration[5708043748]
(XEN) xen_pminfo: @acpi_cpufreq_cpu_init,SYSTEM IO addr space
(XEN) CPU 0 initialization completed

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>