[LAU] Simple, easy multithreaded circular buffer library for Linux?

Brad Fuller bradallenfuller at gmail.com
Fri Oct 17 14:49:02 EDT 2008


On Fri, Oct 17, 2008 at 7:39 AM, Olivier Guilyardi <ml at xung.org> wrote:
> LAUsers could you please run this test on various architectures? Especially
> PowerPC single-cpu and SMP, x86 single-cpu, SMP, in various flavors, etc...

$ uname -a
Linux IVES 2.6.25-gentoo-r7-a #3 SMP PREEMPT Wed Oct 1 14:45:40 PDT
2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
AuthenticAMD GNU/Linux


=== Jack ringbuffer test ===
starting ringbuffer stress test (2 minutes max)
buffer size (bytes): 512
array size (bytes): 256
reader started on cpu 1
writer started on cpu: 0
42496 != 42368 at offset 0
failure in chunk 317080

=== Jack ringbuffer test (with fix 1) ===
starting ringbuffer stress test (2 minutes max)
buffer size (bytes): 512
array size (bytes): 256
reader started on cpu 1
writer started on cpu: 0
Success

=== Portaudio ringbuffer test ===
starting ringbuffer stress test (2 minutes max)
buffer size (bytes): 512
array size (bytes): 256
writer started on cpu: 1
reader started on cpu 0
Success

=== Portaudio ringbuffer test (without memory barriers) ===
starting ringbuffer stress test (2 minutes max)
buffer size (bytes): 512
array size (bytes): 256
reader started on cpu 0
writer started on cpu: 1
Success

-- 
Brad Fuller



More information about the Linux-audio-user mailing list