Another realtime delay question - Mesa card
- chienMouille
- Offline
- Senior Member
Less
More
- Posts: 73
- Thank you received: 3
02 Jan 2024 13:08 - 02 Jan 2024 13:09 #289555
by chienMouille
Replied by chienMouille on topic Another realtime delay question - Mesa card
Attachments:
Last edit: 02 Jan 2024 13:09 by chienMouille.
Please Log in or Create an account to join the conversation.
02 Jan 2024 13:18 #289556
by Mecanix
Replied by Mecanix on topic Another realtime delay question - Mesa card
Neither have grub-customizer (bone-stock ootb install). In that case just manually edit it.
$ sudo nano /etc/default/grub
#GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT="quiet processor.max_cstate=1 isolcpus=1"
$ sudo update-grub
$ sudo reboot
Please Log in or Create an account to join the conversation.
- chienMouille
- Offline
- Senior Member
Less
More
- Posts: 73
- Thank you received: 3
02 Jan 2024 13:42 - 02 Jan 2024 14:31 #289559
by chienMouille
Replied by chienMouille on topic Another realtime delay question - Mesa card
Ok, thank you. Did that and upgrade to 2.9.2 as well.
So now I get a jitter of 87253 and 83654. It's another 30% reduction on the servo thread and same as before on base thread. Is that ok? Or what else should I do?
Thanks so much, this is quite the part that remains super obscure to me.
EDIT: I still get the realtime error message while running the machine
So now I get a jitter of 87253 and 83654. It's another 30% reduction on the servo thread and same as before on base thread. Is that ok? Or what else should I do?
Thanks so much, this is quite the part that remains super obscure to me.
EDIT: I still get the realtime error message while running the machine
Last edit: 02 Jan 2024 14:31 by chienMouille.
Please Log in or Create an account to join the conversation.
02 Jan 2024 16:29 #289573
by Mecanix
Now to your issue.
1. Can you print the output of below for us to see if the system is up and that no gremlins are lurking:
2. Install ethtool
* Replace eth0 with your ethernet interface name. Mine is 'ens33' for instance.
Replied by Mecanix on topic Another realtime delay question - Mesa card
The complete lack of an "official preferred list of hardware" that is proven to work with linuxcnc (and its several interfaces), is what remains super obscure to me. After all those years the community remains at the mercy of random and costly hardware trials & errors, tweak this and that, it's endless... everything to ensure that the Free Controller remains unpopular and utterly complex for the new comers. /rant_over.quite the part that remains super obscure to me.
Now to your issue.
1. Can you print the output of below for us to see if the system is up and that no gremlins are lurking:
$ sudo dmesg | grep -i eth
(print output for us)
2. Install ethtool
$ sudo apt install ethtool
$ sudo ethtool -i eth0
(print output for us)
$ sudo ethtool --show-features eth0
(print output for us)
* Replace eth0 with your ethernet interface name. Mine is 'ens33' for instance.
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
Less
More
- Posts: 19197
- Thank you received: 6434
02 Jan 2024 17:16 #289579
by tommylight
-Intel has crippled PC development for nearly 20 years, see especially gen 10, 11, 12, 13 and 14, to many f@ck ups to mention here, the least of it is 14900 using 360W of power to run!
-Microsoft is hell bent on not allowing anything except Windows to run on a PC, while it does support a lot of open source projects just so it can take over whenever those projects gain traction, see "open AI" and GitHub.
-Dell, HP, Lenovo, and all PC hardware manufacturers need to bow down to both of the above, so the PC hardware changes so much that it is impossible to follow what is going on, while miss using the fact that normal users do not understand the hardware, so selling cr@ppy PC, see Dell Alienware for $5000 as utterly useless except as a room heater.
-Asus, MSI, Gigabyte, Asrock selling boards and power supplies etc that are miserably crippled by, oooo say disabled current limiting to the processor ending up in burnt CPU's whenever user changes some settings in BIOS, see youtube Gamers Nexus
-etc etc...
I have done tests for over 50 PC's and laptops, there are several topic with results here, and all of that is not of much use as the time limit for finding those PC's is quite limited, necessitating more test consistently.
So far we have resorted to using used HP 8300 and lately G800 (the 65W version, not the 35W version), Dell 980 as the big one has parallel port and runs Mesa cards perfectly, and some Fujitsu.
Just to prove a point about hardware, i have an Acer laptop that runs Mesa cards perfectly, so i found another one, same model, type, everything, it was terrible! Must have changed something in electronics.
Lenovo laptops were utterly useless even for machine testing, now i have 3 different new-ish ones that are quite good.
An Acer Switch 5 tablet that runs the machine through a USB to Ethernet card perfectly, suddenly the NVME failed, an Acer laptop that runs the machine perfectly, one day just decided to not turn on anymore. Hence never buy Acer for machine control, despite the old laptop mentioned up there still working, new ones are not reliable.
I can go on and on, the point is, not easy to have a list of hardware when the same make, model, type, PC is not the same inside.
Latency tests:
forum.linuxcnc.org/18-computer/39371-res...or-use-with-linuxcnc
Hardware tests, older stuff and some new PC's:
forum.linuxcnc.org/18-computer/38838-har...ency-tests-used-pc-s
Replied by tommylight on topic Another realtime delay question - Mesa card
True, and that will remain so but not due to lack of effort on our part (our=members of this forum), i will just run through some reasons for the situation:The complete lack of an "official preferred list of hardware" that is proven to work with linuxcnc (and its several interfaces), is what remains super obscure to me. After all those years the community remains at the mercy of random and costly hardware trials & errors, tweak this and that, it's endless... everything to ensure that the Free Controller remains unpopular and utterly complex for the new comers. /rant_over.
-Intel has crippled PC development for nearly 20 years, see especially gen 10, 11, 12, 13 and 14, to many f@ck ups to mention here, the least of it is 14900 using 360W of power to run!
-Microsoft is hell bent on not allowing anything except Windows to run on a PC, while it does support a lot of open source projects just so it can take over whenever those projects gain traction, see "open AI" and GitHub.
-Dell, HP, Lenovo, and all PC hardware manufacturers need to bow down to both of the above, so the PC hardware changes so much that it is impossible to follow what is going on, while miss using the fact that normal users do not understand the hardware, so selling cr@ppy PC, see Dell Alienware for $5000 as utterly useless except as a room heater.
-Asus, MSI, Gigabyte, Asrock selling boards and power supplies etc that are miserably crippled by, oooo say disabled current limiting to the processor ending up in burnt CPU's whenever user changes some settings in BIOS, see youtube Gamers Nexus
-etc etc...
I have done tests for over 50 PC's and laptops, there are several topic with results here, and all of that is not of much use as the time limit for finding those PC's is quite limited, necessitating more test consistently.
So far we have resorted to using used HP 8300 and lately G800 (the 65W version, not the 35W version), Dell 980 as the big one has parallel port and runs Mesa cards perfectly, and some Fujitsu.
Just to prove a point about hardware, i have an Acer laptop that runs Mesa cards perfectly, so i found another one, same model, type, everything, it was terrible! Must have changed something in electronics.
Lenovo laptops were utterly useless even for machine testing, now i have 3 different new-ish ones that are quite good.
An Acer Switch 5 tablet that runs the machine through a USB to Ethernet card perfectly, suddenly the NVME failed, an Acer laptop that runs the machine perfectly, one day just decided to not turn on anymore. Hence never buy Acer for machine control, despite the old laptop mentioned up there still working, new ones are not reliable.
I can go on and on, the point is, not easy to have a list of hardware when the same make, model, type, PC is not the same inside.
Latency tests:
forum.linuxcnc.org/18-computer/39371-res...or-use-with-linuxcnc
Hardware tests, older stuff and some new PC's:
forum.linuxcnc.org/18-computer/38838-har...ency-tests-used-pc-s
The following user(s) said Thank You: Mecanix
Please Log in or Create an account to join the conversation.
02 Jan 2024 17:52 #289584
by Mecanix
Replied by Mecanix on topic Another realtime delay question - Mesa card
Your advanced knowledge obviously evolved from the hobby with hardware you have, you are fortunate, Tommy. Problem being; that's not the case with >98% of us (us, the users). We're really just trying to make parts when you think about it and by all means don't want to f around with hardware markets and/or their stocks (or whatever reason they swim their consumers in that sort of thick mud you're making ref too - I agree btw).
Soon could be a good time to launch and advertise the Linuxcnc EasyMotion™ & the Linuxcnc Pro-Gear™ (names made up) i.e. turn-key and supported half-decent hw solutions for the new comer to harvest the performance of that code and innovative interface. Just a suggestion...
In a meantime I look forward seeing member's chienmouille (wetdog?) problem investigated and hopefully solved
Soon could be a good time to launch and advertise the Linuxcnc EasyMotion™ & the Linuxcnc Pro-Gear™ (names made up) i.e. turn-key and supported half-decent hw solutions for the new comer to harvest the performance of that code and innovative interface. Just a suggestion...
In a meantime I look forward seeing member's chienmouille (wetdog?) problem investigated and hopefully solved
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- chienMouille
- Offline
- Senior Member
Less
More
- Posts: 73
- Thank you received: 3
02 Jan 2024 18:01 - 02 Jan 2024 18:05 #289585
by chienMouille
Replied by chienMouille on topic Another realtime delay question - Mesa card
the first command is not returning anything, even with the right interface name which is enp1s0 in my case.
outputs from ethtools:
EDIT: Also, if the name of the interface is enp1s0 does the previous change we made to the interfaces file starting with eth1 does anything?
outputs from ethtools:
driver: igb
version: 6.1.0-17-rt-amd64
firmware-version: 0. 6-2
expansion-rom-version:
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
$ sudo ethtool --show-features enp1s0
Features for enp1s0:
rx-checksumming: on
tx-checksumming: on
tx-checksum-ipv4: off [fixed]
tx-checksum-ip-generic: on
tx-checksum-ipv6: off [fixed]
tx-checksum-fcoe-crc: off [fixed]
tx-checksum-sctp: on
scatter-gather: on
tx-scatter-gather: on
tx-scatter-gather-fraglist: off [fixed]
tcp-segmentation-offload: on
tx-tcp-segmentation: on
tx-tcp-ecn-segmentation: off [fixed]
tx-tcp-mangleid-segmentation: off
tx-tcp6-segmentation: on
generic-segmentation-offload: on
generic-receive-offload: on
large-receive-offload: off [fixed]
rx-vlan-offload: on
tx-vlan-offload: on
ntuple-filters: off
receive-hashing: on
highdma: on [fixed]
rx-vlan-filter: on [fixed]
vlan-challenged: off [fixed]
tx-lockless: off [fixed]
netns-local: off [fixed]
tx-gso-robust: off [fixed]
tx-fcoe-segmentation: off [fixed]
tx-gre-segmentation: on
tx-gre-csum-segmentation: on
tx-ipxip4-segmentation: on
tx-ipxip6-segmentation: on
tx-udp_tnl-segmentation: on
tx-udp_tnl-csum-segmentation: on
tx-gso-partial: on
tx-tunnel-remcsum-segmentation: off [fixed]
tx-sctp-segmentation: off [fixed]
tx-esp-segmentation: off [fixed]
tx-udp-segmentation: on
tx-gso-list: off [fixed]
fcoe-mtu: off [fixed]
tx-nocache-copy: off
loopback: off [fixed]
rx-fcs: off [fixed]
rx-all: off
tx-vlan-stag-hw-insert: off [fixed]
rx-vlan-stag-hw-parse: off [fixed]
rx-vlan-stag-filter: off [fixed]
l2-fwd-offload: off [fixed]
hw-tc-offload: on
esp-hw-offload: off [fixed]
esp-tx-csum-hw-offload: off [fixed]
rx-udp_tunnel-port-offload: off [fixed]
tls-hw-tx-offload: off [fixed]
tls-hw-rx-offload: off [fixed]
rx-gro-hw: off [fixed]
tls-hw-record: off [fixed]
rx-gro-list: off
macsec-hw-offload: off [fixed]
rx-udp-gro-forwarding: off
hsr-tag-ins-offload: off [fixed]
hsr-tag-rm-offload: off [fixed]
hsr-fwd-offload: off [fixed]
hsr-dup-offload: off [fixed]
EDIT: Also, if the name of the interface is enp1s0 does the previous change we made to the interfaces file starting with eth1 does anything?
Last edit: 02 Jan 2024 18:05 by chienMouille.
Please Log in or Create an account to join the conversation.
02 Jan 2024 19:28 - 02 Jan 2024 19:30 #289589
by Mecanix
Replied by Mecanix on topic Another realtime delay question - Mesa card
Attached 's a side-by-side compare of your enp1s0 against another that ping avg 0.04ms with 0pkt losses. I'm not saying your interface is the issue, could also well be core/processing related given the less-than-ideal 80k'ish latency figures.
Fancy getting familiar with [hint] the system's interrupts affinity and policies? Trust this 'tweaking-jazz' is endless and often makes things worst, as much as occasionally yielding surprising performance enhancements. I'd try that before thinking of getting the Linuxcnc Pro-Gear™
Fancy getting familiar with [hint] the system's interrupts affinity and policies? Trust this 'tweaking-jazz' is endless and often makes things worst, as much as occasionally yielding surprising performance enhancements. I'd try that before thinking of getting the Linuxcnc Pro-Gear™
Last edit: 02 Jan 2024 19:30 by Mecanix.
Please Log in or Create an account to join the conversation.
02 Jan 2024 21:08 #289605
by rodw
Replied by rodw on topic Another realtime delay question - Mesa card
the driver is igb from intel.
Have you disabled coalescing as described in man hm2_eth?
Have you disabled coalescing as described in man hm2_eth?
Please Log in or Create an account to join the conversation.
02 Jan 2024 21:11 #289606
by rodw
Replied by rodw on topic Another realtime delay question - Mesa card
grub-customizer is part of the Linuxcnc 2.9.1 and 2.9.2 ISO on the downloads page
you've been shown another method.
sudo apt install grub-customizer just makes it easier
you've been shown another method.
sudo apt install grub-customizer just makes it easier
Please Log in or Create an account to join the conversation.
Time to create page: 0.201 seconds