-
Notifications
You must be signed in to change notification settings - Fork 79
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
Obtaining socket stats for all other tests #246
Comments
Hrishikesh Athalye ***@***.***> writes:
Can the code be changed in some way to obtain socket stats for tests other than tcp1up using the same SsRunner?
All the other runners inherit from ProcessRunner, so my guess is adding the code to detect the SOCKET_STATS option there will be the way to do it?
Something similar to the below lines of code in NetperfdemoRunner, but that can work for tests other than TCP_STREAM?
What are you trying to achieve? The socket stats are captured from the
output of 'ss', which only carries the extended stats for TCP sockets...
|
I am trying to obtain stats for http-1up with a single worker and would like to have the stats for the underlying TCP socket that it uses |
Hrishikesh Athalye ***@***.***> writes:
I am trying to obtain stats for http-1up with a single worker and
would like to have the stats for the underlying TCP socket that it
uses
Right, so while that's doable, the socket stats won't show you that much
useful information for incoming flows - this is also the reason why it's
only enabled for TCP_STREAM flows in netperf.
As for adding the capability, I think the way to go about it would be to
move the add_child() call you quoted above into a helper function in
ProcessRunner, and have the child runners call that if the test they're
running is compatible with socket stats (i.e., TCP_STREAM tests for
netperf).
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can the code be changed in some way to obtain socket stats for tests other than tcp1up using the same SsRunner?
All the other runners inherit from ProcessRunner, so my guess is adding the code to detect the SOCKET_STATS option there will be the way to do it?
Something similar to the below lines of code in NetperfdemoRunner, but that can work for tests other than TCP_STREAM?
The text was updated successfully, but these errors were encountered: