git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f121b9
)
htb: reorder struct htb_class fields for performance
author
Eric Dumazet
<edumazet@google.com>
Thu, 13 Jun 2013 14:58:30 +0000
(07:58 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 14 Jun 2013 00:17:02 +0000
(17:17 -0700)
htb_class structures are big, and source of false sharing on SMP.
By carefully splitting them in two parts, we can improve performance.
I got 9 % performance increase on a 24 threads machine, with 200
concurrent netperf in TCP_RR mode, using a HTB hierarchy of 4 classes.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c
patch
|
blob
|
history
diff --cc
net/sched/sch_htb.c
Simple merge