summaryrefslogtreecommitdiffstats
path: root/drivers/base/transport_class.c
diff options
context:
space:
mode:
authorJamal Hadi Salim <hadi@cyberus.ca>2007-09-25 19:27:13 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:52:15 -0700
commit8236632fb3532188c75656421e29f5ab51b47db7 (patch)
treee93f1c710c420fb643ddb424f0db974ac4e064f2 /drivers/base/transport_class.c
parent854d8363f37491c955b0edc60d37b62f3d71bb67 (diff)
downloadblackbird-op-linux-8236632fb3532188c75656421e29f5ab51b47db7.tar.gz
blackbird-op-linux-8236632fb3532188c75656421e29f5ab51b47db7.zip
[NET_SCHED]: explict hold dev tx lock
For N cpus, with full throttle traffic on all N CPUs, funneling traffic to the same ethernet device, the devices queue lock is contended by all N CPUs constantly. The TX lock is only contended by a max of 2 CPUS. In the current mode of operation, after all the work of entering the dequeue region, we may endup aborting the path if we are unable to get the tx lock and go back to contend for the queue lock. As N goes up, this gets worse. The changes in this patch result in a small increase in performance with a 4CPU (2xdual-core) with no irq binding. Both e1000 and tg3 showed similar behavior; Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/base/transport_class.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud