* [Xenomai-help] SMP issues
@ 2008-11-25 14:49 Cédric Schaffter
2008-11-25 14:52 ` Gilles Chanteperdrix
0 siblings, 1 reply; 5+ messages in thread
From: Cédric Schaffter @ 2008-11-25 14:49 UTC (permalink / raw)
To: xenomai@xenomai.org
Hi List!
I'm trying to compare Xenomai performances with and without SMP on my
Intel Core 2 duo.
So I built the linux kernel 2.6.25.11 (as described here :
http://xenomai.org/index.php/Xenomai_quick_build_quide),
and I disabled the SMP support.
When I used dmesg and as I wanted, only one processor was activated... I
performed some tests, increasing tasks
number and also their complexity...
And then, I rebuilt the kernel and specified SMP support and the dmesg
command informed me that I have two
processors working. I launched the same applications that I used to test
one core.
But the problem is that I get same results in both case... I thought
tasks were automatically dispatched between
cores or cpu. Did I forget something?
Best regards,
Cédric
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-help] SMP issues
2008-11-25 14:49 [Xenomai-help] SMP issues Cédric Schaffter
@ 2008-11-25 14:52 ` Gilles Chanteperdrix
[not found] ` <492C1206.2030009@domain.hid>
0 siblings, 1 reply; 5+ messages in thread
From: Gilles Chanteperdrix @ 2008-11-25 14:52 UTC (permalink / raw)
To: Cédric Schaffter; +Cc: xenomai@xenomai.org
Cédric Schaffter wrote:
> But the problem is that I get same results in both case... I thought
> tasks were automatically dispatched between
> cores or cpu. Did I forget something?
Linux does that. With xenomai, tasks never migrate, choosing what task
runs on what processor is part of the design of your application.
Migrations kill determinism.
--
Gilles.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-help] SMP issues
[not found] ` <492C1206.2030009@domain.hid>
@ 2008-11-25 14:59 ` Cédric Schaffter
2008-12-18 11:15 ` [Xenomai-help] Window Resize issue stefano.franzoni
0 siblings, 1 reply; 5+ messages in thread
From: Cédric Schaffter @ 2008-11-25 14:59 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai@xenomai.org
Cédric Schaffter a écrit :
> Gilles Chanteperdrix a écrit :
>> Cédric Schaffter wrote:
>>
>>> But the problem is that I get same results in both case... I thought
>>> tasks were automatically dispatched between
>>> cores or cpu. Did I forget something?
>>>
>>
>> Linux does that. With xenomai, tasks never migrate, choosing what task
>> runs on what processor is part of the design of your application.
>> Migrations kill determinism.
>>
>>
> So I have to specify which task runs on which core, using the flag
> T_CPU(x) during the task creation?
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Xenomai-help] Window Resize issue
2008-11-25 14:59 ` Cédric Schaffter
@ 2008-12-18 11:15 ` stefano.franzoni
2008-12-18 11:58 ` Gilles Chanteperdrix
0 siblings, 1 reply; 5+ messages in thread
From: stefano.franzoni @ 2008-12-18 11:15 UTC (permalink / raw)
To: xenomai@xenomai.org
Dear experts
we have 2 systems with Ubuntu Linux 2.6.25.11 and Xenomai 2.4.4.
One has an Intel(R) Pentium(R) M processor 1.73GHz and the other one has
Pentium III (Coppermine) 1GHz.
The Xenomai installation seems to be ok and also native application tests
give right results.
The issue, on both the systems, is that if I run, for example,
trivial-periodic sample in a windows and I resize the window the rt task
aborts and the application exits.
Any suggestion?
Thanks in advance
Stefano
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-help] Window Resize issue
2008-12-18 11:15 ` [Xenomai-help] Window Resize issue stefano.franzoni
@ 2008-12-18 11:58 ` Gilles Chanteperdrix
0 siblings, 0 replies; 5+ messages in thread
From: Gilles Chanteperdrix @ 2008-12-18 11:58 UTC (permalink / raw)
To: stefano.franzoni; +Cc: xenomai@xenomai.org
stefano.franzoni@domain.hid wrote:
> Dear experts
>
> we have 2 systems with Ubuntu Linux 2.6.25.11 and Xenomai 2.4.4.
>
> One has an Intel(R) Pentium(R) M processor 1.73GHz and the other one has
> Pentium III (Coppermine) 1GHz.
> The Xenomai installation seems to be ok and also native application tests
> give right results.
>
> The issue, on both the systems, is that if I run, for example,
> trivial-periodic sample in a windows and I resize the window the rt task
> aborts and the application exits.
>
> Any suggestion?
When resizing a terminal, the SIGWINCH signal is sent to the running
application. Unfortunately, SIGWINCH is also used internally by Xenomai.
A simple workaround is to recompile Xenomai to use another signal by
replacing the define in asm-generic/syscall.h. However, your choices are
limited if you want a signal that does not interfere with gdb.
--
Gilles.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-12-18 11:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-25 14:49 [Xenomai-help] SMP issues Cédric Schaffter
2008-11-25 14:52 ` Gilles Chanteperdrix
[not found] ` <492C1206.2030009@domain.hid>
2008-11-25 14:59 ` Cédric Schaffter
2008-12-18 11:15 ` [Xenomai-help] Window Resize issue stefano.franzoni
2008-12-18 11:58 ` Gilles Chanteperdrix
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.