All of lore.kernel.org
 help / color / mirror / Atom feed
* re: The 10ms averager in fair.c
@ 2012-09-30 12:16 Uwaysi Bin Kareem
  0 siblings, 0 replies; 9+ messages in thread
From: Uwaysi Bin Kareem @ 2012-09-30 12:16 UTC (permalink / raw)
  To: linux-kernel

I also did a quick hack changing some of those values, giving  
non-interrputed audiostream with audioapp alone, at 0.7ms. (on a core2duo  
@ 2.5ghz)
That is actually better than BFS.

Peace Be With You.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* The 10ms averager in fair.c
@ 2012-09-30 11:44 Uwaysi Bin Kareem
  2012-09-30 19:18 ` Uwaysi Bin Kareem
       [not found] ` <1349064397.6957.26.camel@marge.simpson.net>
  0 siblings, 2 replies; 9+ messages in thread
From: Uwaysi Bin Kareem @ 2012-09-30 11:44 UTC (permalink / raw)
  To: linux-kernel

Hiya. I just had an initial look at fair.c

There seems to be a 10ms averager in there?

You are aware that that means you work on delayed values?

Isn`t that counterintuitive to the principle of sharing?

That means short bursts of cpu-use will be filtered out, and given less  
cpu time.
Starting applications won`t have their cpu-usage before 5ms, which is  
quite a bit on modern machines. Well if you use a linearphase filter, I  
don`t know what kind of averager you use. The best would ofcourse be to  
use a minimalphase gaussian averager. Which might be overkill. Atleast a  
one-pole iir, buf = buf + (-buf + in) * cut)); One pole IIRs also have a  
better frequency response.

When you are working with low-latencies, wouldn`t it be better if such  
things are tuned for target latency. I think few care about latency after  
0.2ms. So say the filter should be set to 0.4ms max.

Why would you want to filter cpu-usage also really?

Peace Be With You.

(please CC me.)

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

end of thread, other threads:[~2012-10-05 19:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-30 12:16 The 10ms averager in fair.c Uwaysi Bin Kareem
  -- strict thread matches above, loose matches on Subject: below --
2012-09-30 11:44 Uwaysi Bin Kareem
2012-09-30 19:18 ` Uwaysi Bin Kareem
     [not found] ` <1349064397.6957.26.camel@marge.simpson.net>
2012-10-01 13:24   ` Uwaysi Bin Kareem
     [not found]     ` <1349146202.7086.23.camel@marge.simpson.net>
2012-10-02  7:04       ` Uwaysi Bin Kareem
2012-10-05 19:54       ` Uwaysi Bin Kareem
2012-10-02  6:56   ` Uwaysi Bin Kareem
     [not found]     ` <1349169555.7086.48.camel@marge.simpson.net>
2012-10-02  8:07       ` Uwaysi Bin Kareem
     [not found]         ` <1349176973.7086.96.camel@marge.simpson.net>
2012-10-02  9:28           ` Uwaysi Bin Kareem

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.