All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] [testsuite/latency] intervals are much > than 1 second
@ 2005-12-16 12:53 Dmitry Adamushko
  2005-12-16 13:03 ` Philippe Gerum
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Adamushko @ 2005-12-16 12:53 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]

Hello all,

I have been out of xeno-scope for a while so maybe I successufy missed
something important
that might be the explanation of a problem described below.

The problem is as follows:

x86-ipipe-1.0.10 && xenomai-2.1 (CVS: ~ November, 21)

testsuite/letency is used as it is by defaulty (nsamples = 1 billion (1
second) / sample (e.g.100000 us))

I am used to getting data with ~1-second-interval on the screen when
"latency" is running and so expected to observe the same behaviour now.

Nevertheless, the interval (with all parameters by default) is ~ 4 seconds,
and it gets up to 16-17 seconds when -p 1000 (sampling period == 1 ms.) is
used.

e.g. it took 1 minute and 30 seconds to get 21 lines of statistics on the
screen (-p 100) but should have been ~22-23 seconds.

And the latency thread really reported the presence of collected data 21
times (through rt_sem_v()) .

So have I missed something important? any ideas are wellcome.

--
Best regards,
Dmitry Adamushko

[-- Attachment #2: Type: text/html, Size: 1122 bytes --]

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

* Re: [Xenomai-help] [testsuite/latency] intervals are much > than 1 second
  2005-12-16 12:53 [Xenomai-help] [testsuite/latency] intervals are much > than 1 second Dmitry Adamushko
@ 2005-12-16 13:03 ` Philippe Gerum
  2005-12-16 15:00   ` Gilles Chanteperdrix
  2005-12-17 10:11   ` Dmitry Adamushko
  0 siblings, 2 replies; 4+ messages in thread
From: Philippe Gerum @ 2005-12-16 13:03 UTC (permalink / raw)
  To: Dmitry Adamushko; +Cc: xenomai

Dmitry Adamushko wrote:
> 
> Hello all,
> 
> I have been out of xeno-scope for a while so maybe I successufy missed 
> something important
> that might be the explanation of a problem described below.
> 
> The problem is as follows:
> 
> x86-ipipe-1.0.10 && xenomai-2.1 (CVS: ~ November, 21)
> 
> testsuite/letency is used as it is by defaulty (nsamples = 1 billion (1 
> second) / sample (e.g.100000 us))
> 
> I am used to getting data with ~1-second-interval on the screen when 
> "latency" is running and so expected to observe the same behaviour now.
> 
> Nevertheless, the interval (with all parameters by default) is ~ 4 
> seconds, and it gets up to 16-17 seconds when -p 1000 (sampling period 
> == 1 ms.) is used.
> 
> e.g. it took 1 minute and 30 seconds to get 21 lines of statistics on 
> the screen (-p 100) but should have been ~22-23 seconds.
> 
> And the latency thread really reported the presence of collected data 21 
> times (through rt_sem_v()) .
> 
> So have I missed something important? any ideas are wellcome.
>

Dunno yet, but this reminds me of a trap I've been into recently that 
caused a massive slowdown of the latency test (v2.0.x) whilst the 
reported real-time activity seemed to be ok. Weird enough, actually. The 
explanation was that I mistakenly left the full ACPI support and SUSPEND 
active in my kernel config (Asus box with ICH6 chipset). Shutting them 
down solved the issue. I've not investigated further which one of the 
ACPI options or SUSPEND caused that trouble yet.

> -- 
> Best regards,
> Dmitry Adamushko
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help


-- 

Philippe.


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

