From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] kvm freeze with ipipe patch for kernel 3.x
Date: Sun, 03 Mar 2013 10:00:19 +0100 [thread overview]
Message-ID: <51331123.9070800@xenomai.org> (raw)
In-Reply-To: <51330EB1.9030801@web.de>
On 03/03/2013 09:49 AM, Jan Kiszka wrote:
> On 2013-03-02 15:41, Gilles Chanteperdrix wrote:
>> On 03/02/2013 03:38 PM, Jan Kiszka wrote:
>>
>>> On 2013-03-02 15:20, Gilles Chanteperdrix wrote:
>>>> On 03/02/2013 12:12 PM, Jan Kiszka wrote:
>>>>
>>>>> On 2013-03-02 12:01, Gilles Chanteperdrix wrote:
>>>>>> On 03/02/2013 09:17 AM, Jan Kiszka wrote:
>>>>>>
>>>>>>> On 2013-03-02 01:47, Gabriele Moabiti wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>> ----- Messaggio originale -----
>>>>>>>>
>>>>>>>> Da: Jan Kiszka <jan.kiszka@siemens.com>
>>>>>>>> On 2013-03-01 18:09, Jan Kiszka wrote:
>>>>>>>>> There is more broken, even in latest stable 3.5.7. See the patches at
>>>>>>>>> [1] for a tested version. Unfortunately, I cannot update my tree for 3.8
>>>>>>>>> ATM as git services seem to be down on xenomai.org.
>>>>>>>>
>>>>>>>> Does this and other important patches will be backported to 3.2?
>>>>>>>
>>>>>>> I'm planning to get them merged into 3.8 first of all, maybe also into
>>>>>>> 3.5 (as this is our current production baseline). No plans exist beyond
>>>>>>> that. I'd rather like to leave older kernels alone to reduce maintenance
>>>>>>> efforts (porting is simple, proper testing takes time).
>>>>>>>
>>>>>>> Also note that 3.2 is lacking much more critical fixes than those few
>>>>>>> around KVM. IOW: Don't use it for anything serious with x86.
>>>>>>
>>>>>>
>>>>>> Maybe reverting the mprotect/ipipe_pin_vma patches in the 3.2 branch, so
>>>>>> as to avoid the zero page corruption, but take some faults sometimes
>>>>>> would be a simple, feasible solution? 3.2 seems to have been chosen as a
>>>>>> long term stable branch.
>>>>>
>>>>> Again, the problem is not writing the patches
>>>>
>>>>
>>>> It is easy to forget a patch when (back)porting patches from an I-pipe
>>>> to the other.
>>>>
>>>>> but testing all the stuff
>>>>> in all necessary combinations.
>>>>
>>>>
>>>> I can test 4 combinations at once: i686 UP, i686 SMP and x86_64 (UP or
>>>> SMP), this leaves only one combination to test.
>>>
>>> That's a small subset of the relevant variation. They come with enabling
>>> different config options or using certain features. Do you have a test
>>> setup for KVM on I-pipe e.g.? I'm not saying we catch them all with the
>>> development head, but adding more versions to the test matrix doesn't
>>> make it better.
>>
>>
>> I man 3, not 4 combinations. Anyway, I naïvely test with only one
>> .config, which recently switched from embedded like minimal kernel to
>> debian like config. Do you have a list of the options combinations which
>> necessitate separate tests?
>
> I-pipe/Xenomai on/off,
That is 3 cases. But we can not really run xeno-regression-test with
Xenomai off. So, maybe a build-test for CONFIG_IPIPE alone and
CONFIG_IPIPE off would be enough?
> TSC/APIC on/off,
I do not think it really matters with TSC/APIC off. We have much worse
latencies with TSC off, due to the fact that we read the TSC often,
especially with stats enabled, and nobody complained (more exactly, some
people complained a long time ago, then discovered they had a tsc,
enabled it, then stopped complaining). The point is, if nobody noticed
it, it probably means that nobody uses it.
> instrumentations and tracers
> should be on for correctness checks, but not when comparing benchmark
> numbers.
It means we have to run xeno-regression-test with instrumentation on
Then xeno-test without instrumentation.
> I'm not sure about CONFIG_PREEMPT on/off.
I routinely use CONFIG_PREEMPT off on ARM, to achieve the best
latencies, but since it involves code in assembly, it has to be tested,
on each platform.
I also noticed that turning off CONFIG_HIGH_RES reduces latencies, and
it certainly involves different code paths in the I-pipe.
> Long-term, we will
> also have to test IPIPE_LEGACY on/off.
At this point we do not really care to test anything else than the
latest patch on -forge, or we do?
--
Gilles.
next prev parent reply other threads:[~2013-03-03 9:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-01 15:33 [Xenomai] kvm freeze with ipipe patch for kernel 3.x Gabriele Moabiti
2013-03-01 17:09 ` Jan Kiszka
2013-03-01 17:35 ` Jan Kiszka
2013-03-02 0:47 ` Gabriele Moabiti
2013-03-02 8:17 ` Jan Kiszka
2013-03-02 11:01 ` Gilles Chanteperdrix
2013-03-02 11:12 ` Jan Kiszka
2013-03-02 14:20 ` Gilles Chanteperdrix
2013-03-02 14:38 ` Jan Kiszka
2013-03-02 14:41 ` Gilles Chanteperdrix
2013-03-03 8:49 ` Jan Kiszka
2013-03-03 9:00 ` Gilles Chanteperdrix [this message]
2013-03-03 21:15 ` Gabriele Moabiti
2013-03-04 11:59 ` Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51331123.9070800@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=jan.kiszka@web.de \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.