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]
Message-ID: <20080626150100.GA26167@in.ibm.com>
Date:	Thu, 26 Jun 2008 20:31:00 +0530
From:	Dipankar Sarma <dipankar@...ibm.com>
To:	Andi Kleen <andi@...stfloor.org>
Cc:	Linux Kernel <linux-kernel@...r.kernel.org>,
	svaidy@...ux.vnet.ibm.com,
	Suresh B Siddha <suresh.b.siddha@...el.com>,
	Venkatesh Pallipadi <venkatesh.pallipadi@...el.com>,
	Ingo Molnar <mingo@...e.hu>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Balbir Singh <balbir@...ux.vnet.ibm.com>,
	Vatsa <vatsa@...ux.vnet.ibm.com>,
	Gautham R Shenoy <ego@...ibm.com>
Subject: Re: [RFC v1] Tunable sched_mc_power_savings=n

On Thu, Jun 26, 2008 at 03:49:01PM +0200, Andi Kleen wrote:
> Vaidyanathan Srinivasan <svaidy@...ux.vnet.ibm.com> writes:
> >
> > The idea being proposed is to enhance the tunable with varied degrees
> > of consolidation that can work best for different workload
> > characteristics.  echo 2 > /sys/.../sched_mc_power_savings could
> > enable more aggressive consolidation than the default.
> 
> It would be better to fix the single power saving default to work
> better with bursty workloads too than to add more tunables. Tunables
> are basically "we give up, let's push the problem to the user"
> which is not nice. I suspect a lot of users won't even know if their
> workloads are bursty or not.  Or they might have workloads which
> are both bursty and not bursty.
> 
> Or did you try that and failed?

I think we have a reasonable default with sched_mc_power_savings=1.
Beyond that it hard to figure out how much work you can group together
and run in a small number of physical CPU packages. The approach
we are taking is to let system administrators decide what level
of power savings they want. If they want power savings at the cost
of performance, they should be able to do so using a higher
value of sched_mc_power_savings. If they see that they can pack
more work without affecting their transaction time, they should
be able to adjust the level of packing. Beyond a sane default,
it is hard to do this inside the kernel.

Thanks
Dipankar
--
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