All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Help with Xeno-test please
@ 2012-11-19 15:10 Sebastian Pavez
  2012-11-19 15:22 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 11+ messages in thread
From: Sebastian Pavez @ 2012-11-19 15:10 UTC (permalink / raw)
  To: Xenomai

Hi everybody!

I'm trying to get the latencies values with some load, but I think I'm
doing something wrong. Below is the command I tried and the results, are
they the rights parameters? if not, wich ones I should use instead? Some
recommendations will be appreciated. I read that the xeno-test runs by
default for 15 min, but I'm not getting that behaviour.

Please some insights, Seba.


root@labcontrol:~# /usr/xenomai/bin/xeno-test -l "dohell -b
/usr/bin/hackbench  -s 192.168.0.5 -l /usr/src/linux-3.2.32/fs/ubifs | 100"
Started child 9309: /bin/bash /usr/xenomai/bin/xeno-test-run-wrapper
/usr/xenomai/bin/xeno-test
++ echo 0
++ /usr/xenomai/bin/arith
mul: 0x79364d93, shft: 26
integ: 30, frac: 0x4d9364d9364d9364

signed positive operation: 0x03ffffffffffffff * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 8.236 ns, rejected 0/10000
inlined llimd: 0x79364d9364d9362f: 2.356 ns, rejected 0/10000
inlined llmulshft: 0x79364d92ffffffe1: 0.985 ns, rejected 0/10000
inlined nodiv_llimd: 0x79364d9364d9362f: 2.060 ns, rejected 0/10000
out of line calibration: 0x0000000000000000: 8.089 ns, rejected 0/10000
out of line llimd: 0x79364d9364d9362f: 5.001 ns, rejected 0/10000
out of line llmulshft: 0x79364d92ffffffe1: 1.876 ns, rejected 0/10000
out of line nodiv_llimd: 0x79364d9364d9362f: 5.495 ns, rejected 1/10000

signed negative operation: 0xfc00000000000001 * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 8.083 ns, rejected 0/10000
inlined llimd: 0x86c9b26c9b26c9d1: 3.821 ns, rejected 0/10000
inlined llmulshft: 0x86c9b26d0000001e: 0.450 ns, rejected 0/10000
inlined nodiv_llimd: 0x86c9b26c9b26c9d1: 3.689 ns, rejected 0/10000
out of line calibration: 0x0000000000000000: 8.059 ns, rejected 0/10000
out of line llimd: 0x86c9b26c9b26c9d1: 6.064 ns, rejected 0/10000
out of line llmulshft: 0x86c9b26d0000001e: 1.667 ns, rejected 0/10000
out of line nodiv_llimd: 0x86c9b26c9b26c9d1: 6.797 ns, rejected 0/10000

unsigned operation: 0x03ffffffffffffff * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 8.083 ns, rejected 0/10000
inlined nodiv_ullimd: 0x79364d9364d9362f: 3.386 ns, rejected 0/10000
out of line calibration: 0x0000000000000000: 8.059 ns, rejected 0/10000
out of line nodiv_ullimd: 0x79364d9364d9362f: 5.614 ns, rejected 0/10000
++ /usr/xenomai/bin/clocktest -C 42 -T 30
== Tested clock: 42 (CLOCK_HOST_REALTIME)
CPU      ToD offset [us] ToD drift [us/s]      warps max delta [us]
--- -------------------- ---------------- ---------- --------------
  0                  0.7            0.002          0            0.0
  1                  0.8            0.003          0            0.0
  2                  1.2            0.004          0            0.0
  3                  0.7           -0.012          0            0.0
  4                  0.9            0.003          0            0.0
  5                  0.8            0.007          0            0.0
  6                  0.8            0.007          0            0.0
  7                  1.1            0.012          0            0.0
++ /usr/xenomai/bin/switchtest -T 30
== Testing FPU check routines...
r0: 1 != 2
r1: 1 != 2
r2: 1 != 2
r3: 1 != 2
r4: 1 != 2
r5: 1 != 2
r6: 1 != 2
r7: 1 != 2
== FPU check routines: OK.
== Threads: sleeper_ufps0-0 rtk0-1 rtk0-2 rtk_fp0-3 rtk_fp0-4
rtk_fp_ufpp0-5 rtk_fp_ufpp0-6 rtup0-7 rtup0-8 rtup_ufpp0-9 rtup_ufpp0-10
rtus0-11 rtus0-12 rtus_ufps0-13 rtus_ufps0-14 rtuo0-15 rtuo0-16
rtuo_ufpp0-17 rtuo_ufpp0-18 rtuo_ufps0-19 rtuo_ufps0-20 rtuo_ufpp_ufps0-21
rtuo_ufpp_ufps0-22 sleeper_ufps1-0 rtk1-1 rtk1-2 rtk_fp1-3 rtk_fp1-4
rtk_fp_ufpp1-5 rtk_fp_ufpp1-6 rtup1-7 rtup1-8 rtup_ufpp1-9 rtup_ufpp1-10
rtus1-11 rtus1-12 rtus_ufps1-13 rtus_ufps1-14 rtuo1-15 rtuo1-16
rtuo_ufpp1-17 rtuo_ufpp1-18 rtuo_ufps1-19 rtuo_ufps1-20 rtuo_ufpp_ufps1-21
rtuo_ufpp_ufps1-22 sleeper_ufps2-0 rtk2-1 rtk2-2 rtk_fp2-3 rtk_fp2-4
rtk_fp_ufpp2-5 rtk_fp_ufpp2-6 rtup2-7 rtup2-8 rtup_ufpp2-9 rtup_ufpp2-10
rtus2-11 rtus2-12 rtus_ufps2-13 rtus_ufps2-14 rtuo2-15 rtuo2-16
rtuo_ufpp2-17 rtuo_ufpp2-18 rtuo_ufps2-19 rtuo_ufps2-20 rtuo_ufpp_ufps2-21
rtuo_ufpp_ufps2-22 sleeper_ufps3-0 rtk3-1 rtk3-2 rtk_fp3-3 rtk_fp3-4
rtk_fp_ufpp3-5 rtk_fp_ufpp3-6 rtup3-7 rtup3-8 rtup_ufpp3-9 rtup_ufpp3-10
rtus3-11 rtus3-12 rtus_ufps3-13 rtus_ufps3-14
ioctl(RTTST_RTIOC_SWTEST_CREATE_KTASK): Cannot allocate memory
rtuo3-15 rtuo3-16 rtuo_ufpp3-17 rtuo_ufpp3-18 rtuo_ufps3-19 rtuo_ufps3-20
rtuo_ufpp_ufps3-21 rtuo_ufpp_ufps3-22 sleeper_ufps4-0 rtk4-1 rtk4-2
rtk_fp4-3 rtk_fp4-4 rtk_fp_ufpp4-5 rtk_fp_ufpp4-6 rtup4-7 rtup4-8
rtup_ufpp4-9 rtup_ufpp4-10 rtus4-11 rtus4-12 rtus_ufps4-13 rtus_ufps4-14
rtuo4-15 rtuo4-16 rtuo_ufpp4-17 rtuo_ufpp4-18 rtuo_ufps4-19 rtuo_ufps4-20
rtuo_ufpp_ufps4-21 rtuo_ufpp_ufps4-22 sleeper_ufps5-0 rtk5-1RTT|
375926:56:20
RTH|---------cpu|ctx switches|-------total
RTD|           0|           0|           0
RTD|           1|           0|           0
RTD|           2|           0|           0
RTD|           3|           0|           0
RTD|           4|           0|           0
RTD|           5|           0|           0

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Xenomai] Help with Xeno-test please
  2012-11-19 15:10 [Xenomai] Help with Xeno-test please Sebastian Pavez
@ 2012-11-19 15:22 ` Gilles Chanteperdrix
  2012-11-19 15:39   ` Sebastian Pavez
  0 siblings, 1 reply; 11+ messages in thread
From: Gilles Chanteperdrix @ 2012-11-19 15:22 UTC (permalink / raw)
  To: Sebastian Pavez; +Cc: Xenomai

On 11/19/2012 04:10 PM, Sebastian Pavez wrote:
> Hi everybody!
> 
> I'm trying to get the latencies values with some load, but I think I'm
> doing something wrong. Below is the command I tried and the results, are
> they the rights parameters? if not, wich ones I should use instead? Some
> recommendations will be appreciated. I read that the xeno-test runs by
> default for 15 min, but I'm not getting that behaviour.
> 
> Please some insights, Seba.
> 
> 
> root@labcontrol:~# /usr/xenomai/bin/xeno-test -l "dohell -b
> /usr/bin/hackbench  -s 192.168.0.5 -l /usr/src/linux-3.2.32/fs/ubifs | 100"

The pipe in dohell help string is a "logical or", indicating that you
should either pass the path to ltp installation directory OR a duration
IN SECONDS.

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Xenomai] Help with Xeno-test please
  2012-11-19 15:22 ` Gilles Chanteperdrix
@ 2012-11-19 15:39   ` Sebastian Pavez
  2012-11-19 16:17     ` Gilles Chanteperdrix
  0 siblings, 1 reply; 11+ messages in thread
From: Sebastian Pavez @ 2012-11-19 15:39 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: Xenomai

2012/11/19 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>

> On 11/19/2012 04:10 PM, Sebastian Pavez wrote:
> > Hi everybody!
> >
> > I'm trying to get the latencies values with some load, but I think I'm
> > doing something wrong. Below is the command I tried and the results, are
> > they the rights parameters? if not, wich ones I should use instead? Some
> > recommendations will be appreciated. I read that the xeno-test runs by
> > default for 15 min, but I'm not getting that behaviour.
> >
> > Please some insights, Seba.
> >
> >
> > root@labcontrol:~# /usr/xenomai/bin/xeno-test -l "dohell -b
> > /usr/bin/hackbench  -s 192.168.0.5 -l /usr/src/linux-3.2.32/fs/ubifs |
> 100"
>
> The pipe in dohell help string is a "logical or", indicating that you
> should either pass the path to ltp installation directory OR a duration
> IN SECONDS.
>
> --
>                                             Gilles.
>

Thanks for your answer,
I made the change you suggest me, but I'm getting the same behaviour. It
only runs 30 seconds by the clocktest ...

root@labcontrol:~# /usr/xenomai/bin/xeno-test -l "dohell -b
/usr/bin/hackbench  -s 192.168.0.5 -l 100"
Started child 18886: /bin/bash /usr/xenomai/bin/xeno-test-run-wrapper
/usr/xenomai/bin/xeno-test
++ echo 0
++ /usr/xenomai/bin/arith
mul: 0x79364d93, shft: 26
integ: 30, frac: 0x4d9364d9364d9364

signed positive operation: 0x03ffffffffffffff * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 8.002 ns, rejected 0/10000
inlined llimd: 0x79364d9364d9362f: 2.591 ns, rejected 0/10000
inlined llmulshft: 0x79364d92ffffffe1: 1.496 ns, rejected 0/10000
inlined nodiv_llimd: 0x79364d9364d9362f: 2.285 ns, rejected 0/10000
out of line calibration: 0x0000000000000000: 8.088 ns, rejected 0/10000
out of line llimd: 0x79364d9364d9362f: 5.247 ns, rejected 0/10000
out of line llmulshft: 0x79364d92ffffffe1: 1.878 ns, rejected 0/10000
out of line nodiv_llimd: 0x79364d9364d9362f: 5.912 ns, rejected 0/10000

signed negative operation: 0xfc00000000000001 * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 8.079 ns, rejected 1/10000
inlined llimd: 0x86c9b26c9b26c9d1: 3.653 ns, rejected 0/10000
inlined llmulshft: 0x86c9b26d0000001e: 0.891 ns, rejected 0/10000
inlined nodiv_llimd: 0x86c9b26c9b26c9d1: 2.995 ns, rejected 0/10000
out of line calibration: 0x0000000000000000: 8.015 ns, rejected 0/10000
out of line llimd: 0x86c9b26c9b26c9d1: 6.109 ns, rejected 0/10000
out of line llmulshft: 0x86c9b26d0000001e: 1.986 ns, rejected 0/10000
out of line nodiv_llimd: 0x86c9b26c9b26c9d1: 6.549 ns, rejected 0/10000

unsigned operation: 0x03ffffffffffffff * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 8.084 ns, rejected 0/10000
inlined nodiv_ullimd: 0x79364d9364d9362f: 3.392 ns, rejected 0/10000
out of line calibration: 0x0000000000000000: 8.015 ns, rejected 0/10000
out of line nodiv_ullimd: 0x79364d9364d9362f: 6.241 ns, rejected 0/10000
++ /usr/xenomai/bin/clocktest -C 42 -T 30
== Tested clock: 42 (CLOCK_HOST_REALTIME)
CPU      ToD offset [us] ToD drift [us/s]      warps max delta [us]
--- -------------------- ---------------- ---------- --------------
  0                  1.0            0.016          0            0.0
  1                  0.7            0.006          0            0.0
  2                  1.0            0.009          0            0.0
  3                  1.2            0.006          0            0.0
  4                  0.8            0.012          0            0.0
  5                  0.9           -0.004          0            0.0
  6                  0.7           -0.007          0            0.0
  7                  0.9            0.000          0            0.0
++ /usr/xenomai/bin/switchtest -T 30
== Testing FPU check routines...
r0: 1 != 2
r1: 1 != 2
r2: 1 != 2
r3: 1 != 2
r4: 1 != 2
r5: 1 != 2
r6: 1 != 2
r7: 1 != 2
== FPU check routines: OK.
== Threads: sleeper_ufps0-0 rtk0-1 rtk0-2 rtk_fp0-3 rtk_fp0-4
rtk_fp_ufpp0-5 rtk_fp_ufpp0-6 rtup0-7 rtup0-8 rtup_ufpp0-9 rtup_ufpp0-10
rtus0-11 rtus0-12 rtus_ufps0-13 rtus_ufps0-14 rtuo0-15 rtuo0-16
rtuo_ufpp0-17 rtuo_ufpp0-18 rtuo_ufps0-19 rtuo_ufps0-20 rtuo_ufpp_ufps0-21
rtuo_ufpp_ufps0-22 sleeper_ufps1-0 rtk1-1 rtk1-2 rtk_fp1-3 rtk_fp1-4
rtk_fp_ufpp1-5 rtk_fp_ufpp1-6 rtup1-7 rtup1-8 rtup_ufpp1-9 rtup_ufpp1-10
rtus1-11 rtus1-12 rtus_ufps1-13 rtus_ufps1-14 rtuo1-15 rtuo1-16
rtuo_ufpp1-17 rtuo_ufpp1-18 rtuo_ufps1-19 rtuo_ufps1-20 rtuo_ufpp_ufps1-21
rtuo_ufpp_ufps1-22 sleeper_ufps2-0 rtk2-1 rtk2-2 rtk_fp2-3 rtk_fp2-4
rtk_fp_ufpp2-5 rtk_fp_ufpp2-6 rtup2-7 rtup2-8 rtup_ufpp2-9 rtup_ufpp2-10
rtus2-11 rtus2-12 rtus_ufps2-13 rtus_ufps2-14 rtuo2-15 rtuo2-16
rtuo_ufpp2-17 rtuo_ufpp2-18 rtuo_ufps2-19 rtuo_ufps2-20 rtuo_ufpp_ufps2-21
rtuo_ufpp_ufps2-22 sleeper_ufps3-0 rtk3-1 rtk3-2 rtk_fp3-3 rtk_fp3-4
rtk_fp_ufpp3-5 rtk_fp_ufpp3-6 rtup3-7 rtup3-8 rtup_ufpp3-9 rtup_ufpp3-10
rtus3-11 rtus3-12 rtus_ufps3-13 rtus_ufps3-14
ioctl(RTTST_RTIOC_SWTEST_CREATE_KTASK): Cannot allocate memory
rtuo3-15 rtuo3-16 rtuo_ufpp3-17 rtuo_ufpp3-18 rtuo_ufps3-19 rtuo_ufps3-20
rtuo_ufpp_ufps3-21 rtuo_ufpp_ufps3-22 sleeper_ufps4-0 rtk4-1 rtk4-2
rtk_fp4-3 rtk_fp4-4 rtk_fp_ufpp4-5 rtk_fp_ufpp4-6 rtup4-7 rtup4-8
rtup_ufpp4-9 rtup_ufpp4-10 rtus4-11 rtus4-12 rtus_ufps4-13 rtus_ufps4-14
rtuo4-15 rtuo4-16 rtuo_ufpp4-17 rtuo_ufpp4-18 rtuo_ufps4-19 rtuo_ufps4-20
rtuo_ufpp_ufps4-21 rtuo_ufpp_ufps4-22 sleeper_ufps5-0 rtk5-1RTT|
375927:36:34
RTH|---------cpu|ctx switches|-------total
RTD|           0|           0|           0
RTD|           1|           0|           0
RTD|           2|           0|           0
RTD|           3|           0|           0
RTD|           4|           0|           0
RTD|           5|           0|           0

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Xenomai] Help with Xeno-test please
  2012-11-19 15:39   ` Sebastian Pavez
@ 2012-11-19 16:17     ` Gilles Chanteperdrix
  2012-11-20 14:31       ` Sebastian Pavez
  0 siblings, 1 reply; 11+ messages in thread
From: Gilles Chanteperdrix @ 2012-11-19 16:17 UTC (permalink / raw)
  To: Sebastian Pavez; +Cc: Xenomai

On 11/19/2012 04:39 PM, Sebastian Pavez wrote:
> 2012/11/19 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
> 
>> On 11/19/2012 04:10 PM, Sebastian Pavez wrote:
>>> Hi everybody!
>>>
>>> I'm trying to get the latencies values with some load, but I think I'm
>>> doing something wrong. Below is the command I tried and the results, are
>>> they the rights parameters? if not, wich ones I should use instead? Some
>>> recommendations will be appreciated. I read that the xeno-test runs by
>>> default for 15 min, but I'm not getting that behaviour.
>>>
>>> Please some insights, Seba.
>>>
>>>
>>> root@labcontrol:~# /usr/xenomai/bin/xeno-test -l "dohell -b
>>> /usr/bin/hackbench  -s 192.168.0.5 -l /usr/src/linux-3.2.32/fs/ubifs |
>> 100"
>>
>> The pipe in dohell help string is a "logical or", indicating that you
>> should either pass the path to ltp installation directory OR a duration
>> IN SECONDS.
>>
>> --
>>                                             Gilles.
>>
> 
> Thanks for your answer,
> I made the change you suggest me, but I'm getting the same behaviour. It
> only runs 30 seconds by the clocktest ...
> 
> root@labcontrol:~# /usr/xenomai/bin/xeno-test -l "dohell -b
> /usr/bin/hackbench  -s 192.168.0.5 -l 100"

So, you installed ltp in a directory named "100" ?

> == FPU check routines: OK.
> == Threads: sleeper_ufps0-0 rtk0-1 rtk0-2 rtk_fp0-3 rtk_fp0-4
> rtk_fp_ufpp0-5 rtk_fp_ufpp0-6 rtup0-7 rtup0-8 rtup_ufpp0-9 rtup_ufpp0-10
> rtus0-11 rtus0-12 rtus_ufps0-13 rtus_ufps0-14 rtuo0-15 rtuo0-16
> rtuo_ufpp0-17 rtuo_ufpp0-18 rtuo_ufps0-19 rtuo_ufps0-20 rtuo_ufpp_ufps0-21
> rtuo_ufpp_ufps0-22 sleeper_ufps1-0 rtk1-1 rtk1-2 rtk_fp1-3 rtk_fp1-4
> rtk_fp_ufpp1-5 rtk_fp_ufpp1-6 rtup1-7 rtup1-8 rtup_ufpp1-9 rtup_ufpp1-10
> rtus1-11 rtus1-12 rtus_ufps1-13 rtus_ufps1-14 rtuo1-15 rtuo1-16
> rtuo_ufpp1-17 rtuo_ufpp1-18 rtuo_ufps1-19 rtuo_ufps1-20 rtuo_ufpp_ufps1-21
> rtuo_ufpp_ufps1-22 sleeper_ufps2-0 rtk2-1 rtk2-2 rtk_fp2-3 rtk_fp2-4
> rtk_fp_ufpp2-5 rtk_fp_ufpp2-6 rtup2-7 rtup2-8 rtup_ufpp2-9 rtup_ufpp2-10
> rtus2-11 rtus2-12 rtus_ufps2-13 rtus_ufps2-14 rtuo2-15 rtuo2-16
> rtuo_ufpp2-17 rtuo_ufpp2-18 rtuo_ufps2-19 rtuo_ufps2-20 rtuo_ufpp_ufps2-21
> rtuo_ufpp_ufps2-22 sleeper_ufps3-0 rtk3-1 rtk3-2 rtk_fp3-3 rtk_fp3-4
> rtk_fp_ufpp3-5 rtk_fp_ufpp3-6 rtup3-7 rtup3-8 rtup_ufpp3-9 rtup_ufpp3-10
> rtus3-11 rtus3-12 rtus_ufps3-13 rtus_ufps3-14
> ioctl(RTTST_RTIOC_SWTEST_CREATE_KTASK): Cannot allocate memory

That is another issue:
http://www.xenomai.org/documentation/xenomai-2.6/html/TROUBLESHOOTING/#_switchtest_fails_with_pthread_create_resource_temporarily_unavailable


-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Xenomai] Help with Xeno-test please
  2012-11-19 16:17     ` Gilles Chanteperdrix
@ 2012-11-20 14:31       ` Sebastian Pavez
  2012-11-20 14:41         ` Gilles Chanteperdrix
  0 siblings, 1 reply; 11+ messages in thread
From: Sebastian Pavez @ 2012-11-20 14:31 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: Xenomai

El 19/11/2012 13:17 p.m., Gilles Chanteperdrix escribió:
> On 11/19/2012 04:39 PM, Sebastian Pavez wrote:
>> 2012/11/19 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
>>
>>> On 11/19/2012 04:10 PM, Sebastian Pavez wrote:
>>>> Hi everybody!
>>>>
>>>> I'm trying to get the latencies values with some load, but I think I'm
>>>> doing something wrong. Below is the command I tried and the results, are
>>>> they the rights parameters? if not, wich ones I should use instead? Some
>>>> recommendations will be appreciated. I read that the xeno-test runs by
>>>> default for 15 min, but I'm not getting that behaviour.
>>>>
>>>> Please some insights, Seba.
>>>>
>>>>
>>>> root@labcontrol:~# /usr/xenomai/bin/xeno-test -l "dohell -b
>>>> /usr/bin/hackbench  -s 192.168.0.5 -l /usr/src/linux-3.2.32/fs/ubifs |
>>> 100"
>>>
>>> The pipe in dohell help string is a "logical or", indicating that you
>>> should either pass the path to ltp installation directory OR a duration
>>> IN SECONDS.
>>>
>>> --
>>>                                              Gilles.
>>>
>> Thanks for your answer,
>> I made the change you suggest me, but I'm getting the same behaviour. It
>> only runs 30 seconds by the clocktest ...
>>
>> root@labcontrol:~# /usr/xenomai/bin/xeno-test -l "dohell -b
>> /usr/bin/hackbench  -s 192.168.0.5 -l 100"
> So, you installed ltp in a directory named "100" ?
>
>> == FPU check routines: OK.
>> == Threads: sleeper_ufps0-0 rtk0-1 rtk0-2 rtk_fp0-3 rtk_fp0-4
>> rtk_fp_ufpp0-5 rtk_fp_ufpp0-6 rtup0-7 rtup0-8 rtup_ufpp0-9 rtup_ufpp0-10
>> rtus0-11 rtus0-12 rtus_ufps0-13 rtus_ufps0-14 rtuo0-15 rtuo0-16
>> rtuo_ufpp0-17 rtuo_ufpp0-18 rtuo_ufps0-19 rtuo_ufps0-20 rtuo_ufpp_ufps0-21
>> rtuo_ufpp_ufps0-22 sleeper_ufps1-0 rtk1-1 rtk1-2 rtk_fp1-3 rtk_fp1-4
>> rtk_fp_ufpp1-5 rtk_fp_ufpp1-6 rtup1-7 rtup1-8 rtup_ufpp1-9 rtup_ufpp1-10
>> rtus1-11 rtus1-12 rtus_ufps1-13 rtus_ufps1-14 rtuo1-15 rtuo1-16
>> rtuo_ufpp1-17 rtuo_ufpp1-18 rtuo_ufps1-19 rtuo_ufps1-20 rtuo_ufpp_ufps1-21
>> rtuo_ufpp_ufps1-22 sleeper_ufps2-0 rtk2-1 rtk2-2 rtk_fp2-3 rtk_fp2-4
>> rtk_fp_ufpp2-5 rtk_fp_ufpp2-6 rtup2-7 rtup2-8 rtup_ufpp2-9 rtup_ufpp2-10
>> rtus2-11 rtus2-12 rtus_ufps2-13 rtus_ufps2-14 rtuo2-15 rtuo2-16
>> rtuo_ufpp2-17 rtuo_ufpp2-18 rtuo_ufps2-19 rtuo_ufps2-20 rtuo_ufpp_ufps2-21
>> rtuo_ufpp_ufps2-22 sleeper_ufps3-0 rtk3-1 rtk3-2 rtk_fp3-3 rtk_fp3-4
>> rtk_fp_ufpp3-5 rtk_fp_ufpp3-6 rtup3-7 rtup3-8 rtup_ufpp3-9 rtup_ufpp3-10
>> rtus3-11 rtus3-12 rtus_ufps3-13 rtus_ufps3-14
>> ioctl(RTTST_RTIOC_SWTEST_CREATE_KTASK): Cannot allocate memory
> That is another issue:
> http://www.xenomai.org/documentation/xenomai-2.6/html/TROUBLESHOOTING/#_switchtest_fails_with_pthread_create_resource_temporarily_unavailable
>
>
Sorry for the mistake,

I'm not getting results with ltp, I mean I get the same as before.
I wanna try hackbench a few hours, I followed this post:
http://www.mail-archive.com/xenomai-help@gna.org/msg14194.html

I tried hackbench only with dohell:
root@labcontrol:~# /usr/xenomai/bin/dohell -b 
"/home/labcontrol/Downloads/ltp-full-20120903/testcases/kernel/sched/cfs-scheduler/hackbench 
-pipe 100 process 100 seconds" 8
Running with 100*40 (== 4000) tasks.
Time: 0.579
Running with 100*40 (== 4000) tasks.
Time: 0.569
Running with 100*40 (== 4000) tasks.
Time: 0.570
Running with 100*40 (== 4000) tasks.
Time: 0.589
Running with 100*40 (== 4000) tasks.
Time: 0.581
Running with 100*40 (== 4000) tasks.
Time: 0.598
Running with 100*40 (== 4000) tasks.
Time: 0.563
Running with 100*40 (== 4000) tasks.
Time: 0.569
Running with 100*40 (== 4000) tasks.
Time: 0.566
Running with 100*40 (== 4000) tasks.
Time: 0.590
Running with 100*40 (== 4000) tasks.
Time: 0.591
Killed

And with xeno-test:
root@labcontrol:~# /usr/xenomai/bin/xeno-test -l "dohell -b 
/home/labcontrol/Downloads/ltp-full-20120903/testcases/kernel/sched/cfs-scheduler/hackbench 
14400"
Started child 22320: /bin/bash /usr/xenomai/bin/xeno-test-run-wrapper 
/usr/xenomai/bin/xeno-test
++ echo 0
++ /usr/xenomai/bin/arith
mul: 0x79364d93, shft: 26
integ: 30, frac: 0x4d9364d9364d9364

signed positive operation: 0x03ffffffffffffff * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 8.003 ns, rejected 0/10000
inlined llimd: 0x79364d9364d9362f: 2.589 ns, rejected 0/10000
inlined llmulshft: 0x79364d92ffffffe1: 1.305 ns, rejected 0/10000
inlined nodiv_llimd: 0x79364d9364d9362f: 1.882 ns, rejected 0/10000
out of line calibration: 0x0000000000000000: 8.046 ns, rejected 0/10000
out of line llimd: 0x79364d9364d9362f: 5.492 ns, rejected 2/10000
out of line llmulshft: 0x79364d92ffffffe1: 1.919 ns, rejected 0/10000
out of line nodiv_llimd: 0x79364d9364d9362f: 6.118 ns, rejected 2/10000

signed negative operation: 0xfc00000000000001 * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 8.118 ns, rejected 0/10000
inlined llimd: 0x86c9b26c9b26c9d1: 3.626 ns, rejected 0/10000
inlined llmulshft: 0x86c9b26d0000001e: 0.706 ns, rejected 0/10000
inlined nodiv_llimd: 0x86c9b26c9b26c9d1: 3.576 ns, rejected 0/10000
out of line calibration: 0x0000000000000000: 8.016 ns, rejected 0/10000
out of line llimd: 0x86c9b26c9b26c9d1: 6.106 ns, rejected 0/10000
out of line llmulshft: 0x86c9b26d0000001e: 1.987 ns, rejected 0/10000
out of line nodiv_llimd: 0x86c9b26c9b26c9d1: 6.009 ns, rejected 0/10000

unsigned operation: 0x03ffffffffffffff * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 8.084 ns, rejected 0/10000
inlined nodiv_ullimd: 0x79364d9364d9362f: 3.385 ns, rejected 0/10000
out of line calibration: 0x0000000000000000: 8.015 ns, rejected 0/10000
out of line nodiv_ullimd: 0x79364d9364d9362f: 6.280 ns, rejected 0/10000
++ /usr/xenomai/bin/clocktest -C 42 -T 30
== Tested clock: 42 (CLOCK_HOST_REALTIME)
CPU      ToD offset [us] ToD drift [us/s]      warps max delta [us]
--- -------------------- ---------------- ---------- --------------
   0                  0.7           -0.010          0            0.0
   1                  0.9            0.016          0            0.0
   2                  1.0            0.009          0            0.0
   3                  0.7           -0.006          0            0.0
   4                  1.0            0.010          0            0.0
   5                  0.9            0.007          0            0.0
   6                  1.1            0.004          0            0.0
   7                  0.8            0.004          0            0.0
++ /usr/xenomai/bin/switchtest -T 30
== Testing FPU check routines...
r0: 1 != 2
r1: 1 != 2
r2: 1 != 2
r3: 1 != 2
r4: 1 != 2
r5: 1 != 2
r6: 1 != 2
r7: 1 != 2
== FPU check routines: OK.
== Threads: sleeper_ufps0-0 rtk0-1 rtk0-2 rtk_fp0-3 rtk_fp0-4 
rtk_fp_ufpp0-5 rtk_fp_ufpp0-6 rtup0-7 rtup0-8 rtup_ufpp0-9 rtup_ufpp0-10 
rtus0-11 rtus0-12 rtus_ufps0-13 rtus_ufps0-14 rtuo0-15 rtuo0-16 
rtuo_ufpp0-17 rtuo_ufpp0-18 rtuo_ufps0-19 rtuo_ufps0-20 
rtuo_ufpp_ufps0-21 rtuo_ufpp_ufps0-22 sleeper_ufps1-0 rtk1-1 rtk1-2 
rtk_fp1-3 rtk_fp1-4 rtk_fp_ufpp1-5 rtk_fp_ufpp1-6 rtup1-7 rtup1-8 
rtup_ufpp1-9 rtup_ufpp1-10 rtus1-11 rtus1-12 rtus_ufps1-13 rtus_ufps1-14 
rtuo1-15 rtuo1-16 rtuo_ufpp1-17 rtuo_ufpp1-18 rtuo_ufps1-19 
rtuo_ufps1-20 rtuo_ufpp_ufps1-21 rtuo_ufpp_ufps1-22 sleeper_ufps2-0 
rtk2-1 rtk2-2 rtk_fp2-3 rtk_fp2-4 rtk_fp_ufpp2-5 rtk_fp_ufpp2-6 rtup2-7 
rtup2-8 rtup_ufpp2-9 rtup_ufpp2-10 rtus2-11 rtus2-12 rtus_ufps2-13 
rtus_ufps2-14 rtuo2-15 rtuo2-16 rtuo_ufpp2-17 rtuo_ufpp2-18 
rtuo_ufps2-19 rtuo_ufps2-20 rtuo_ufpp_ufps2-21 rtuo_ufpp_ufps2-22 
sleeper_ufps3-0 rtk3-1 rtk3-2 rtk_fp3-3 rtk_fp3-4 rtk_fp_ufpp3-5 
rtk_fp_ufpp3-6 rtup3-7 rtup3-8 rtup_ufpp3-9 rtup_ufpp3-10 rtus3-11 
rtus3-12 rtus_ufps3-13 rtus_ufps3-14 
ioctl(RTTST_RTIOC_SWTEST_CREATE_KTASK): Cannot allocate memory
rtuo3-15 rtuo3-16 rtuo_ufpp3-17 rtuo_ufpp3-18 rtuo_ufps3-19 
rtuo_ufps3-20 rtuo_ufpp_ufps3-21 rtuo_ufpp_ufps3-22 sleeper_ufps4-0 
rtk4-1 rtk4-2 rtk_fp4-3 rtk_fp4-4 rtk_fp_ufpp4-5 rtk_fp_ufpp4-6 rtup4-7 
rtup4-8 rtup_ufpp4-9 rtup_ufpp4-10 rtus4-11 rtus4-12 rtus_ufps4-13 
rtus_ufps4-14 rtuo4-15 rtuo4-16 rtuo_ufpp4-17 rtuo_ufpp4-18 
rtuo_ufps4-19 rtuo_ufps4-20 rtuo_ufpp_ufps4-21 rtuo_ufpp_ufps4-22 
sleeper_ufps5-0 rtk5-1RTT|  375950:26:33
RTH|---------cpu|ctx switches|-------total
RTD|           0|           0|           0
RTD|           1|           0|           0
RTD|           2|           0|           0
RTD|           3|           0|           0
RTD|           4|           0|           0
RTD|           5|           0|           0



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Xenomai] Help with Xeno-test please
  2012-11-20 14:31       ` Sebastian Pavez
@ 2012-11-20 14:41         ` Gilles Chanteperdrix
  2012-11-20 14:54           ` Sebastian Pavez
  0 siblings, 1 reply; 11+ messages in thread
From: Gilles Chanteperdrix @ 2012-11-20 14:41 UTC (permalink / raw)
  To: Sebastian Pavez; +Cc: Xenomai

On 11/20/2012 03:31 PM, Sebastian Pavez wrote:
> ioctl(RTTST_RTIOC_SWTEST_CREATE_KTASK): Cannot allocate memory

You still do not have enough memory.

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Xenomai] Help with Xeno-test please
  2012-11-20 14:41         ` Gilles Chanteperdrix
@ 2012-11-20 14:54           ` Sebastian Pavez
  2012-11-20 15:09             ` Gilles Chanteperdrix
  0 siblings, 1 reply; 11+ messages in thread
From: Sebastian Pavez @ 2012-11-20 14:54 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: Xenomai

El 20/11/2012 11:41 a.m., Gilles Chanteperdrix escribió:
> On 11/20/2012 03:31 PM, Sebastian Pavez wrote:
>> ioctl(RTTST_RTIOC_SWTEST_CREATE_KTASK): Cannot allocate memory
> You still do not have enough memory.
>
Ok,
I have 256 kb for CONFIG_XENO_OPT_SYS_HEAPSZ and 128 kb for 
CONFIG_XENO_OPT_SYS_STACKPOOLSZ.
There's a recommended value to these? or I should try a value and look 
how they works?
In any case, I'll try to put 512kb for both ...

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Xenomai] Help with Xeno-test please
  2012-11-20 14:54           ` Sebastian Pavez
