RE: 2.6.27-rc5 OLTP performance regression
From: Ma, Chinang
Date: Thu Sep 25 2008 - 17:04:25 EST
We also tested sched_shares_ratelimit = 100 ms and reduce the OLTP regression to 0.2%. (very small return in performance with 10x the value). Can we count on this sched_shares_ratelimit tunable be always accessible for workload that does not depend on group fairness?
Chinang
-----Original Message-----
From: Ma, Chinang
Sent: Wednesday, September 10, 2008 5:08 PM
To: Ingo Molnar
Cc: Peter Zijlstra; Srivatsa Vaddagiri; Mike Galbraith; Gregory Haskins; Steven Rostedt; Nick Piggin; Siddha, Suresh B; Wilcox, Matthew R; Tripathi, Sharad C; Chilukuri, Harita; linux-kernel@xxxxxxxxxxxxxxx
Subject: RE: 2.6.27-rc5 OLTP performance regression
When set to 10 ms the regression is about 0.4%. We get most of the 2%.
Chinang
-----Original Message-----
From: Ingo Molnar [mailto:mingo@xxxxxxx]
Sent: Wednesday, September 10, 2008 10:35 AM
To: Ma, Chinang
Cc: Peter Zijlstra; Srivatsa Vaddagiri; Mike Galbraith; Gregory Haskins; Steven Rostedt; Nick Piggin; Siddha, Suresh B; Wilcox, Matthew R; Tripathi, Sharad C; Chilukuri, Harita; linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: 2.6.27-rc5 OLTP performance regression
* Ma, Chinang <chinang.ma@xxxxxxxxx> wrote:
> I increased the /proc/sys/kernel/sched_shares_ratelimit from 1
> millisecond to one second to reduce the frequency of shares update.
> That was okay for OLTP workload. As Peter mentioned, a larger value
> will reduce the accuracy of SMP fairness for group scheduler and the
> ratelimit and using a larger default value may not be good for general
> case.
does 10 msecs already get you most of the 2%? 1000 millisecond sounds
very (and probably unacceptable) coarse.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/