- Posts: 107
- Thank you received: 0
[SOLVED]linuxcnc Latency test ambiguous results
- DarkPhoinix
- Topic Author
- Offline
- Premium Member
-
Less
More
1 year 6 months ago #327214
by DarkPhoinix
I have run various tests with different commands to check the latency but I don't know if I'm doing things correctly:
[/code]
[SOLVED]linuxcnc Latency test ambiguous results was created by DarkPhoinix
Attachment not found
Attachment not found
Attachment not found
Attachment not found
I have run various tests with different commands to check the latency but I don't know if I'm doing things correctly:
Code:
stress --cpu 4 --io 4 --vm 4 --vm-bytes 1024M --timeout 120s
[code]chrt 99 ping -i .001 10.10.10.10 -c 40000000
with stress I get good results with all the cpus at maximum usage, instead with chrt even if the cpus are not busy I see disastrous latency.
what should I do (kernel parameters, kernel recompilation)? the PC is not good for LinuxCNC?
If I don't use hardware parallel port and use NVEM, does this latency matter for operation?
my hardware:
motherboard: P8H61/USB3 R2.0
CPU: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
VGA: VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1) (Driver NOUVEAU)
Controller: NVEM V5
Please Log in to join the conversation.
1 year 6 months ago #327221
by PCW
Replied by PCW on topic linuxcnc Latency test ambiguous results
What was the result of the ping command?
Please Log in to join the conversation.
- DarkPhoinix
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 107
- Thank you received: 0
1 year 6 months ago #327224
by DarkPhoinix
Replied by DarkPhoinix on topic linuxcnc Latency test ambiguous results
You need result of all 40000000?What was the result of the ping command?
Please Log in to join the conversation.
1 year 6 months ago #327226
by PCW
Replied by PCW on topic linuxcnc Latency test ambiguous results
No, just the statistics reported at the end of:
ping -c 4 -i .2 10.10.10.10
sudo chrt 99 ping -i .001 -q -c 60000 10.10.10.10
The last command will run for 1 minute
ping -c 4 -i .2 10.10.10.10
sudo chrt 99 ping -i .001 -q -c 60000 10.10.10.10
The last command will run for 1 minute
Please Log in to join the conversation.
- DarkPhoinix
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 107
- Thank you received: 0
1 year 6 months ago #327228
by DarkPhoinix
Replied by DarkPhoinix on topic linuxcnc Latency test ambiguous results
ping -c 4 -i .2 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
64 bytes from 10.10.10.10: icmp_seq=1 ttl=255 time=0.295 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=255 time=0.416 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=255 time=0.278 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=255 time=0.425 ms
--- 10.10.10.10 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 612ms
rtt min/avg/max/mdev = 0.278/0.353/0.425/0.067 ms
chrt 99 ping -i .001 -q -c 60000 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
--- 10.10.10.10 ping statistics ---
60000 packets transmitted, 59999 received, 0.00166667% packet loss, time 60751ms
rtt min/avg/max/mdev = 0.158/0.255/4.918/0.225 ms
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
64 bytes from 10.10.10.10: icmp_seq=1 ttl=255 time=0.295 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=255 time=0.416 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=255 time=0.278 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=255 time=0.425 ms
--- 10.10.10.10 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 612ms
rtt min/avg/max/mdev = 0.278/0.353/0.425/0.067 ms
chrt 99 ping -i .001 -q -c 60000 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
--- 10.10.10.10 ping statistics ---
60000 packets transmitted, 59999 received, 0.00166667% packet loss, time 60751ms
rtt min/avg/max/mdev = 0.158/0.255/4.918/0.225 ms
Please Log in to join the conversation.
1 year 6 months ago #327230
by PCW
Replied by PCW on topic linuxcnc Latency test ambiguous results
rtt min/avg/max/mdev = 0.158/0.255/4.918/0.225 ms
Yeah, ~ 5 ms will be an issue
What is the Ethernet hardware?
If Realtek you likely need to install the DKMS driver
Yeah, ~ 5 ms will be an issue
What is the Ethernet hardware?
If Realtek you likely need to install the DKMS driver
Please Log in to join the conversation.
- DarkPhoinix
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 107
- Thank you received: 0
1 year 6 months ago #327232
by DarkPhoinix
I need search and compile him or only apt-get?
Replied by DarkPhoinix on topic linuxcnc Latency test ambiguous results
Code:
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09)
Please Log in to join the conversation.
1 year 6 months ago #327233
by PCW
Replied by PCW on topic linuxcnc Latency test ambiguous results
Please Log in to join the conversation.
- DarkPhoinix
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 107
- Thank you received: 0
1 year 6 months ago #327242
by DarkPhoinix
Replied by DarkPhoinix on topic linuxcnc Latency test ambiguous results
I have a nvidia 610 video card, should I replace nouveau with the proprietary nvidia driver? (I already did it in theory)
Please Log in to join the conversation.
Time to create page: 0.123 seconds
