New micro PC problems

More
2 years 9 months ago #290421 by B.Reilly01
My old Optiplex bit the dust, so I picked up a very inexpensive micro PC off Amazon, a BMAX running an N4000 processor with 8gb of ram.  I had no idea if this was suitable or not, and now I'm suspecting not.   I got LinuxCNC 2.9.2 installed, but I'm getting errors.  See the attached images.  Also attached are my INI and HAL files.  Based on the histogram latency, I suspect there's still power management turned on somewhere maybe? I'm running a Mesa 7i97T and 7i76.

Please Log in to join the conversation.

More
2 years 9 months ago #290430 by PCW
Replied by PCW on topic New micro PC problems
Have you disabled all power management options in the BIOS?
(C states > C1 EIST, turbo modes etc)

What are you ping times like?

First:

ping -c 4  -i .2 10.10.10.10

Then:

sudo chrt 99 ping -i .001 -q 10.10.10.10

Stop the last command after a minute or so with control C to see the stats

Also for the latency-histogram you should not use a base thread as it will
skew the results since that CPU/OS cannot handle a 25 KHz base thread.

latency-histogram --nobase --sbinsize 1000
 

Please Log in to join the conversation.

More
2 years 9 months ago #290452 by B.Reilly01
Replied by B.Reilly01 on topic New micro PC problems
Ping numbers seem okay, I've turned off as much power management as I can find,although I know there are C States and I cannot find them again...  Realized the latency histogram included opening linuxcnc which probably broke it - uploaded another image

Please Log in to join the conversation.

More
2 years 9 months ago #290467 by PCW
Replied by PCW on topic New micro PC problems
Do you still get real time errors?

The 1.1 GHz is not terribly promising, you may need to run a lower servo thread rate like 2 ms on that hardware

Please Log in to join the conversation.

More
2 years 9 months ago #290468 by B.Reilly01
Replied by B.Reilly01 on topic New micro PC problems
I think the hardware is too under powered, I'm still getting errors at 2ms.

Please Log in to join the conversation.

More
2 years 8 months ago #292597 by B.Reilly01
Replied by B.Reilly01 on topic New micro PC problems
New Computer, similar problems... See the attached error warnings. This is on a new(er) Optiplex 9020 with 16gb of ram. As you can see from the latency histogram, I don't seem to have a real latency problem, but I'm still triggering these latency errors and communication errors...

Please Log in to join the conversation.

More
2 years 8 months ago #292602 by tommylight
Replied by tommylight on topic New micro PC problems
Disable "hyperthreading" in BIOS

Please Log in to join the conversation.

More
2 years 8 months ago #292604 by PCW
Replied by PCW on topic New micro PC problems
Make sure you disable IRQ coalescing if you have an intel MAC on you motherboard

Also disable all power management, EIST, Turbo modes and Cstates >C1 in the BIOS

What ping time do you have?

 

Please Log in to join the conversation.

More
2 years 8 months ago #292606 by B.Reilly01
Replied by B.Reilly01 on topic New micro PC problems
Pings are between .2 and .33 ms, 0% loss. All hyperthreading, C States, Turbomodes, etc is disabled. Only thing still on is Multi Core Support i did not see IRQ coalescing

edit:  Turning off multicore support did not help

Please Log in to join the conversation.

More
2 years 8 months ago #292610 by scotth
Replied by scotth on topic New micro PC problems
sudo ethtool -C eno1 rx-usecs 0

Try this.

Please Log in to join the conversation.

Time to create page: 0.140 seconds
Powered by Kunena Forum