Mesa 7i96S - Error finishing read! iter 8

More
9 months 1 week ago #341795 by slowpoke

How can you expect the 1 ms servo thread to work when it takes 1,6 Ms on average to talk to the card
Ditch the laptop! 
 


Rod,
I'm want to understand if the laptop is the problem or the adapter?

These are the ping results from the working laptop:
60000 packets transmitted, 60000 received, 0% packet loss, time 60029ms
rtt min/avg/max/mdev = 0.269/0.311/0.600/0.006 ms

These are the ping results from the newer laptop:
60000 packets transmitted, 60000 received, 0% packet loss, time 102174ms
rtt min/avg/max/mdev = 1.297/1.631/3.302/0.044 ms

So obviously the newer laptop is MUCH slower, what I would like to know is the problem the laptop or the external USB-c to Ethernet adapter.

I'm thinking it would be worth trying another adapter, thoughts?

As a reality check, can I force the LinuxCNC timing to extra slow, say 2ms just to see if the error goes away?
If so how would I do that?

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

More
9 months 1 week ago #341797 by tommylight
In a terminal:
Code:
latency-histogram --nobase --sbinsize 1000 --show
Click on "glxgears" several times (5-10), leave it on for 15-30 minutes while doing something like copy files, watch youtube, etc and post the resulting screenshot.

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

More
9 months 1 week ago #341820 by rodw
I had a Yoga once. I even ran Linux in it. Nice laptop but no wired internet so not suitable for Mesa cards.
Even if it had one, the power savings features and very limited ability to tweak the BIOS would render it unsuitable.
If it had a PCMCIA card ( don't think it does) you might be able to install a PMCIA network adapter

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

More
9 months 1 week ago #341872 by slowpoke

I had a Yoga once. I even ran Linux in it. Nice laptop but no wired internet so not suitable for Mesa cards.
Even if it had one, the power savings features and very limited ability to tweak the BIOS would render it unsuitable.
If it had a PCMCIA card ( don't think it does) you might be able to install a PMCIA network adapter
 
I have another Yoga running LinuxCNC with a Mesa 7i96s and it's working great. for that one I'm using a Lenovo dock with Ethernet port. That dock connects to the Yoga via I forget what they call it but some sort of Lenovo proprietary connector that was used just prior to USB-C for docking stations.

The good news is that I picked up a different USB-C dock this morning and this one (iCan brand) is much faster than the crappy Amazon dock. Results as shown here...

jeff@SM10:~$ sudo 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, 60000 received, 0% packet loss, time 60001ms
rtt min/avg/max/mdev = 0.070/0.097/0.629/0.028 ms

So I'm going to keep moving forward until I hit another snag.

Thanks to everyone that responded.

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

More
9 months 1 week ago #341873 by slowpoke

The USB Ethernet adapter is likely the main issue here

Running:

sudo chrt 99 ping -i .001 -q -c 60000 10.10.10.10

in a terminal window will give you an idea of the latency of the hosts Ethernet interface

( The command will run for 1 minute and then print timing statistics )

 

PCW, you are correct.

The adapter appears to be the main cause, see results in the previous post. New adapter is much faster.

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

Moderators: PCW, jmelson
Time to create page: 0.273 seconds
Powered by Kunena Forum