@ 2012-11-20 15:09             ` Gilles Chanteperdrix
  2012-11-20 15:42               ` Sebastian Pavez
  0 siblings, 1 reply; 11+ messages in thread
From: Gilles Chanteperdrix @ 2012-11-20 15:09 UTC (permalink / raw)
  To: Sebastian Pavez; +Cc: Xenomai

On 11/20/2012 03:54 PM, Sebastian Pavez wrote:
> El 20/11/2012 11:41 a.m., Gilles Chanteperdrix escribió:
>> On 11/20/2012 03:31 PM, Sebastian Pavez wrote:
>>> ioctl(RTTST_RTIOC_SWTEST_CREATE_KTASK): Cannot allocate memory
>> You still do not have enough memory.
>>
> Ok,
> I have 256 kb for CONFIG_XENO_OPT_SYS_HEAPSZ and 128 kb for 
> CONFIG_XENO_OPT_SYS_STACKPOOLSZ.
> There's a recommended value to these? or I should try a value and look 
> how they works?
> In any case, I'll try to put 512kb for both ...

The default values are for 1 core. If you have 6 cores, multiply by 6.


-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Xenomai] Help with Xeno-test please
  2012-11-20 15:09             ` Gilles Chanteperdrix
@ 2012-11-20 15:42               ` Sebastian Pavez
  2012-12-10 21:54                 ` Sebastian Pavez
  0 siblings, 1 reply; 11+ messages in thread
From: Sebastian Pavez @ 2012-11-20 15:42 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: Xenomai

El 20/11/2012 12:09 p.m., Gilles Chanteperdrix escribió:
> On 11/20/2012 03:54 PM, Sebastian Pavez wrote:
>> El 20/11/2012 11:41 a.m., Gilles Chanteperdrix escribió:
>>> On 11/20/2012 03:31 PM, Sebastian Pavez wrote:
>>>> ioctl(RTTST_RTIOC_SWTEST_CREATE_KTASK): Cannot allocate memory
>>> You still do not have enough memory.
>>>
>> Ok,
>> I have 256 kb for CONFIG_XENO_OPT_SYS_HEAPSZ and 128 kb for
>> CONFIG_XENO_OPT_SYS_STACKPOOLSZ.
>> There's a recommended value to these? or I should try a value and look
>> how they works?
>> In any case, I'll try to put 512kb for both ...
> The default values are for 1 core. If you have 6 cores, multiply by 6.
>
>
Ok, thank you for your answer ...
I know this question is not precisely a xenomai one, but when I try to 
compile the new configuration, I get this:
labcontrol@labcontrol:/usr/src/linux-3.2.32$ make
scripts/kconfig/conf --silentoldconfig Kconfig

*** Error during update of the configuration.

make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make[1]: Nothing to be done for `relocs'.
make: *** No rule to make target `include/config/auto.conf', needed by 
`include/config/kernel.release'.  Stop.

