All of lore.kernel.org
 help / color / mirror / Atom feed
* CFS scheduler OLTP perforamnce
@ 2008-12-11 23:25 Ma, Chinang
  2008-12-12 12:12 ` Peter Zijlstra
  2008-12-12 12:37 ` Gilles.Carry
  0 siblings, 2 replies; 14+ messages in thread
From: Ma, Chinang @ 2008-12-11 23:25 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Wilcox, Matthew R, Van De Ven, Arjan, Styner,
	Douglas W, Chilukuri, Harita, Wang, Peter Xihong, Nueckel,
	Hubert

We are evaluating the CFS OLTP performance with 2.6.28-c7 kernel. In this workload once a database foreground process commit a transaction it will signal the log writer process to write to the log file. Foreground processes will wait until log writer finish writing and wake them up. With hundreds of foreground process running in the system, it is important that the log writer get to run as soon as data is available. 

Here are the experiments we have done with 2.6.28-rc7.
1. Increase log writer priority "renice -20 <log writer pid>" while keeping all other processes running in default CFS priority. We get a baseline performance with log latency (scheduling + i/o) at 7 ms.

2. To reduce log latency, we set log writer to SCHED_RR with higher priority. We tried "chrt -p 49  <log writer pid>" and got 0.7% boost in performance with log latency reduced to 6.4 ms.

It seems that in this case renice to higher priority with CFS did not reduce scheduling latency as well as SCHED_RR.

-Chinang

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2008-12-15 20:50 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-11 23:25 CFS scheduler OLTP perforamnce Ma, Chinang
2008-12-12 12:12 ` Peter Zijlstra
2008-12-12 13:38   ` Peter Zijlstra
2008-12-12 14:04     ` Gilles.Carry
2008-12-12 21:45     ` Ma, Chinang
2008-12-14 14:43       ` Henrik Austad
2008-12-15 15:32         ` Ma, Chinang
2008-12-15 16:57           ` Henrik Austad
2008-12-15 20:49             ` Ma, Chinang
2008-12-12 14:15   ` Andi Kleen
2008-12-12 14:22     ` Peter Zijlstra
2008-12-12 14:39       ` Andi Kleen
2008-12-12 17:25   ` Ma, Chinang
2008-12-12 12:37 ` Gilles.Carry

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.