motherboard for linuxcnc uspace + mesa 7i80hd

More
29 Aug 2018 08:49 - 29 Aug 2018 09:04 #116765 by vre
Ok i have installed 4.18-rc8 and mobo works now
but the jitter is not good..
150us for base thread
50us for servo thread

Is this usable with mesa hardware ?
Last edit: 29 Aug 2018 09:04 by vre.

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

More
29 Aug 2018 13:49 - 29 Aug 2018 13:49 #116771 by PCW
Often on slower CPUs with Preempt-RT, the default base thread frequency (40 KHz) of the latency test and latency histogram is too fast for the CPU to service.

Since Mesa cards do need a base thread, you can get better data with a servo thread only test, say:

latency-histogram --nobase --sbinsize
Last edit: 29 Aug 2018 13:49 by PCW.

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

More
29 Aug 2018 14:21 #116772 by vre
here is latency-histogram --nobase --sbinsize
with 5 glxgears running and 1 youtube open
Attachments:

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

More
29 Aug 2018 16:22 #116783 by PCW
forgot to include the sbinsize, really meant

latency-histogram --nobase --sbinsize 500

80 usec is probably OK and there may be a couple things that you can do to reduce the latency:

Disable all power saving/speed switching options in the BIOS

add idle=poll in the kernel command line

Try various isolcpus settings in the kernel command line

sometimes isolcpus helps sometime not...

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

More
29 Aug 2018 17:26 #116796 by vre
after 2 hours the jitter is very much is unusable with this jitter
Attachments:

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

More
29 Aug 2018 17:34 #116799 by PCW
Did you disable all power management/speed switching in the BIOS?

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

More
29 Aug 2018 18:19 - 30 Aug 2018 11:17 #116803 by vre
I have disabled now and run again the tests.
I will wait to see tomorrow the jitter.

I have the same results with disabled power managment in uefi

I have removed now a bluetooth keyboard to see if the bluetooth is the problem.
No the problem remains is not the power managment and bluetooth

I have tried many things (power managment-c states-boost disable/irqbalance uninstall/isolcpus=1 and some more) but jitter after some hours of operation with 10 glxgears goes to 900us.

What to do ? Throw to the bin ?
I never had these problems with rtai kernels with rt-preemt almost all pcs that i have tried have problem.
Attachments:
Last edit: 30 Aug 2018 11:17 by vre.

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

More
30 Aug 2018 19:55 - 30 Aug 2018 20:36 #116886 by vre
I have tested the 4.9 rt preempt that comes with stretch and the jitter
is 32us.So the new kernel 4.18 rt preempt is the problem.
But my gpu works only with 4.18...

Can you give your .config for 4.18.5 rt preempt ?
Last edit: 30 Aug 2018 20:36 by vre.

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

More
30 Aug 2018 21:32 #116890 by PCW
Here's my .config file
Attachments:
The following user(s) said Thank You: vre

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

More
31 Aug 2018 18:35 - 01 Sep 2018 22:47 #116924 by vre
With this config i have -94us to 94us after 12 hours of stress test.
I think problem solved.
Last edit: 01 Sep 2018 22:47 by vre.

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

Time to create page: 0.394 seconds
Powered by Kunena Forum