From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <52F4E641.1080506@xenomai.org> Date: Fri, 07 Feb 2014 14:57:21 +0100 From: Philippe Gerum MIME-Version: 1.0 References: <52F3B77F.3020405@marel.com> <52F3C5DD.8010208@xenomai.org> <52F3DBDB.4060805@xenomai.org> <52F49F07.9040801@xenomai.org> <52F4E084.3020809@marel.com> In-Reply-To: <52F4E084.3020809@marel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] High CPU load using q_send under pSOS skin List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marcel van Mierlo , Gilles Chanteperdrix Cc: xenomai@xenomai.org On 02/07/2014 02:32 PM, Marcel van Mierlo wrote: > - I cant see how to set T_WARNSW using the pSOS skin. > - I get warning that "T_FPU" redefined when including native/task.h > and psos+/psos.h > - If I hack the mask by using "0x00040000" explicitly I get > SIGXCPU: CPU time limit exceeded when calling rt_task_set_mode at runtime. At first sight, qsend() in your test case seems to trigger a migration to linux mode, that might explain (part of) the overhead. Use t_mode(0, T_TRAPSW, &oldmode) to enable SIGXCPU. -- Philippe.