On 17 April 2012 17:04, Gilles Chanteperdrix
<gilles.chanteperd...@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

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

Reply via email to