lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 29 Jan 2009 11:40:25 -0800 (PST)
From:	Xiaoning Ding <dingxn@...il.com>
To:	Michael Tokarev <mjt@....msk.ru>, Dave Jones <davej@...hat.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: a question about p4_clockmod module on Xeon quad core processors

--- On Thu, 1/29/09, Dave Jones <davej@...hat.com> wrote:

> From: Dave Jones <davej@...hat.com>
> Subject: Re: a question about p4_clockmod module on Xeon quad core processors
> To: "Michael Tokarev" <mjt@....msk.ru>
> Cc: "Xiaoning Ding" <dingxn@...il.com>, linux-kernel@...r.kernel.org
> Date: Thursday, January 29, 2009, 5:24 PM
> On Thu, Jan 29, 2009 at 03:27:24PM +0300, Michael Tokarev
> wrote:
> 
>  > > p4-clockmod doesn't change the processor
> frequency.
>  > 
>  > Hmm..  But what it really does, then?
> 
> it modulates the clock so the CPU isn't always availble
> for doing work.
> 
>  > I used it one one machine which had a flaky CPU
> cooler,
>  > to reduce power consumption during hot summer days.
> 
> it reduces the amount of heat generated, by making jobs
> take longer to finish. This comes at a cost of the CPU not
> being able to enter lower C states for longer periods of
> time,
> so you may end up actually using *more* power.
> 
>  > It worked, and reportedly the frequency varied from
>  > 200MHz to the max of 2.4GHz (it's a P4 Xeon).
> 
> The CPU was always at 2.4GHz, even if it said
> '200MHz'.
> It was just only doing work once in every 12 clocks.
> 
> 	Dave
> 
> -- 
> http://www.codemonkey.org.uk
> --
> To unsubscribe from this list: send the line
> "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at 
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

Thanks for the explanation. So the conclusion is that ACPI-cpufreq can reduce power consumption by lowering cpu frequencies, and p4-clockmod can hardly save power because CPU frequences are not changed.

My experiments do not consider power consumption. It only requires to slow down the speed of some cores by either reducing frequencies or clock modulation. In such case, p4-clockmod is still a good choice for me. Can anyone give me some hints on whether p4-clockmod works on Xeon quad-core processors, and how to get it work?

Thanks!

Xiaoning


      

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