* Re: [Xenomai-help] [testsuite/latency] intervals are much > than 1 second
  2005-12-16 13:03 ` Philippe Gerum
@ 2005-12-16 15:00   ` Gilles Chanteperdrix
  2005-12-17 10:11   ` Dmitry Adamushko
  1 sibling, 0 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2005-12-16 15:00 UTC (permalink / raw)
  To: Philippe Gerum; +Cc: xenomai

Philippe Gerum wrote:
 > Dmitry Adamushko wrote:
 > > 
 > > Hello all,
 > > e.g. it took 1 minute and 30 seconds to get 21 lines of statistics on 
 > > the screen (-p 100) but should have been ~22-23 seconds.
 > > 
 > > And the latency thread really reported the presence of collected data 21 
 > > times (through rt_sem_v()) .
 > > 
 > > So have I missed something important? any ideas are wellcome.
 > >
 > 
 > Dunno yet, but this reminds me of a trap I've been into recently that 
 > caused a massive slowdown of the latency test (v2.0.x) whilst the 
 > reported real-time activity seemed to be ok. Weird enough, actually. The 
 > explanation was that I mistakenly left the full ACPI support and SUSPEND 
 > active in my kernel config (Asus box with ICH6 chipset). Shutting them 
 > down solved the issue. I've not investigated further which one of the 
 > ACPI options or SUSPEND caused that trouble yet.

I am observing a similar issue here; after a suspend/resume cycle,
running the latency test gives low latencies and every second is at
least two seconds long.

If I load the cpufreq module, I notice that even if when suspending,
/proc/cpuinfo indicates 1.5 GHz, after resuming, it indicates 600 MHz.

So, maybe, when doing a suspend/resume cycle without the CPUFreq modules
loaded, Linux assumes that the CPU frequency remains the same whereas
ACPI/BIOS changes it ?

-- 


					    Gilles Chanteperdrix.


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

* Re: [Xenomai-help] [testsuite/latency] intervals are much > than 1 second
  2005-12-16 13:03 ` Philippe Gerum
  2005-12-16 15:00   ` Gilles Chanteperdrix
@ 2005-12-17 10:11   ` Dmitry Adamushko
  1 sibling, 0 replies; 4+ messages in thread
From: Dmitry Adamushko @ 2005-12-17 10:11 UTC (permalink / raw)
  To: Philippe Gerum; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 1888 bytes --]

> > Hello all,
> >
> > I have been out of xeno-scope for a while so maybe I successufy missed
> > something important
> > that might be the explanation of a problem described below.
> >
> > The problem is as follows:
> >
> > x86-ipipe-1.0.10 && xenomai-2.1 (CVS: ~ November, 21)
> >
> > testsuite/letency is used as it is by defaulty (nsamples = 1 billion (1
> > second) / sample (e.g.100000 us))
> >
> > I am used to getting data with ~1-second-interval on the screen when
> > "latency" is running and so expected to observe the same behaviour now.
> >
> > Nevertheless, the interval (with all parameters by default) is ~ 4
> > seconds, and it gets up to 16-17 seconds when -p 1000 (sampling period
> > == 1 ms.) is used.
> >
> > e.g. it took 1 minute and 30 seconds to get 21 lines of statistics on
> > the screen (-p 100) but should have been ~22-23 seconds.
> >
> > And the latency thread really reported the presence of collected data 21
> > times (through rt_sem_v()) .
> >
> > So have I missed something important? any ideas are wellcome.
> >
>
> Dunno yet, but this reminds me of a trap I've been into recently that
> caused a massive slowdown of the latency test (v2.0.x) whilst the
> reported real-time activity seemed to be ok. Weird enough, actually. The
> explanation was that I mistakenly left the full ACPI support and SUSPEND
> active in my kernel config (Asus box with ICH6 chipset). Shutting them
> down solved the issue. I've not investigated further which one of the
> ACPI options or SUSPEND caused that trouble yet.


Thanks for a hint. I have mistakenly used an improper .config as a base for
the recently built xeno-aware kernel. ACPI support was on.

Yep, it seemed the flow of time was ~4 times slower than normally but no
overruns were encountered.

>
> --
>
> Philippe.
>

--
Best regards,
Dmitry Adamushko

[-- Attachment #2: Type: text/html, Size: 2350 bytes --]

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

end of thread, other threads:[~2005-12-17 10:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-16 12:53 [Xenomai-help] [testsuite/latency] intervals are much > than 1 second Dmitry Adamushko
2005-12-16 13:03 ` Philippe Gerum
2005-12-16 15:00   ` Gilles Chanteperdrix
2005-12-17 10:11   ` Dmitry Adamushko

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.