Re: [pulseaudio-discuss] Any way to get PA to wake up less when playing low latency?

2011-10-25 Thread Maarten Bosmans
2011/10/25 Dylan Reid dgr...@chromium.org: I'm playing audio with a latency of 10ms.  This is working pretty well, but it is eating a lot of CPU Is it just due to the constant waking up and cocntext switching, or do some other functions light up on a profile run? Maarten

Re: [pulseaudio-discuss] Any way to get PA to wake up less when playing low latency?

2011-10-25 Thread Dylan Reid
a profiling run didn't show any hot spots. Here is the top of the list: + 2.81%pacat [kernel.kallsyms] [k] read_hpet ▒ + 1.75% pulseaudio [kernel.kallsyms] [k] read_hpet + 1.75% swapper

Re: [pulseaudio-discuss] Any way to get PA to wake up less when playing low latency?

2011-10-25 Thread Pierre-Louis Bossart
Hi Dylan, please use plain text in your messages, HTML makes it hard to quote your text... Your idea of having fewer wakes makes sense. Just technically I think you are confusing latency with frame size. if you want to use 10ms frames for speech processing, you will have a 20ms latency, be that

Re: [pulseaudio-discuss] Any way to get PA to wake up less when playing low latency?

2011-10-25 Thread Dylan Reid
On Tue, Oct 25, 2011 at 9:31 AM, Pierre-Louis Bossart pierre-louis.boss...@linux.intel.com wrote: Hi Dylan, please use plain text in your messages, HTML makes it hard to quote your text... Your idea of having fewer wakes makes sense. Just technically I think you are confusing latency with

[pulseaudio-discuss] Any way to get PA to wake up less when playing low latency?

2011-10-24 Thread Dylan Reid
I'm playing audio with a latency of 10ms. This is working pretty well, but it is eating a lot of CPU. Thanks to the helpfulness of this list, I understand why pulseaudio and pacat wake up every 2ms ((10-2*minreq)/2/2). How hard would it be to configure it to interrupts less? Is it possible to