Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added toy server client for profiling #152

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TylerADavis
Copy link
Collaborator

This PR has the (very rough) executables that I set up to test the performance of the TCP connection. I got the following results locally on my laptop (I'll update with firebox on different machines once I've done that):

TCPNoDelay, 4kB messages, zero processing,  500 MB/s
4kB messages, zero processing, 1500 MB/s
 
4k message + 128 byte ack:
Nodelay: 140 MB/s
141 MB/s
 
Read Read Write, w/ 4 byte initial reads
Nodelay: 132 MB/s
Regular: 131 MB/s

The server must be relaunched after each test. To change the behavior, I simply commented different bits of the code inside of the for/while loops at the bottom of the loop methods and changed the values being sent/received.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant