New micro PC problems
- B.Reilly01
- Offline
- Premium Member
Less
More
- Posts: 158
- Thank you received: 23
11 Jan 2024 11:53 - 11 Jan 2024 14:14 #290421
by B.Reilly01
New micro PC problems was created 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.
Last edit: 11 Jan 2024 14:14 by B.Reilly01. Reason: Actual LinuxCNC was 2.9.2, not 2.9.1
Please Log in or Create an account to join the conversation.
11 Jan 2024 15:28 #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
(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 or Create an account to join the conversation.
- B.Reilly01
- Offline
- Premium Member
Less
More
- Posts: 158
- Thank you received: 23
11 Jan 2024 20:05 - 11 Jan 2024 20:13 #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
Last edit: 11 Jan 2024 20:13 by B.Reilly01.
Please Log in or Create an account to join the conversation.
12 Jan 2024 02:36 #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
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 or Create an account to join the conversation.
- B.Reilly01
- Offline
- Premium Member
Less
More
- Posts: 158
- Thank you received: 23
12 Jan 2024 02:54 #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 or Create an account to join the conversation.
- B.Reilly01
- Offline
- Premium Member
Less
More
- Posts: 158
- Thank you received: 23
05 Feb 2024 23:52 - 05 Feb 2024 23:56 #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...
Last edit: 05 Feb 2024 23:56 by B.Reilly01. Reason: 16gb ram, not 32
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 18789
- Thank you received: 6311
06 Feb 2024 00:57 #292602
by tommylight
Replied by tommylight on topic New micro PC problems
Disable "hyperthreading" in BIOS
Please Log in or Create an account to join the conversation.
06 Feb 2024 01:23 #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?
Also disable all power management, EIST, Turbo modes and Cstates >C1 in the BIOS
What ping time do you have?
Please Log in or Create an account to join the conversation.
- B.Reilly01
- Offline
- Premium Member
Less
More
- Posts: 158
- Thank you received: 23
06 Feb 2024 02:34 - 06 Feb 2024 02:42 #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
edit: Turning off multicore support did not help
Last edit: 06 Feb 2024 02:42 by B.Reilly01.
Please Log in or Create an account to join the conversation.
06 Feb 2024 02:57 #292610
by scotth
Replied by scotth on topic New micro PC problems
sudo ethtool -C eno1 rx-usecs 0
Try this.
Try this.
Please Log in or Create an account to join the conversation.
Time to create page: 0.301 seconds