All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Is such latency normal?
@ 2009-03-06  9:09 Sergey PENIAZ
  2009-03-06  9:29 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 5+ messages in thread
From: Sergey PENIAZ @ 2009-03-06  9:09 UTC (permalink / raw)
  To: xenomai

Hello,

I'm novice at xenomai. I just builded xenomai for platform based on "Intel(R) 
Pentium(R) 4 CPU 1500MHz". And I obtained next latency values. Are such 
values normal for this cpu? Or maybe is there a way to decrease them? 

testpc:/usr/xenomai/bin# ./cyclictest -i 200 -p99 -t 5
0.02 0.02 0.00 1/70 3272

T: 0 ( 3268) P:99 I: 200 C: 59941 Min: 2 Act: 12 Avg: 8 Max: 21
T: 1 ( 3269) P:98 I: 700 C: 17126 Min: 3 Act: 8 Avg: 11 Max: 35
T: 2 ( 3270) P:97 I: 1200 C: 9991 Min: 9 Act: 20 Avg: 15 Max: 43
T: 3 ( 3271) P:96 I: 1700 C: 7052 Min: 3 Act: 8 Avg: 13 Max: 52
T: 4 ( 3272) P:95 I: 2200 C: 5450 Min: 12 Act: 13 Avg: 17 Max: 61

-- 
With Best Regards
Sergey Peniaz
Visutech System Ltd.

E-Mail:Sergey.Peniaz@domain.hid


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

* Re: [Xenomai-help] Is such latency normal?
  2009-03-06  9:09 [Xenomai-help] Is such latency normal? Sergey PENIAZ
@ 2009-03-06  9:29 ` Gilles Chanteperdrix
  2009-03-06 10:10   ` Sergey PENIAZ
  0 siblings, 1 reply; 5+ messages in thread
From: Gilles Chanteperdrix @ 2009-03-06  9:29 UTC (permalink / raw)
  To: Sergey PENIAZ; +Cc: xenomai

Sergey PENIAZ wrote:
> Hello,
> 
> I'm novice at xenomai. I just builded xenomai for platform based on "Intel(R) 
> Pentium(R) 4 CPU 1500MHz". And I obtained next latency values. Are such 
> values normal for this cpu? Or maybe is there a way to decrease them? 
> 
> testpc:/usr/xenomai/bin# ./cyclictest -i 200 -p99 -t 5
> 0.02 0.02 0.00 1/70 3272
> 
> T: 0 ( 3268) P:99 I: 200 C: 59941 Min: 2 Act: 12 Avg: 8 Max: 21
> T: 1 ( 3269) P:98 I: 700 C: 17126 Min: 3 Act: 8 Avg: 11 Max: 35
> T: 2 ( 3270) P:97 I: 1200 C: 9991 Min: 9 Act: 20 Avg: 15 Max: 43
> T: 3 ( 3271) P:96 I: 1700 C: 7052 Min: 3 Act: 8 Avg: 13 Max: 52
> T: 4 ( 3272) P:95 I: 2200 C: 5450 Min: 12 Act: 13 Avg: 17 Max: 61

The latencies of other threads than the one which runs with the highest
priority are not all that significant, so, the only figure which matters
is 21us. It does not seem that bad.

However, notice than when running cyclictest or latency, you should
apply a load of some sort, such as dd, ping flood, calibrator, etc...

Also, did you check SMIs?

-- 
                                                 Gilles.


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

* Re: [Xenomai-help] Is such latency normal?
  2009-03-06  9:29 ` Gilles Chanteperdrix
@ 2009-03-06 10:10   ` Sergey PENIAZ
  2009-03-06 10:13     ` Gilles Chanteperdrix
  0 siblings, 1 reply; 5+ messages in thread
From: Sergey PENIAZ @ 2009-03-06 10:10 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai


Thanks for you help. 

> Also, did you check SMIs?
Do you mean this?

testpc:/usr/src/linux-2.6.26.8# cat .config | grep SMI
# SMI workaround
# CONFIG_XENO_HW_SMI_DETECT_DISABLE is not set
CONFIG_XENO_HW_SMI_DETECT=y
# CONFIG_XENO_HW_SMI_WORKAROUND is not set



On 6 March 2009, Gilles Chanteperdrix wrote:
> Sergey PENIAZ wrote:
> > Hello,
> >
> > I'm novice at xenomai. I just builded xenomai for platform based on
> > "Intel(R) Pentium(R) 4 CPU 1500MHz". And I obtained next latency values.
> > Are such values normal for this cpu? Or maybe is there a way to decrease
> > them?
> >
> > testpc:/usr/xenomai/bin# ./cyclictest -i 200 -p99 -t 5
> > 0.02 0.02 0.00 1/70 3272
> >
> > T: 0 ( 3268) P:99 I: 200 C: 59941 Min: 2 Act: 12 Avg: 8 Max: 21
> > T: 1 ( 3269) P:98 I: 700 C: 17126 Min: 3 Act: 8 Avg: 11 Max: 35
> > T: 2 ( 3270) P:97 I: 1200 C: 9991 Min: 9 Act: 20 Avg: 15 Max: 43
> > T: 3 ( 3271) P:96 I: 1700 C: 7052 Min: 3 Act: 8 Avg: 13 Max: 52
> > T: 4 ( 3272) P:95 I: 2200 C: 5450 Min: 12 Act: 13 Avg: 17 Max: 61
>
> The latencies of other threads than the one which runs with the highest
> priority are not all that significant, so, the only figure which matters
> is 21us. It does not seem that bad.
>
> However, notice than when running cyclictest or latency, you should
> apply a load of some sort, such as dd, ping flood, calibrator, etc...
>
> Also, did you check SMIs?



-- 
With Best Regards
Sergey Peniaz
Visutech System Ltd.

E-Mail:Sergey.Peniaz@domain.hid


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

* Re: [Xenomai-help] Is such latency normal?
  2009-03-06 10:10   ` Sergey PENIAZ
@ 2009-03-06 10:13     ` Gilles Chanteperdrix
  2009-03-06 10:58       ` Sergey PENIAZ
  0 siblings, 1 reply; 5+ messages in thread
From: Gilles Chanteperdrix @ 2009-03-06 10:13 UTC (permalink / raw)
  To: Sergey PENIAZ; +Cc: xenomai

Sergey PENIAZ wrote:
> Thanks for you help. 
> 
>> Also, did you check SMIs?
> Do you mean this?
> 
> testpc:/usr/src/linux-2.6.26.8# cat .config | grep SMI
> # SMI workaround
> # CONFIG_XENO_HW_SMI_DETECT_DISABLE is not set
> CONFIG_XENO_HW_SMI_DETECT=y
> # CONFIG_XENO_HW_SMI_WORKAROUND is not set

I mean, did you read the TROUBLESHOOTING guide and applied what you
found there ?

-- 
                                                 Gilles.


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

* Re: [Xenomai-help] Is such latency normal?
  2009-03-06 10:13     ` Gilles Chanteperdrix
@ 2009-03-06 10:58       ` Sergey PENIAZ
  0 siblings, 0 replies; 5+ messages in thread
From: Sergey PENIAZ @ 2009-03-06 10:58 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai


Yes.

Thanks.

On 6 March 2009, Gilles Chanteperdrix wrote:
> Sergey PENIAZ wrote:
> > Thanks for you help.
> >
> >> Also, did you check SMIs?
> >
> > Do you mean this?
> >
> > testpc:/usr/src/linux-2.6.26.8# cat .config | grep SMI
> > # SMI workaround
> > # CONFIG_XENO_HW_SMI_DETECT_DISABLE is not set
> > CONFIG_XENO_HW_SMI_DETECT=y
> > # CONFIG_XENO_HW_SMI_WORKAROUND is not set
>
> I mean, did you read the TROUBLESHOOTING guide and applied what you
> found there ?


-- 
With Best Regards
Sergey Peniaz
Visutech System Ltd.

E-Mail:Sergey.Peniaz@domain.hid


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

end of thread, other threads:[~2009-03-06 10:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-06  9:09 [Xenomai-help] Is such latency normal? Sergey PENIAZ
2009-03-06  9:29 ` Gilles Chanteperdrix
2009-03-06 10:10   ` Sergey PENIAZ
2009-03-06 10:13     ` Gilles Chanteperdrix
2009-03-06 10:58       ` Sergey PENIAZ

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.