Reducing latency on multicore pc's - Success!

More
7 years 2 days ago - 7 years 2 days ago #149070 by Samuelx
Replied by Samuelx on topic Reducing latency on multicore pc's - Success!
I had bad latency 200+

Thank you for your advise. Now its 30.
I am happy
Dell 755 intel core a duo 2,4ghz
2gb ram
integrated video card
I also modified /etc/default/grub


GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=1 acpi_irq_nobalance noirqbalance nohlt idle=poll radeon.modeset=0"




10 X glxgears and youtube playing video
Last edit: 7 years 2 days ago by Samuelx.
More
7 years 2 days ago #149076 by toplakd
Replied by toplakd on topic Reducing latency on multicore pc's - Success!
You can also try adding this together with isolcpus:
intel_idle.max_cstate=0 processor.max_cstate=0 idle=poll

as described here:
wiki.linuxcnc.org/cgi-bin/wiki.pl?RealTime
More
7 years 2 hours ago #149354 by andypugh
Replied by andypugh on topic Reducing latency on multicore pc's - Success!
30 is good, there is no point trying for any better. Especially as it might reduce non-realtime performance.
More
6 years 11 months ago - 6 years 11 months ago #149541 by Samuelx
Replied by Samuelx on topic Reducing latency on multicore pc's - Success!
Orginaly it was integrated graphic card, I change the graphic card to AMD radeon HD 8570 1GB DDR3 and latency jumped. Ther might be driever problem. any suggestions what to do?
Last edit: 6 years 11 months ago by Samuelx.
More
6 years 11 months ago #149704 by andypugh
Replied by andypugh on topic Reducing latency on multicore pc's - Success!
Go back to onboard graphics?
More
5 years 4 weeks ago - 5 years 4 weeks ago #221980 by RDA
Hello,

So I got myself a 19" panel pc and wanted to try out linuxcnc on it. Thanks for the easy instructions I managed to get it running (simulation). I then started playing around wit the latency test, my first set of 6 x glxgears gave me a bit over 400k jitter as a result, not too shabby.
My panel pc is running on:
Intel Core i3-7100U
4Gb RAM
MSI model: MS-98H3
Intel HD Graphics 620

So a startpoint of over 400k I first set the GOVERNOR from powersave to performance. This took the jitter to a bit under 200k, so half of what it was. Next think I did was disable hyperthreading from bios and jitter dropped to about 160k, last was isolcpu and im now at around 120k.
So the biggest thing for sure was the power save and then hyperthreading and isolcpu both contributed roughly the same amount.

Are there any more easy tricks? I tired playing around with videocard memory sizes in bios but those didnt have that much of an effect.

I also assume using something like a Mesa for driving motors helps quite a bit as the fast switching is moved to the FPGA?

Any way to narrow down whats the actual bottleneck?
Last edit: 5 years 4 weeks ago by RDA.
Time to create page: 0.508 seconds
Powered by Kunena Forum