From: Jack Lee Message-ID: <1cd6ace8-e63d-dd46-4ec9-8e636ef5b43c@foxmail.com> Date: Thu, 22 Sep 2016 14:43:07 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Xenomai] Real-time Performance Improvement List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai Hi, everyone, My board is advantech MIO-5251 (J1900 version), linux kernel version is 4.1.18, xenomai version is 3.0.3. As mentioned before, the real-time performance I got was not good. But I found something here: http://rtt-lwr.readthedocs.io/en/latest/rtpc/xenomai.html. After "i915.enable_rc6=0 i915.modset=1 noapic" was added to the kernel command line, the real-time performance improved a lot, which means latency tests (-t0, t1, t2) has no overruns (less than 80us) in 13+ hours, but when other real-time applications was running, overruns occurred sometimes. I found that "intel_powerclamp" "intel_rapl" was in the "lsmod" list. After I removed them, real-time performance of the system is quite good now. I found configs below exist in the original .config file, except "CONFIG_CPU_THERMAL". These configs do not appear on the official website as far as I know. Is it necessary to disable them to improve real-time performance? Generic Thermal sysfs driver CONFIG_THERMAL Fair-share thermal governor CONFIG_THERMAL_GOV_FAIR_SHARE Step_wise thermal governor CONFIG_THERMAL_GOV_STEP_WISE User_space thermal governor CONFIG_THERMAL_GOV_USER_SPACE generic cpu cooling support CONFIG_CPU_THERMAL(n) Thermal emulation mode support CONFIG_THERMAL_EMULATION Intel PowerClamp idle injection driver CONFIG_INTEL_POWERCLAMP By the way, I found my two Ethernet cards and the can board have the same interrupt number.I removed the igb module. Is it possible to assign interrupt numbers manuallly? When I started from different kernels, the number is not the same. Good luck!