Which kernel version is best for real time?
- DarkPhoinix
- Offline
- Premium Member
-
Less
More
- Posts: 98
- Thank you received: 6
12 May 2025 15:55 #328283
by DarkPhoinix
Yes PCW, is the same Realtek with dkms driver for fix latency.
Maybe I'm asking the wrong question: is it really necessary to do the test with YouTube?
Replied by DarkPhoinix on topic Which kernel version is best for real time?
Do you have a Ethernet connected motion device?
If so, the latency test is relatively useless for determining the actual
LinuxCNC latency.
A simple ping test is much more informative:
sudo chrt 99 ping -i .001 -q -c 60000 [Device_IP]
(will run 1 minute and print out timing statistics)
Where device _IP is the IP address of your Ethernet motion control interface.
Yes PCW, is the same Realtek with dkms driver for fix latency.
Maybe I'm asking the wrong question: is it really necessary to do the test with YouTube?
Please Log in or Create an account to join the conversation.
- langdons
- Offline
- Platinum Member
-
Less
More
- Posts: 342
- Thank you received: 34
12 May 2025 16:06 #328285
by langdons
Replied by langdons on topic Which kernel version is best for real time?
Did ya set the governor to performance?
Try to remove unnecessary hardware.
blacklist kernel modules of unneeded devices.
Mask and disable unneeded services.
Ensure you have plenty of RAM; disk I/O should be avoided as much as possible.
Caching and buffering will reduce disk I/O and latency, but requires ample free RAM.
Try to remove unnecessary hardware.
blacklist kernel modules of unneeded devices.
Mask and disable unneeded services.
Ensure you have plenty of RAM; disk I/O should be avoided as much as possible.
Caching and buffering will reduce disk I/O and latency, but requires ample free RAM.
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18577
- Thank you received: 5106
12 May 2025 16:50 #328289
by PCW
Replied by PCW on topic Which kernel version is best for real time?
Yes PCW, is the same Realtek with dkms driver for fix latency.
Maybe I'm asking the wrong question: is it really necessary to do the test with YouTube?
When you get an error, what does:
halcmd show param *.tmax
(typed in a terminal)
show?
Maybe I'm asking the wrong question: is it really necessary to do the test with YouTube?
When you get an error, what does:
halcmd show param *.tmax
(typed in a terminal)
show?
Please Log in or Create an account to join the conversation.
- langdons
- Offline
- Platinum Member
-
Less
More
- Posts: 342
- Thank you received: 34
12 May 2025 17:13 #328292
by langdons
Replied by langdons on topic Which kernel version is best for real time?
Do you need the Realtek card?
Physically remove all unneeded hardware.
Try disabling all power-saving features you can.
./remove_all
Physically remove all unneeded hardware.
Try disabling all power-saving features you can.
./remove_all
Please Log in or Create an account to join the conversation.
- DarkPhoinix
- Offline
- Premium Member
-
Less
More
- Posts: 98
- Thank you received: 6
12 May 2025 19:07 #328303
by DarkPhoinix
next youtube video start i take junction error.
Replied by DarkPhoinix on topic Which kernel version is best for real time?
Yes PCW, is the same Realtek with dkms driver for fix latency.
Maybe I'm asking the wrong question: is it really necessary to do the test with YouTube?
When you get an error, what does:
halcmd show param *.tmax
(typed in a terminal)
show?
next youtube video start i take junction error.
Attachments:
Please Log in or Create an account to join the conversation.
- DarkPhoinix
- Offline
- Premium Member
-
Less
More
- Posts: 98
- Thank you received: 6
12 May 2025 19:09 #328304
by DarkPhoinix
Replied by DarkPhoinix on topic Which kernel version is best for real time?
need more of 8Gb ? i need desolder realtek from my motherboard?Did ya set the governor to performance?
Try to remove unnecessary hardware.
blacklist kernel modules of unneeded devices.
Mask and disable unneeded services.
Ensure you have plenty of RAM; disk I/O should be avoided as much as possible.
Caching and buffering will reduce disk I/O and latency, but requires ample free RAM.
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18577
- Thank you received: 5106
12 May 2025 22:23 #328319
by PCW
Replied by PCW on topic Which kernel version is best for real time?
When you get an error, what does:
halcmd show param *.tmax
(typed in a terminal)
show?
This will help determine where the fault lies
halcmd show param *.tmax
(typed in a terminal)
show?
This will help determine where the fault lies
The following user(s) said Thank You: DarkPhoinix
Please Log in or Create an account to join the conversation.
- langdons
- Offline
- Platinum Member
-
Less
More
- Posts: 342
- Thank you received: 34
12 May 2025 23:03 #328324
by langdons
Replied by langdons on topic Which kernel version is best for real time?
Whoa!
Don't desolder stuff!
You said Realtek card, not Realtek chip!
Cards are easily removeable, chips generally are not.
Don't mess with the motherboard.
Don't desolder stuff!
You said Realtek card, not Realtek chip!
Cards are easily removeable, chips generally are not.
Don't mess with the motherboard.
Please Log in or Create an account to join the conversation.
- langdons
- Offline
- Platinum Member
-
Less
More
- Posts: 342
- Thank you received: 34
12 May 2025 23:05 #328325
by langdons
Replied by langdons on topic Which kernel version is best for real time?
8GB of dual channel ≥1333MHz RAM is fine.
Just making sure you're not trying to get by with like 2GB.
Just making sure you're not trying to get by with like 2GB.
The following user(s) said Thank You: DarkPhoinix
Please Log in or Create an account to join the conversation.
- DarkPhoinix
- Offline
- Premium Member
-
Less
More
- Posts: 98
- Thank you received: 6
13 May 2025 13:42 #328377
by DarkPhoinix
Thanks for help
Replied by DarkPhoinix on topic Which kernel version is best for real time?
Warning: Spoiler!When you get an error, what does: halcmd show param *.tmax (typed in a terminal) show? This will help determine where the fault lies
halcmd show param *.tmax
Parameters:
Owner Type Dir Value Name
41 s32 RW 14985 encoder.capture-position.tmax
41 s32 RW 19158 encoder.update-counters.tmax
29 s32 RW 54482 motion-command-handler.tmax
29 s32 RW 108007 motion-controller.tmax
38 s32 RW 48125 nvmpg.update.tmax
33 s32 RW 16640759 remora.read.tmax
33 s32 RW 23424 remora.update-freq.tmax
33 s32 RW 14829214 remora.write.tmax
30 s32 RW 19134687 servo-thread.tmax
Thanks for help
Please Log in or Create an account to join the conversation.
Time to create page: 0.112 seconds