Why is that??


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Xenomai] Help with Xeno-test please
  2012-11-20 15:42               ` Sebastian Pavez
@ 2012-12-10 21:54                 ` Sebastian Pavez
  2012-12-10 22:09                   ` Gilles Chanteperdrix
  0 siblings, 1 reply; 11+ messages in thread
From: Sebastian Pavez @ 2012-12-10 21:54 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: Xenomai

El 20/11/2012 12:42 p.m., Sebastian Pavez escribió:
> El 20/11/2012 12:09 p.m., Gilles Chanteperdrix escribió:
>> On 11/20/2012 03:54 PM, Sebastian Pavez wrote:
>>> El 20/11/2012 11:41 a.m., Gilles Chanteperdrix escribió:
>>>> On 11/20/2012 03:31 PM, Sebastian Pavez wrote:
>>>>> ioctl(RTTST_RTIOC_SWTEST_CREATE_KTASK): Cannot allocate memory
>>>> You still do not have enough memory.
>>>>
>>> Ok,
>>> I have 256 kb for CONFIG_XENO_OPT_SYS_HEAPSZ and 128 kb for
>>> CONFIG_XENO_OPT_SYS_STACKPOOLSZ.
>>> There's a recommended value to these? or I should try a value and look
>>> how they works?
>>> In any case, I'll try to put 512kb for both ...
>> The default values are for 1 core. If you have 6 cores, multiply by 6.
>>
>>
> Ok, thank you for your answer ...
> I know this question is not precisely a xenomai one, but when I try to 
> compile the new configuration, I get this:
> labcontrol@labcontrol:/usr/src/linux-3.2.32$ make
> scripts/kconfig/conf --silentoldconfig Kconfig
>
> *** Error during update of the configuration.
>
> make[2]: *** [silentoldconfig] Error 1
> make[1]: *** [silentoldconfig] Error 2
> make[1]: Nothing to be done for `relocs'.
> make: *** No rule to make target `include/config/auto.conf', needed by 
> `include/config/kernel.release'.  Stop.
>
> Why is that??
Hi Gilles,

I finally reconfigured my kernel with 2048 kb for 
CONFIG_XENO_OPT_SYS_HEAPSZ and 1024 kb for CONFIG_XENO_OPT_SYS_STACKPOOLSZ.
And the command  xeno-test -l "dohell -b 
/home/labcontrol/Downloads/ltp-full-20120903/testcases/kernel/sched/cfs-scheduler/hackbench 
10800" works.

I want to analyze the results, but I'm not able to find the log of the 
test. I read that it should be in the /tmp folder, but I didn't find 
anything.
I know this question is quite trivial compared to the others subjects of 
the mail-list you're answering right now, but where I could find those 
resulst? I have to choose a path?

Thanks for your time,
Seba.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Xenomai] Help with Xeno-test please
  2012-12-10 21:54                 ` Sebastian Pavez
@ 2012-12-10 22:09                   ` Gilles Chanteperdrix
  0 siblings, 0 replies; 11+ messages in thread
From: Gilles Chanteperdrix @ 2012-12-10 22:09 UTC (permalink / raw)
  To: Sebastian Pavez; +Cc: Xenomai

On 12/10/2012 10:54 PM, Sebastian Pavez wrote:

> El 20/11/2012 12:42 p.m., Sebastian Pavez escribió:
>> El 20/11/2012 12:09 p.m., Gilles Chanteperdrix escribió:
>>> On 11/20/2012 03:54 PM, Sebastian Pavez wrote:
>>>> El 20/11/2012 11:41 a.m., Gilles Chanteperdrix escribió:
>>>>> On 11/20/2012 03:31 PM, Sebastian Pavez wrote:
>>>>>> ioctl(RTTST_RTIOC_SWTEST_CREATE_KTASK): Cannot allocate memory
>>>>> You still do not have enough memory.
>>>>>
>>>> Ok,
>>>> I have 256 kb for CONFIG_XENO_OPT_SYS_HEAPSZ and 128 kb for
>>>> CONFIG_XENO_OPT_SYS_STACKPOOLSZ.
>>>> There's a recommended value to these? or I should try a value and look
>>>> how they works?
>>>> In any case, I'll try to put 512kb for both ...
>>> The default values are for 1 core. If you have 6 cores, multiply by 6.
>>>
>>>
>> Ok, thank you for your answer ...
>> I know this question is not precisely a xenomai one, but when I try to 
>> compile the new configuration, I get this:
>> labcontrol@labcontrol:/usr/src/linux-3.2.32$ make
>> scripts/kconfig/conf --silentoldconfig Kconfig
>>
>> *** Error during update of the configuration.
>>
>> make[2]: *** [silentoldconfig] Error 1
>> make[1]: *** [silentoldconfig] Error 2
>> make[1]: Nothing to be done for `relocs'.
>> make: *** No rule to make target `include/config/auto.conf', needed by 
>> `include/config/kernel.release'.  Stop.
>>
>> Why is that??
> Hi Gilles,
> 
> I finally reconfigured my kernel with 2048 kb for 
> CONFIG_XENO_OPT_SYS_HEAPSZ and 1024 kb for CONFIG_XENO_OPT_SYS_STACKPOOLSZ.
> And the command  xeno-test -l "dohell -b 
> /home/labcontrol/Downloads/ltp-full-20120903/testcases/kernel/sched/cfs-scheduler/hackbench 
> 10800" works.
> 
> I want to analyze the results, but I'm not able to find the log of the 
> test. I read that it should be in the /tmp folder, but I didn't find 
> anything.
> I know this question is quite trivial compared to the others subjects of 
> the mail-list you're answering right now, but where I could find those 
> resulst? I have to choose a path?
> 
> Thanks for your time,
> Seba.


The logs are not saved to a file and are printed directly on xeno-test
standard output. You should be able to redirect them or pipe them into
tee if you want to save them to a file.

And as usual, for meaningful results, you should use dohell -s and -m
arguments.

-- 
                                                                Gilles.



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-12-10 22:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-19 15:10 [Xenomai] Help with Xeno-test please Sebastian Pavez
2012-11-19 15:22 ` Gilles Chanteperdrix
2012-11-19 15:39   ` Sebastian Pavez
2012-11-19 16:17     ` Gilles Chanteperdrix
2012-11-20 14:31       ` Sebastian Pavez
2012-11-20 14:41         ` Gilles Chanteperdrix
2012-11-20 14:54           ` Sebastian Pavez
2012-11-20 15:09             ` Gilles Chanteperdrix
2012-11-20 15:42               ` Sebastian Pavez
2012-12-10 21:54                 ` Sebastian Pavez
2012-12-10 22:09                   ` Gilles Chanteperdrix

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.