error finishing read!

More
15 Jul 2024 19:09 - 15 Jul 2024 19:16 #305265 by Anton
Replied by Anton on topic error finishing read!
Hello,
if I enter the following 

   auto enp1s0
     iface enp1s0 inet static
     address 192.168.1.120/24
     hardware-irq-coalesce-rx-usecs 0

in the file interfaces then the hm2.readTime deteriorates from 800000 to 900000. I have entered everything manually, it cannot be a character set (e.g. at -)
If I enter the following command.
     sudo ethtool -C enp1s0 rx-usecs 0
Then ping and readTime (250000-400000) improve significantly.

Is there a possibility to use the command
    sudo ethtool -C enp1s0 rx-usecs 0
automatically when starting LCNC?
If so, how?
perhaps with grub?
Greetings

 
Last edit: 15 Jul 2024 19:16 by Anton.

Please Log in or Create an account to join the conversation.

More
15 Jul 2024 19:26 #305267 by PCW
Replied by PCW on topic error finishing read!
The entry in the interfaces file should do it but unfortunately
you don't get an obvious warning message if there is a syntax
error in the interfaces file.

You might try:

ethtool -c enp1s0

To see if your interfaces file setting was actually run
 

Please Log in or Create an account to join the conversation.

More
15 Jul 2024 20:01 #305271 by Anton
Replied by Anton on topic error finishing read!
The file interfaces contains the following:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

auto enp1s0
iface enp1s0 inet static
address 192.168.1.120/24
hardware-irq-coalesce-rx-usecs 0



The output of the command can be seen in the appendix.
 
Attachments:

Please Log in or Create an account to join the conversation.

More
15 Jul 2024 20:19 - 15 Jul 2024 20:24 #305274 by PCW
Replied by PCW on topic error finishing read!
That's the output after rebooting without running ethtool -C?

What Ethernet hardware do you have?

lshw -class network

will show this.

You might check if there is any difference in the settings
from the interface file or manually
Last edit: 15 Jul 2024 20:24 by PCW.

Please Log in or Create an account to join the conversation.

More
15 Jul 2024 20:30 - 15 Jul 2024 20:54 #305275 by Anton
Replied by Anton on topic error finishing read!
This is without the command:
sudo ethtool -C enp1s0 rx-usecs 0

If I do not comment out the lines in interfaces then the command does nothing.

If I comment out the lines, the command brings a big improvement.

lshw see attachment

The second picture in the appendix shows the good readTime. Here I have commented out the lines in the interfaces file and used the command
sudo ethtool -C enp1s0 rx-usecs 0
Attachments:
Last edit: 15 Jul 2024 20:54 by Anton.

Please Log in or Create an account to join the conversation.

More
15 Jul 2024 21:20 #305280 by PCW
Replied by PCW on topic error finishing read!
That's really weird, I have never seen that behaviour before
with Intel MACs.

You can run a program at linux startup by adding the command to rc.local
(simple) or using systemd (more complex)
The following user(s) said Thank You: Anton

Please Log in or Create an account to join the conversation.

More
27 Jul 2024 17:05 #306183 by juliankoenig87
As far as I understand he has to comment out this line:

source /etc/network/interfaces.d/*

Best regards
Julian

Please Log in or Create an account to join the conversation.

More
28 Jul 2024 09:57 #306226 by andypugh
Replied by andypugh on topic error finishing read!

2) Esprimo Q956 Mini PC with i5: poor latency, good ping - > unusable

How poor? Mesa cards are fairly tolerant of realtime latency, up to 100,000ns or so. 

Please Log in or Create an account to join the conversation.

More
29 Jul 2024 18:06 #306351 by Anton
Replied by Anton on topic error finishing read!
Hello Julian,
I had already commented out this line as a test, but that didn't help.
I now simply call the following line when starting via rc.local:
     sudo ethtool -C enp1s0 rx-usecs 0
I leave it like that.

The installation of LCNC was really annoying! 
In contrast, I like the configuration with hal and ini very much.
I could configure a test axis relatively quickly (homing, limit switch and glass scale) - see:
.
Now I'm waiting for LCNC 2.10. This version should include QT-Dragon-Lathe. With simCNC (which I use on my milling machine), the complete screen can be created and programmed quite easily (Python). I'm curious to see what it looks like with Qt-Dragon. 
However, as I haven't yet found a used table lathe for conversion to CNC, I won't be bothering with LCNC for the time being.


Greetings Anton

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.223 seconds
Powered by Kunena Forum