From: Alexander Frolov Subject: Xenomai with isolcpus and workqueue task Message-ID: Date: Sat, 11 Jul 2020 17:25:48 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Hi all! I am using Xenomai 3.1 with 4.19.124 I-pipe patchon a smp motherboard.=C2= =A0=20 For my RT task I allocate few CPU cores with isolcpus option. However, large latency spikes are noticed due to=20 igb watchdog activities (I am using common igb driver, not rt_igb). Looking into igb sources, it was understood that workqueue is used for=20 some tasks (afaiu, it is used to link status monitoring) from igb_main.c ... =C2=A0 INIT_WORK(&adapter->reset_task, igb_reset_task); =C2=A0 INIT_WORK(&adapter->watchdog_task, igb_watchdog_task); ... The Linux kernel scheduler runs this igb activities on isolated CPUs=20 disregarding isolcpus option, ruining real-time system behavior. So the question, is it a correct way to use normal igb on Xenomai at all=20 or it is not recommended? What can be done to prohibit Linux scheduler to allocate those tasks on isolated cores? Thank you! Best, =C2=A0=C2=A0 Alex