[PD] Latency

Bernardo Barros bernardobarros2 at gmail.com
Fri Sep 17 17:21:46 CEST 2010


Get an real-time kernel if possible.

Tune your system:

check here for a test script:
https://realtimeconfigquickscan.googlecode.com/hg/

When I need full power I use this script:
(I think you have to install some package for this, I dont use ubuntu)

#!/bin/bash

/sbin/sysctl -w vm.swappiness=10
tuned-adm profile latency-performance

Also you have to create a 'audio' group, add yourself to this group
and edit etc/security/limits like this:
(it seems that ubuntu changed this path for some strange reason, you
have to check it)

@audio soft cpu unlimited
@audio - rtprio 100
@audio - memlock unlimited
@audio - nice -20


2010/9/17 Pedro Lopes <pedro.lopes at ist.utl.pt>:
> Linux-wise, quick pointers:
> - rt-kernel
> - jack realtime enabled (try lowering latency by manipulating audio buffer
> size and period)
> - pd (startup flags -rt -jack)
> [you should configure jack to run realtime, add audio user to the
> limits.conf, etc.. etc... see the web or UbuntuStudio low latency tutorial,
> nice reading]
> I use H4 audio sound card, native USB audio driver recognized in Linux
> (Ubuntu 9.10 rt) and have really low latency.
>
> On Fri, Sep 17, 2010 at 3:58 PM, Ed Kelly <morph_2016 at yahoo.co.uk> wrote:
>>
>> Hi List,
>>
>> What is the best recipe for low latency, using a laptop with no ieee1394
>> (firewire) and only USB under Windows or Linux?
>>  Metastudio 4 for Pure Data - coming soon!!
>>
>>
>>
>>
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>
>
>
> --
> Pedro Lopes (ongoing MSc)
> contact: pedro.lopes at ist.utl.pt
> website: http://web.ist.utl.pt/Pedro.Lopes
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>



More information about the Pd-list mailing list