#
206972 |
|
20-Apr-2010 |
rwatson |
Merge @176820, @176822, @177156 to tcpp from P4 to HEAD:
Improve accuracy of connection data transfer math.
Disable Nagle's algorithm to avoid delaying transfers of data -- will want to refine this to combine payload with header transfer, however.
Now that we're running w/o Nagle, try to send the initial data burst with the header in a single TCP segment.
Prefer %zu to %ju for size_t.
MFC after: 1 week Sponsored by: Juniper, Inc.
|
#
189623 |
|
10-Mar-2009 |
rwatson |
Add tcpp -- TCP parallelism microbenchmark.
This tool creates large numbers of TCP connections, each of which will transmit a fixed amount of data, between client and server hosts. tcpp can use multiple workers (typically up to the number of hardware cores), and can use multiple source IPs in order to use an expanded port/IP 4-tuple space to avoid problems from reusing 4-tuples too quickly. Aggregate bandwidth use will be reported after a client run.
While by no means a perfect tool, it has proven quite useful in generating and optimizing TCP stack lock contention by easily generating high-intensity workloads. It also proves surprisingly good at finding device driver bugs.
|