[Xenomai-help] Understanding the output of hackbench when run together with xeno-test

2012-04-17 Thread Anisha Kaul
Greetings,

The hackbench command I issued is as follows: ___

/usr/xenomai/bin/xeno-test -l dohell -b ./hackbench -pipe 100 process 100

The end result of the same was:
___
...
Started child 8805: dohell -b ./hackbench -pipe 100 process 100
Started child 8806: /usr/xenomai/bin/latency
/usr/xenomai/bin/dohell [ -b path ] [ -s server ] [ -p port ] [ -m
mntpoint ] [ -l path | seconds ]

Generate load, using an assorted set of commands and optionnaly:
- hackbench if the path to the hackbench binary is specified with -b;
- nc to send TCP data to server port port if -s is specified (if -p
is not specified, the port 9, aka discard is used);
- dd to write data under mntpoint if -m is specified.

during the runtime of the LTP test if the path to the LTP installation
directory is specifed with -l or during seconds seconds.
== Sampling period: 100 us
== Test mode: periodic user-mode task
== All results in microseconds
warming up...
Load script terminated, terminating checked scripts
---|---|---|---||--|-
RTS|   3574.877|  0.000|  -3574.878|   0| 0|00:00:-01/00:00:-01

___

The last `Residual Time Stamp` table doesn't have the headings. How do
I know what do each of the numbers represent?
Secondly, does `hackbench` when run along with xeno-test runs all its
processes within the real time?


Please guide.
-Anisha

___
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help


Re: [Xenomai-help] Understanding the output of hackbench when run together with xeno-test

2012-04-17 Thread Gilles Chanteperdrix
On 04/17/2012 01:11 PM, Anisha Kaul wrote:
 Greetings,
 
 The hackbench command I issued is as follows: ___
 
 /usr/xenomai/bin/xeno-test -l dohell -b ./hackbench -pipe 100 process 100

You do not use dohell properly. The syntax for running dohell is
detailed below

 /usr/xenomai/bin/dohell [ -b path ] [ -s server ] [ -p port ] [ -m
 mntpoint ] [ -l path | seconds ]
 
 Generate load, using an assorted set of commands and optionnaly:
 - hackbench if the path to the hackbench binary is specified with -b;
 - nc to send TCP data to server port port if -s is specified (if -p
 is not specified, the port 9, aka discard is used);
 - dd to write data under mntpoint if -m is specified.
 
 during the runtime of the LTP test if the path to the LTP installation
 directory is specifed with -l or during seconds seconds.

-- 
Gilles.

___
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help


Re: [Xenomai-help] Understanding the output of hackbench when run together with xeno-test

2012-04-17 Thread Gilles Chanteperdrix
On 04/17/2012 01:30 PM, Gilles Chanteperdrix wrote:
 On 04/17/2012 01:11 PM, Anisha Kaul wrote:
 Greetings,

 The hackbench command I issued is as follows: ___

 /usr/xenomai/bin/xeno-test -l dohell -b ./hackbench -pipe 100 process 100
 
 You do not use dohell properly. The syntax for running dohell is
 detailed below
 
 /usr/xenomai/bin/dohell [ -b path ] [ -s server ] [ -p port ] [ -m
 mntpoint ] [ -l path | seconds ]

 Generate load, using an assorted set of commands and optionnaly:
 - hackbench if the path to the hackbench binary is specified with -b;
 - nc to send TCP data to server port port if -s is specified (if -p
 is not specified, the port 9, aka discard is used);
 - dd to write data under mntpoint if -m is specified.

 during the runtime of the LTP test if the path to the LTP installation
 directory is specifed with -l or during seconds seconds.
 

Ok, it is not clear: but you need to pass a duration if you do not pass
the patch to LTP, which means either the -l path or seconds argument
is mandatory.

-- 
Gilles.

___
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help


Re: [Xenomai-help] Real-time printf in Xenomai 2.6.0

2012-04-17 Thread Jeff Webb

On 04/15/2012 12:42 PM, Gilles Chanteperdrix wrote:

On 02/24/2012 12:07 AM, Jeff Webb wrote:

On 02/23/2012 04:26 PM, Gilles Chanteperdrix wrote:

On 02/23/2012 11:02 PM, Jeff Webb wrote:

I was happy to see that printf now works from real-time POSIX
threads in Xenomai 2.6.0.  Unfortunately, I'm seeing some strange
behavior that surfaces when I try to print the string \n by
itself.  When I run the attached example program, I get:

$ ./printf_test start CPU time limit exceeded $

IfI replace the two printf calls with rt_printf calls and
#includertdk.h,I get the expected result:

$ ./rt_printf_test start 1 2 3 4 ^C $

The original example also works if these two lines:

printf(%d, count); printf(\n);

are replaced with:

printf(%d\n, count);

Can someone confirm if this a bug in Xenomai 2.6.0, something
specific to my HW/SW installation, or some mistake in my test
program?


I would bet the call to printf is replaced with something else
(such as putchar). Could you disassemble the test to check this?


Yes, it appears that putchar is called indeed.


Note that I have fixed similar issues in xenomai-2.6 current
repository, so you could give it a try.


I may give that a try.  Now that I have confirmed that putchar is the
issue, do you think xenomai-2.6 current will fix the problem?  Is
putchar now wrapped as well?  I noticed that puts appears to be
wrapped from the disassembly output.


It should now be fixed in xenomai-2.6 repository.



Thanks for following up, Gilles.

-Jeff

___
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help


[Xenomai-help] Can't use interrupt after adeos patch

2012-04-17 Thread hustgongchen
Hi everyone:
I use linux kernel 2.6.33 and xenomai 2.5.3 to build my rt-embedded system 
based on S3c2440,
but i found I can't use interrupt after put the adeos patch to linux kernel.The 
system crashes once
 I insert a USB device to it or receive a ethernet packet(the net card i use is 
CS8900).
Because even i didn't build xenomai into kernel , the system still crashed 
once received a 
hardware interrupt so i guess the problem is about adeos patch.Is there any bug 
with 
adeos-ipipe-2.6.33-arm-1.16-01.patch?
Thank you very much !
 gongchen




hustgongchen___
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help