Skip to contentSkip to conversation

sched: scale sysctl_sched_shares_ratelimit with nr_cpus

PATCH Peter Zijlstra 1 participant 1 message Jul 30, 2008 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1217413511.8157.7.camel@twins

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 19 lines · David Miller

From: Peter Zijlstra <[email protected]>
Date: Wed, 30 Jul 2008 12:25:11 +0200

Quoted 16 lines

Dhaval, Vatsa,

Could you guys give this patch a spin on the big iron and possibly tune the default shares_ratelimit value to give satisfactory fairness on your large machines while considering the overhead?

---
Subject: sched: scale sysctl_sched_shares_ratelimit with nr_cpus

David reported that his Niagra spend a little too much time in tg_shares_up(), which considering he has a large cpu count makes sense.

So scale the ratelimit value with the number of cpus like we do for other controls as well.

Quoted 8 lines
Quoted 2 lines

This turned out to be a false theory, and the lockdep problem I reported the past few days was the real culprit.

The rebalancing et al. showing up in my debugging dumps was just chance and not even consistent.

Ah, still I think the proposed change makes sense, but lets wait for some test results from Dhaval and or Vatsa.. ;-)