Skip to contentSkip to conversation

About Xenomai test framework and publishing

Xenomai-core Bruno Rouchouse 2 participants 11 messages Nov 4, 2007 – Nov 6, 2007

lore
Share & tools
lore
#0 lore raw

Hi all,

FYI:

as I mentioned to Philippe yesterday, the initiative concerning Xenomai test framework and test campaign in order to publish results on our website is not dead! Unfortunately my Xenomai bandwidth is limited and it is not going very fast :/

I worked on it during the past few days and I am currently finishing implementing a quick and dirty tcl script that will allow to generate automatically gnuplot diagrams from the latency test results.

I am jointly working on another script to automatically determine static memory overhead induced by Xenomai. Nothing complicated, just a way to automate compilation process of a kernel with and without Xenomai to determine the overhead.

I plan to edit a wiki page soon in order to give some ideas about what this framework could be and also to summarize the different ideas that will hopefully be raised on the mailing list from discussions about this topic.

I will take the risk to make suggestions first to produce the first draft, you'll have the right to shoot when I'm finished ;)

I should be back within a week to give you some more news about it.

Cheers!

--
Bruno Rouchouse
[email protected]

#1 lore raw
Quoted 4 lines · Bruno Rouchouse

I am jointly working on another script to automatically determine static memory overhead induced by Xenomai. Nothing complicated, just a way to automate compilation process of a kernel with and without Xenomai to determine the overhead.

Some time ago, I wrote a script to compile Linux + Xenomai (using the --enable-linux-build option) for a variety of configurations, architectures and kernel versions. Maybe it can help ?

Signature · 1 line
                                               Gilles Chanteperdrix
#2 lore raw

Hi Gilles,

yes please, if you can send me your script, it would be great.

TIA.

--Bruno

2007/11/5, Gilles Chanteperdrix <[email protected]>:

Quoted 14 lines · Bruno Rouchouse
Quoted 4 lines

I am jointly working on another script to automatically determine static memory overhead induced by Xenomai. Nothing complicated, just a way to automate compilation process of a kernel with and without Xenomai to determine the overhead.

Some time ago, I wrote a script to compile Linux + Xenomai (using the --enable-linux-build option) for a variety of configurations, architectures and kernel versions. Maybe it can help ?

--
Gilles Chanteperdrix

#3 lore raw
Quoted 5 lines · Bruno Rouchouse

Hi Gilles,

yes please, if you can send me your script, it would be great.

TIA.

Here comes a tarball with the script (called bx/bin/bx2.sh) and an example configuration which you can untar in your home directory. Please be careful, do not mix the directories used by the script with other directories of yours since the script routinely removes the useless files (in order to avoid using too much space if you use it every night).

Signature · 1 line
                                               Gilles Chanteperdrix
#4 lore raw
Quoted 5 lines · Gilles Chanteperdrix
Quoted 4 lines · Bruno Rouchouse

Hi Gilles,

yes please, if you can send me your script, it would be great.

Quoted 8 lines
Quoted 1 line

TIA.

Here comes a tarball with the script (called bx/bin/bx2.sh) and an example configuration which you can untar in your home directory. Please be careful, do not mix the directories used by the script with other directories of yours since the script routinely removes the useless files (in order to avoid using too much space if you use it every night).

I am trying to run this script, so a few words of advice:
- the script parse the output of a few commands, so will not work properly if your linux is non-english. Add export LANG=C at the beginning of the script to avoid this issue;
- you will need gpg properly installed and configured with kernel.org signature imported for the script to verify kernel.org archives signatures. Once gpg is configured, importing kernel.org signature is easy:
gpg --keyserver wwwkeys.pgp.net --recv-keys 0x517D0F0E
- the script will spend a lot of time downloading kernel archives and patches when you run it, do not worry, this will happen only once.

Signature · 1 line
                                               Gilles Chanteperdrix
#5 lore raw
Quoted 15 lines · Gilles Chanteperdrix
Quoted 5 lines · Gilles Chanteperdrix
Quoted 4 lines · Bruno Rouchouse

Hi Gilles,

yes please, if you can send me your script, it would be great.

Quoted 8 lines
Quoted 1 line

TIA.

Here comes a tarball with the script (called bx/bin/bx2.sh) and an example configuration which you can untar in your home directory. Please be careful, do not mix the directories used by the script with other directories of yours since the script routinely removes the useless files (in order to avoid using too much space if you use it every night).

Quoted 11 lines

I am trying to run this script, so a few words of advice:
- the script parse the output of a few commands, so will not work properly if your linux is non-english. Add export LANG=C at the beginning of the script to avoid this issue;
- you will need gpg properly installed and configured with kernel.org signature imported for the script to verify kernel.org archives signatures. Once gpg is configured, importing kernel.org signature is easy:
gpg --keyserver wwwkeys.pgp.net --recv-keys 0x517D0F0E
- the script will spend a lot of time downloading kernel archives and patches when you run it, do not worry, this will happen only once.

Ok. The script needed some changes to work anew.
New version here:
http://sisyphus.hd.free.fr/~gilles/bx.tar.bz2

The scripts result, when run with the example configuration can be found here:
http://sisyphus.hd.free.fr/~gilles/bx

Signature · 1 line
					    Gilles Chanteperdrix.
#6 lore raw

Hi Gilles,

I did manage to start the script and get everything downloaded but nothing got compiled indeed.

I'll try again tonight with your updated version.

Thanks.

--Bruno

2007/11/6, Gilles Chanteperdrix <[email protected]>:

Quoted 42 lines
Quoted 15 lines · Gilles Chanteperdrix
Quoted 5 lines · Gilles Chanteperdrix
Quoted 4 lines · Bruno Rouchouse

Hi Gilles,

yes please, if you can send me your script, it would be great.

Quoted 8 lines
Quoted 1 line

TIA.

Here comes a tarball with the script (called bx/bin/bx2.sh) and an example configuration which you can untar in your home directory. Please be careful, do not mix the directories used by the script with other directories of yours since the script routinely removes the useless files (in order to avoid using too much space if you use it every night).

Quoted 11 lines

I am trying to run this script, so a few words of advice:
- the script parse the output of a few commands, so will not work properly if your linux is non-english. Add export LANG=C at the beginning of the script to avoid this issue;
- you will need gpg properly installed and configured with kernel.org signature imported for the script to verify kernel.org archives signatures. Once gpg is configured, importing kernel.org signature is easy:
gpg --keyserver wwwkeys.pgp.net --recv-keys 0x517D0F0E
- the script will spend a lot of time downloading kernel archives and patches when you run it, do not worry, this will happen only once.

Ok. The script needed some changes to work anew.
New version here:
http://sisyphus.hd.free.fr/~gilles/bx.tar.bz2

The scripts result, when run with the example configuration can be found here:
http://sisyphus.hd.free.fr/~gilles/bx

--

Gilles Chanteperdrix.

#7 lore raw
Quoted 8 lines · Bruno Rouchouse

Hi Gilles,

I did manage to start the script and get everything downloaded but nothing got compiled indeed.

I'll try again tonight with your updated version.

Thanks.

Note that if you want to compile i386 code on an x86_64, you will have some difficulties, you will need to define a pseudo cross-compilation script (say x86-32-gcc) which will simply contain:
gcc -m32 ${1+"$@"}

And call this script instead of gcc in the BX_CCS variable of the bx_config script of the apropriate configurations.

Signature · 1 line
                                               Gilles Chanteperdrix
#8 lore raw
In reply to Gilles Chanteperdrix

2007/11/6, Gilles Chanteperdrix <[email protected]>:

Quoted 29 lines
Quoted 15 lines · Gilles Chanteperdrix
Quoted 5 lines · Gilles Chanteperdrix
Quoted 4 lines · Bruno Rouchouse

Hi Gilles,

yes please, if you can send me your script, it would be great.

Quoted 8 lines
Quoted 1 line

TIA.

Here comes a tarball with the script (called bx/bin/bx2.sh) and an example configuration which you can untar in your home directory. Please be careful, do not mix the directories used by the script with other directories of yours since the script routinely removes the useless files (in order to avoid using too much space if you use it every night).

Quoted 11 lines

I am trying to run this script, so a few words of advice:
- the script parse the output of a few commands, so will not work properly if your linux is non-english. Add export LANG=C at the beginning of the script to avoid this issue;
- you will need gpg properly installed and configured with kernel.org signature imported for the script to verify kernel.org archives signatures. Once gpg is configured, importing kernel.org signature is easy:
gpg --keyserver wwwkeys.pgp.net --recv-keys 0x517D0F0E
- the script will spend a lot of time downloading kernel archives and patches when you run it, do not worry, this will happen only once.

Quoted 3 lines

Ok. The script needed some changes to work anew.
New version here:
http://sisyphus.hd.free.fr/~gilles/bx.tar.bz2

Oops ! Right access problem...
Forbidden You don't have permission to access /~gilles/bx.tar.bz2 on this server.

Can you correct it please.

TIA.

--Bruno

The scripts result, when run with the example configuration can be found

Quoted 8 lines

here:
http://sisyphus.hd.free.fr/~gilles/bx

--

Gilles Chanteperdrix.

#9 lore raw

Gilles,

don't pay attention to my previous email, I managed to download the file.

Thanks.

--Bruno

2007/11/6, Bruno Rouchouse <[email protected]>:

Quoted 62 lines

2007/11/6, Gilles Chanteperdrix <[email protected]>:

Quoted 31 lines
Quoted 1 line · Gilles Chanteperdrix

On 11/5/07, Gilles Chanteperdrix <[email protected]>

Quoted 10 lines · wrote:
Quoted 10 lines · Bruno Rouchouse
Quoted 5 lines

Hi Gilles,

yes please, if you can send me your script, it would be great.

TIA.

Here comes a tarball with the script (called bx/bin/bx2.sh) and an example configuration which you can untar in your home directory. Please be careful, do not mix the directories used by the script

with

Quoted 4 lines
Quoted 3 lines

other directories of yours since the script routinely removes the useless files (in order to avoid using too much space if you use it every night).

Quoted 11 lines

I am trying to run this script, so a few words of advice:
- the script parse the output of a few commands, so will not work properly if your linux is non-english. Add export LANG=C at the beginning of the script to avoid this issue;
- you will need gpg properly installed and configured with kernel.org signature imported for the script to verify kernel.org archives signatures. Once gpg is configured, importing kernel.org signature is easy:
gpg --keyserver wwwkeys.pgp.net --recv-keys 0x517D0F0E
- the script will spend a lot of time downloading kernel archives and patches when you run it, do not worry, this will happen only once.

Quoted 4 lines

Ok. The script needed some changes to work anew.
New version here:
http://sisyphus.hd.free.fr/~gilles/bx.tar.bz2
<http://sisyphus.hd.free.fr/%7Egilles/bx.tar.bz2>

Oops ! Right access problem...
Forbidden You don't have permission to access /~gilles/bx.tar.bz2 on this server.

Can you correct it please.

TIA.

--Bruno

The scripts result, when run with the example configuration can be found

Quoted 8 lines

here:
http://sisyphus.hd.free.fr/~gilles/bx<http://sisyphus.hd.free.fr/%7Egilles/bx>

--

Gilles Chanteperdrix.

#10 lore raw
Quoted 5 lines · Bruno Rouchouse

Gilles,

don't pay attention to my previous email, I managed to download the file.

Thanks.

In case it matters I have done a chmod a+r

Signature · 1 line
                                               Gilles Chanteperdrix