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

Document net_trace and its performance implications #1025

Closed
jbqubit opened this issue May 30, 2018 · 5 comments · Fixed by #2466
Closed

Document net_trace and its performance implications #1025

jbqubit opened this issue May 30, 2018 · 5 comments · Fixed by #2466

Comments

@jbqubit
Copy link
Contributor

jbqubit commented May 30, 2018

Using build from latest master. Usually ping is < 1 ms. Lately ping has been much longer.

--- 192.168.1.75 ping statistics ---
69 packets transmitted, 69 received, 0% packet loss, time 68077ms
rtt min/avg/max/mdev = 32.764/33.258/43.353/1.676 ms

This seems to be the case for builds I've tested in the last week. It does not seem to be a function of switch (I've tried two). It's not due to other network traffic (one of the switches only has two devices).

@trxw
Copy link

trxw commented May 31, 2018

net_trace slows down ping response. this makes sense now. closing. @sbourdeauducq

artiq_mkfs -s net_trace 1 -s panic_reset 1 -s mac 00:0a:35:03:1e:75 -s ip 192.168.1.75 -f startup_kernel startup_kernel.elf sayma.config

$ ping 192.168.1.75
PING 192.168.1.75 (192.168.1.75) 56(84) bytes of data.
64 bytes from 192.168.1.75: icmp_seq=1 ttl=64 time=32.8 ms
64 bytes from 192.168.1.75: icmp_seq=2 ttl=64 time=32.8 ms
^C
--- 192.168.1.75 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 32.841/32.851/32.862/0.181 ms

artiq_mkfs -s net_trace 0 -s panic_reset 1 -s mac 00:0a:35:03:1e:75 -s ip 192.168.1.75 -f startup_kernel startup_kernel.elf sayma.config

$ ping 192.168.1.75
PING 192.168.1.75 (192.168.1.75) 56(84) bytes of data.
64 bytes from 192.168.1.75: icmp_seq=1 ttl=64 time=0.361 ms
64 bytes from 192.168.1.75: icmp_seq=2 ttl=64 time=0.328 ms
64 bytes from 192.168.1.75: icmp_seq=3 ttl=64 time=0.297 ms
64 bytes from 192.168.1.75: icmp_seq=4 ttl=64 time=0.358 ms

@trxw
Copy link

trxw commented May 31, 2018

This was @jboulder. Just noticed that @trxw was logged into github. I'll log him out for further posts.

@whitequark
Copy link
Contributor

@sbourdeauducq net_trace is currently not documented, should we document it and add that caveat?

@sbourdeauducq
Copy link
Member

Sure, go ahead.

@jbqubit
Copy link
Contributor Author

jbqubit commented May 31, 2018

Great! Thank you @whitequark. :)

@whitequark whitequark reopened this May 31, 2018
@whitequark whitequark self-assigned this May 31, 2018
@dnadlinger dnadlinger changed the title Sayma ping >> 30 ms Document net_trace and its performance implications Jun 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants