Re: [ecasound] schedule effects

From: laurent schwartz <schwartz.laurent@email-addr-hidden>
Date: Fri Jun 05 2009 - 16:36:33 EEST

Hello Julien,

I've a laptop dell inspiron 1525 (cpuinfo):

model name : Intel(R) Celeron(R) CPU 550 @ 2.00GHz
cpu MHz : 1995.081
cache size : 1024 KB
bogomips : 3993.60

The cpu is not smp.

/proc/asound/cards:

 0 [UM1 ]: USB-Audio - UM-1
                      EDIROL UM-1 at usb-0000:00:1d.7-4.3.4, full speed
 1 [default ]: USB-Audio - USB Audio CODEC
                      Burr-Brown from TI USB Audio CODEC at
usb-0000:00:1d.7-4.7, full
 2 [Intel ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfe9fc000 irq 19

Your hardware is older than mine ... It is a problem with my setup !

I found a new setup configuration that gives me better result with jackd:
/usr/bin/jackd -R -dalsa -dhw:2 -r44100 -p256 -n4 -Xseq:

Latency displayed by qjackctl: 11,6 ms

If i do not use the computer while playing audio ... no xrun appears with
alsaplayer (playing mp3 file) for 10 mn.

Otherwise xruns occur when using the windowing system ...

Memory usage seems good:
Mem: 2053560k total, 1657276k used, 396284k free, 8972k buffers
Swap: 3012148k total, 20k used, 3012128k free, 906848k cached

Appart from tweaking the system the only thing i can think of is the CPU
power.

May be with a dual core, i could assign a core to sound apps and the other
one to the rest ?

14:31:04.184 JACK connection graph change.
**** alsa_pcm: xrun of at least 0.037 msecs
14:36:41.416 XRUN callback (1).
delay of 3577.000 usecs exceeds estimated spare time of 2733.000; restart
...
14:36:42.175 XRUN callback (1 skipped).
**** alsa_pcm: xrun of at least 0.040 msecs
14:39:22.083 XRUN callback (3).
**** alsa_pcm: xrun of at least 0.037 msecs
14:44:01.362 XRUN callback (4).
delay of 3595.000 usecs exceeds estimated spare time of 2756.000; restart
...
14:44:02.658 XRUN callback (1 skipped).

/etc/security/limits.conf
@audio - rtprio 99
@audio - nice -10
@audio - memlock 400000

Hope this help to fix the problem.

Thanks for your help,
Laurent

2009/6/5 Julien Claassen <julien@email-addr-hidden-lab.de>

> Hello Laurent!
> What's your hardware (CPU, soundcard) and what's your kernel-version and
> how
> did you start JACK.
> FYI: I ran happily on a 700MHz CPU with JACK and Ecasound and other
> software
> synths. OK, my soundcard is a handsome piece. But I've done work with a
> simple
> SBlive or ESS maestro soundcard. It's mostly a question of how to set
> everything.
> Best wishes
> Julien
>
> --------
> Music was my first love and it will be my last (John Miles)
>
> ======== FIND MY WEB-PROJECT AT: ========
> http://ltsb.sourceforge.net
> the Linux TextBased Studio guide
> ======= AND MY PERSONAL PAGES AT: =======
> http://www.juliencoder.de
>
>
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> Ecasound-list mailing list
> Ecasound-list@email-addr-hidden
> https://lists.sourceforge.net/lists/listinfo/ecasound-list
>

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get

_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Fri Jun 5 20:15:02 2009

This archive was generated by hypermail 2.1.8 : Fri Jun 05 2009 - 20:15:02 EEST