Reducing latency with nice, rtprio & memlock

Audio editors, music players, video players, burning software, etc.
Post Reply
Message
Author
User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

Reducing latency with nice, rtprio & memlock

#1 Post by darkcity »

I watched a youtube about setting up real time audio on ubuntu-

they recommended adding three commands in profile setup-

rtprio 99
memlock unlimited
nice -10

it was in a file called some thing like /etc/security/limits.conf

puppy doesn't have this file, but it is possible to use the nice command.

setting a negative nice means the program will hog the resource, which is
what you want your audio progs to do-

for example run jack with a negative nice

Code: Select all

nice --10 qjackctl
is there any Puppy equivalent to

rtprio 99
memlock unlimited

these commands aren't recognised in the terminal

:twisted:

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#2 Post by trapster »

See Here
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#3 Post by darkcity »

Thanks for your answer.

I;ve just spent an age looking at the Arguments for and against ALSA /OSS
http://insanecoding.blogspot.com/2009/0 ... sorry.html

has latencytop been packaged for puppy?
http://latencytop.org/

:twisted: :idea:

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#4 Post by Aitch »

For real low latency, realtime kernel, as done by l0wt3ch for Studio 3/4

Aitch :)

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#5 Post by darkcity »

yep, I've heard Studio 3.3 is a good solution for many. However it doesn't handle pup save files in a standard way and Studio 4 is no longer community developed.

8)

-_-
Posts: 51
Joined: Fri 10 Feb 2012, 20:36

#6 Post by -_- »

I personally prefer Puppy especially as this overheating HP laptop of mine keeps itself cooler with Puppy than with the factory installed Vista. Things change radically with a realtime kernel, so unfortunately I have to avoid using Puppy Studio no matter how works-out-of-the-box version it is...

User avatar
Lothar
Posts: 15
Joined: Thu 02 Jun 2011, 09:01

#7 Post by Lothar »

.
Last edited by Lothar on Thu 31 Oct 2013, 05:28, edited 2 times in total.

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#8 Post by darkcity »

are the following commands just part of PAM http://en.wikipedia.org/wiki/Linux_PAM

rtprio 99
memlock unlimited

?

8)

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#9 Post by Aitch »

:lol: :lol: If only walking with women were as easy. :wink:

Aitch :)

Post Reply