diff options
author | Eric Dumazet <[email protected]> | 2013-06-13 07:58:30 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-06-13 17:17:02 -0700 |
commit | ca4ec90b31d1ecf01087c607933cf792057bc8bf (patch) | |
tree | f629cdb10f0eafc1b1979daf34698db1d90a08fb /net/lapb/lapb_subr.c | |
parent | 5f121b9a83b499a61ed44e5ba619c7de8f7271ad (diff) |
htb: reorder struct htb_class fields for performance
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 <[email protected]>
Cc: Tom Herbert <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions