Thread (2 messages) 2 messages, 2 authors, 2012-10-12

performance regression with skb_add_data_nocache

flat view

From: Animesh K Trivedi1 <hidden>
Date: 2012-10-12 14:29:30

Hi all,

I recently upgraded from 2.6.36 to 3.2.28 and saw performance regression
for
TCP performance. Upon further investigation it looked that
skb_add_data_nocache()
was the culprit.

I am getting following performance numbers on my Nehalem (Xeon E7520) box
connected using 10GbE cards (transmit side, and netperf client). Server is
a another
box with E5540 CPU (receiver of the request) . For my netperf TCP_RR tests:

-  1,400 bytes request, 1 byte response:
No cache copy (enabled)  : 26,623 tps, 22.72% utilization
No cache copy (disabled) : 26,710 tps, 21.76% utilization

- 14,000 bytes request, 1 byte response:
No cache copy (enabled)  : 14,245 tps, 23.04% utilization
No cache copy (disabled) : 14,850 tps, 21.6% utilization

and for even larger buffer the performance lag is increases with
significant CPU load

- 1 MBytes request, 1 byte response:
No cache copy (enabled)  : 1,032 tps, 98.96% utilization
No cache copy (disabled) : 1,081 tps, 74.86% utilization

Though there isn't a lot performance difference, but notice the significant
CPU
utilization in case of nocache copy for 1MB buffer size. Thoughts?

Thanks,
--
Animesh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help