Skip to contentSkip to conversation

_Xenomai_latency_test_not_good

DISCUSSION Kevin 1 participant 1 message Sep 16, 2019

lore
Share & tools
lore

Kevin

author
#0 lore raw

Dear Jan:
These days, I am still trying Xenomai v3.0.5 on my J1900(Ubuntu 16.04 desktop,kernel v4.9.38)hardware,and I found these results:
1.when I run the latency test without video driver,just run in level 3,for about 136 hours,the worst value:22us;2.when I run the latency test with video driver,such as with web-browsing,the worst value soon goes high to about 200us;
I have tried two different types of J1900 hardare,they all used AMI BIOS,and they have the same result.
Because the project really needs a desktop window,so I have to find a solution for this. Maybe some of the Intel video driver is not really preemptible,but I have to find out which one break down the realtime system,and find a alternative solution for it,such as using framebuffer(the graphic is not highly used). So could you kindly guide me,what can I do next?--------------------------------

Best regards
Kevin

----- Original Message -----
From: Jan Kiszka <[email protected]>
To: [email protected], xenomai <[email protected]>
Subject: Re: 回复:Re: 回复:Re: 回复:Re:_Xenomai_latency_test_not_good
Date: 2019-09-09 21:56

Quoted 6 lines · 鲁克文

Dear Jan:

For the graphic thing, our system really needs graphic, it could not be removed. Otherwise, I saw articles that someone got very low latency also in some X86 ubuntu-desktop version, so I wonder whether the graphic is the key factor to the realtime system.

Every system is different. And graphic != graphic (only framebuffer, GPU acceleration etc.).

Quoted 4 lines

For your second point: "Try that with a vanilla kernel on your hardware." You mean I can use the hardware latency detector to test my kernel?

The hardware latency detector tests the hardware. But this feature is not supported by the I-pipe kernel, therefore use a vanilla one. Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux