* [Xenomai-help] Understanding the output of hackbench when run together with xeno-test
@ 2012-04-17 11:11 Anisha Kaul
2012-04-17 11:30 ` Gilles Chanteperdrix
0 siblings, 1 reply; 9+ messages in thread
From: Anisha Kaul @ 2012-04-17 11:11 UTC (permalink / raw)
To: xenomai
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Xenomai-help] Understanding the output of hackbench when run together with xeno-test
2012-04-17 11:11 [Xenomai-help] Understanding the output of hackbench when run together with xeno-test Anisha Kaul
@ 2012-04-17 11:30 ` Gilles Chanteperdrix
2012-04-17 11:34 ` Gilles Chanteperdrix
0 siblings, 1 reply; 9+ messages in thread
From: Gilles Chanteperdrix @ 2012-04-17 11:30 UTC (permalink / raw)
To: Anisha Kaul; +Cc: xenomai
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Xenomai-help] Understanding the output of hackbench when run together with xeno-test
2012-04-17 11:30 ` Gilles Chanteperdrix
@ 2012-04-17 11:34 ` Gilles Chanteperdrix
[not found] ` <CAM1yFZ_kvvh019OMe-_BCf_qqyuDAumL0mw4XdMx5TSRGRAWAw@domain.hid>
0 siblings, 1 reply; 9+ messages in thread
From: Gilles Chanteperdrix @ 2012-04-17 11:34 UTC (permalink / raw)
To: Anisha Kaul; +Cc: xenomai
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Xenomai-help] Understanding the output of hackbench when run together with xeno-test
[not found] ` <CAM1yFZ_kvvh019OMe-_BCf_qqyuDAumL0mw4XdMx5TSRGRAWAw@domain.hid>
@ 2012-04-18 7:25 ` Anisha Kaul
2012-04-18 8:41 ` Gilles Chanteperdrix
[not found] ` <4F8E7B7C.3040408@domain.hid>
1 sibling, 1 reply; 9+ messages in thread
From: Anisha Kaul @ 2012-04-18 7:25 UTC (permalink / raw)
To: xenomai
On 17 April 2012 17:04, Gilles Chanteperdrix
<gilles.chanteperdrix@xenomai.org> wrote:
> 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.
Thanks for replying. I couldn't have made it out myself that the last
argument is compulsory.
The problem isn't solved yet, actually.
I tried `dohell` separately with `hackbench` and `seconds` parameter
as follows (and it worked properly):
_____________________________________________________________
linux-dopx:~ # /usr/xenomai/bin/dohell -b
"/home/anisha/Desktop/RealTime/downloadedPages/hackbench -pipe 100
process 100 seconds" 2
Running with 100*40 (== 4000) tasks.
Time: 2.198
/usr/xenomai/bin/dohell: line 94: 17276 Terminated while :; do
$hackbench 1;
done
/usr/xenomai/bin/dohell: line 94: 17277 Terminated while :; do
cat /proc/interrupts;
done > /dev/null 2>&1
/usr/xenomai/bin/dohell: line 94: 17279 Terminated while :; do
ps w;
done > /dev/null 2>&1
/usr/xenomai/bin/dohell: line 94: 17280 Terminated dd
if=/dev/zero of=/dev/null
/usr/xenomai/bin/dohell: line 94: 17281 Terminated while :; do
ls -lR / > /dev/null 2>&1;
done
Killed
_____________________________________________________________
Then I tried the same with `xeno-test` as follows:
_____________________________________________________________
> /usr/xenomai/bin/xeno-test -l "dohell -b
> "/home/anisha/Desktop/RealTime/downloadedPages/hackbench -pipe 100
> process 100 seconds" 2"
> and
> /usr/xenomai/bin/xeno-test -l "dohell -b
> /home/anisha/Desktop/RealTime/downloadedPages/hackbench -pipe 100
> process 100 seconds 2"
> and
> /usr/xenomai/bin/xeno-test -l dohell -b
> /home/anisha/Desktop/RealTime/downloadedPages/hackbench -pipe 100
> process 100 seconds 2
> and also,
> /usr/xenomai/bin/xeno-test -l "dohell -b
> /home/anisha/Desktop/RealTime/downloadedPages/hackbench -pipe 100
> process 100" -T 2
> and
> /usr/xenomai/bin/xeno-test -l "dohell -b
> /home/anisha/Desktop/RealTime/downloadedPages/hackbench -pipe 100
> process 100" -t 2
> _____________________________________________________________
All of them resulted in the following end results:
What is the way to run this? Please help.
_____________________________________________________________
Started child 21470: /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.296| 0.000| -3574.297| 0| 0| 00:00:-01/00:00:-01
_____________________________________________________________
-Anisha
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Xenomai-help] Understanding the output of hackbench when run together with xeno-test
2012-04-18 7:25 ` Anisha Kaul
@ 2012-04-18 8:41 ` Gilles Chanteperdrix
2012-04-18 9:09 ` Anisha Kaul
0 siblings, 1 reply; 9+ messages in thread
From: Gilles Chanteperdrix @ 2012-04-18 8:41 UTC (permalink / raw)
To: Anisha Kaul; +Cc: xenomai
On 04/18/2012 09:25 AM, Anisha Kaul wrote:
> On 17 April 2012 17:04, Gilles Chanteperdrix
> <gilles.chanteperdrix@xenomai.org> wrote:
>> 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.
>
> Thanks for replying. I couldn't have made it out myself that the last
> argument is compulsory.
> The problem isn't solved yet, actually.
>
> I tried `dohell` separately with `hackbench` and `seconds` parameter
> as follows (and it worked properly):
Try:
xeno-test -l "dohell -b
/home/anisha/Desktop/RealTime/downloadedPages/hackbench 14400"
--
Gilles.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Xenomai-help] Understanding the output of hackbench when run together with xeno-test
[not found] ` <4F8E7B7C.3040408@domain.hid>
@ 2012-04-18 8:42 ` Anisha Kaul
0 siblings, 0 replies; 9+ messages in thread
From: Anisha Kaul @ 2012-04-18 8:42 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai
On 18 April 2012 13:59, Gilles Chanteperdrix
<gilles.chanteperdrix@xenomai.org> wrote:
>> I tried `dohell` separately with `hackbench` and `seconds` parameter
>> as follows (and it worked properly):
>> _____________________________________________________________
>> linux-dopx:~ # /usr/xenomai/bin/dohell -b
>> "/home/anisha/Desktop/RealTime/downloadedPages/hackbench -pipe 100
>> process 100 seconds" 2
>
> "seconds" is a count of seconds, the number of seconds you want dohell
> to run. Like 14400 for 4 hours.
>
Yes, I understood that. I did mention 2 as number of seconds (in the
above quoted command), and I also tried that as follows:
/usr/xenomai/bin/dohell -b
"/home/anisha/Desktop/RealTime/downloadedPages/hackbench -pipe 100
process 100" 2
This `dohell` command result too is showing the proper output.
The problem is that when I run the same dohell command with xeno-test,
it doesn't show the results of hackbench.
Please read the other commands I tried (in my previous mail).
I feel it is the syntax problem which I am not able to figure out.
-Anisha
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Xenomai-help] Understanding the output of hackbench when run together with xeno-test
2012-04-18 8:41 ` Gilles Chanteperdrix
@ 2012-04-18 9:09 ` Anisha Kaul
2012-04-18 9:12 ` Gilles Chanteperdrix
0 siblings, 1 reply; 9+ messages in thread
From: Anisha Kaul @ 2012-04-18 9:09 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai
On 18 April 2012 14:11, Gilles Chanteperdrix
<gilles.chanteperdrix@xenomai.org> wrote:
> Try: xeno-test -l "dohell -b /home/anisha/Desktop/RealTime/downloadedPages/hackbench 14400"
and that worked! I tried it with 2 seconds.
I realize now that the problem is in the "parameters" which I specify
with hackbench:
xeno-test -l "dohell -b
/home/anisha/Desktop/RealTime/downloadedPages/hackbench -pipe 100
process 100 2"
The sub `dohell` command (with hackbench parameters) work well, but it
doesn't work when attached with `xeno-test`. I remove the hackbench's
parameters ("-pipe 100 process 100"), then it starts working.
Thanks for your help, but what should I do if I want those parameters?
Hardcoding them in the hackbench's code as a temporary solution? Or I
am still missing a point?
-Anisha
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Xenomai-help] Understanding the output of hackbench when run together with xeno-test
2012-04-18 9:09 ` Anisha Kaul
@ 2012-04-18 9:12 ` Gilles Chanteperdrix
2012-04-18 9:34 ` Anisha Kaul
0 siblings, 1 reply; 9+ messages in thread
From: Gilles Chanteperdrix @ 2012-04-18 9:12 UTC (permalink / raw)
To: Anisha Kaul; +Cc: xenomai
On 04/18/2012 11:09 AM, Anisha Kaul wrote:
> On 18 April 2012 14:11, Gilles Chanteperdrix
> <gilles.chanteperdrix@xenomai.org> wrote:
>> Try: xeno-test -l "dohell -b /home/anisha/Desktop/RealTime/downloadedPages/hackbench 14400"
>
> and that worked! I tried it with 2 seconds.
You will not obtain the worst case latencies by running the test for 2
seconds, you have to let xeno-test run at least a few hours.
>
> I realize now that the problem is in the "parameters" which I specify
> with hackbench:
>
> xeno-test -l "dohell -b
> /home/anisha/Desktop/RealTime/downloadedPages/hackbench -pipe 100
> process 100 2"
>
> The sub `dohell` command (with hackbench parameters) work well, but it
> doesn't work when attached with `xeno-test`. I remove the hackbench's
> parameters ("-pipe 100 process 100"), then it starts working.
>
> Thanks for your help, but what should I do if I want those parameters?
> Hardcoding them in the hackbench's code as a temporary solution? Or I
> am still missing a point?
As of now, the simplest way is to hardcode them in the dohell script.
--
Gilles.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Xenomai-help] Understanding the output of hackbench when run together with xeno-test
2012-04-18 9:12 ` Gilles Chanteperdrix
@ 2012-04-18 9:34 ` Anisha Kaul
0 siblings, 0 replies; 9+ messages in thread
From: Anisha Kaul @ 2012-04-18 9:34 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai
> You will not obtain the worst case latencies by running the test for 2
> seconds, you have to let xeno-test run at least a few hours.
Will keep that in mind.
Thanks for all your patience Gilles.
-Anisha
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2012-04-18 9:34 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-17 11:11 [Xenomai-help] Understanding the output of hackbench when run together with xeno-test Anisha Kaul
2012-04-17 11:30 ` Gilles Chanteperdrix
2012-04-17 11:34 ` Gilles Chanteperdrix
[not found] ` <CAM1yFZ_kvvh019OMe-_BCf_qqyuDAumL0mw4XdMx5TSRGRAWAw@domain.hid>
2012-04-18 7:25 ` Anisha Kaul
2012-04-18 8:41 ` Gilles Chanteperdrix
2012-04-18 9:09 ` Anisha Kaul
2012-04-18 9:12 ` Gilles Chanteperdrix
2012-04-18 9:34 ` Anisha Kaul
[not found] ` <4F8E7B7C.3040408@domain.hid>
2012-04-18 8:42 ` Anisha Kaul
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.