On Thu, May 29, 2008 at 03:30:37PM -0600, Chris Friesen wrote:
Hmm ..I cant recreate this 100/50/50 situation (tried about 10 times).
The tuneables I can think of are:
- HZ (higher the better)
- min/max_interval and imbalance_pct for each domain (lower the better)
That seems to be pretty difficult to achieve with the per-cpu runqueue
and smpnice based load balancing approach we have now.
Was this with imbalance_pct set to 105? Does it make any difference if
you change imbalance_pct to say 102?
I honestly don't know if we can do better than 0.8%! In any case, I'd
expect that it would require more drastic changes.
I ran with this configuration:
HZ = 1000,
min/max_interval = 1
imbalance_pct = 102
My 10-sec fairness looks like below (Error = 1.5%):
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ #C COMMAND
4549 root 20 0 1384 228 176 R 65.2 0.0 0:36.02 0 hogc
4547 root 20 0 1384 228 176 R 32.8 0.0 0:17.87 0 hogb
4548 root 20 0 1384 228 176 R 32.6 0.0 0:18.28 1 hogb
4546 root 20 0 1384 232 176 R 22.9 0.0 0:11.82 1 hoga
4545 root 20 0 1384 228 176 R 22.3 0.0 0:11.74 1 hoga
4544 root 20 0 1384 232 176 R 22.1 0.0 0:11.93 1 hoga
3-sec fairness (error = 2.3% ..sometimes went upto 6.7%)
4549 root 20 0 1384 228 176 R 69.0 0.0 1:33.56 1 hogc
4548 root 20 0 1384 228 176 R 32.7 0.0 0:46.74 1 hogb
4547 root 20 0 1384 228 176 R 29.3 0.0 0:47.16 0 hogb
4546 root 20 0 1384 232 176 R 22.3 0.0 0:30.80 0 hoga
4544 root 20 0 1384 232 176 R 20.3 0.0 0:30.95 0 hoga
4545 root 20 0 1384 228 176 R 19.4 0.0 0:31.17 0 hoga
--
Regards,
vatsa
--