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:	Fri, 30 Nov 2007 22:31:17 -0500
From:	Mark Lord <lkml@....ca>
To:	Arjan van de Ven <arjan@...radead.org>
Cc:	"Pallipadi, Venkatesh" <venkatesh.pallipadi@...el.com>,
	Andrew Morton <akpm@...ux-foundation.org>, abelay@...ell.com,
	lenb@...nel.org, rjw@...k.pl, linux-kernel@...r.kernel.org,
	linux-acpi@...r.kernel.org
Subject: Re: + restore-missing-sysfs-max_cstate-attr.patch added to -mm tree

Arjan van de Ven wrote:
> On Fri, 30 Nov 2007 22:14:08 -0500
> Mark Lord <lkml@....ca> wrote:
> 
>>> in -mm there is.. the QoS stuff allows you to set maximum tolerable
>> ..
>>
>> That's encouraging, I think, but not for 2.6.24.
>>
>>> latency. If your app cant take any latency, you should set those...
>>> and the side effect is that the kernel will not do long-latency
>>> C-states or P-state transitions..
>> ..
>>
>> I don't mind the cpufreq changing (actually, I want it to drop in
>> cpugfreq to save power and keep the fan off), but the C-states just
>> kill this app.
>>
>> The app is VMware.  I force the max_state=1 when launching,
> 
> ah but then its' even easier... and can be done in 2.6.24 already.
> VMWare after all has a kernel module, and the latency stuff is in
> 2.6.23 and 2.6.24 available inside the kernel already.
..

Oh, I'm perfectly happy to write my own kernel module if that's what
is going to be needed here, but just doing an echo into sysfs was simpler.
But yes, it appears to have no effect even with the chmod patch I posted,
so something different is needed here.

>> I'm not sure about C?? -- it could be C8 or even be C2 or whatever.
>> I suppose I should find out, but that really takes a lot of fuss
>> (hours) to measure, and isn't strictly repeatable.
> 
> (also hope you don't have one of those AMD machines where the bios
> turns C1 into C2/C3/etc behind the OSes back ;-)
..

Just a nice Intel Core2 Duo notebook.

Speaking of which.. what's with powertop on 2.6.24 ???
It's gone from 100-200 wakeups/sec to 20000 wakeups/sec !!!!!!!

New thread time..
-
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