Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Why it so low? Sometime when cpu is high load sound through Pulseaudio becomes choppy. I think this happens because process priority of Pulseaudio has so low value. So why it so low by default if it can cause problems.

share|improve this question

1 Answer 1

up vote 10 down vote accepted

High nice values correspond to low priorities for a process. So a nice value of -11 actually means that Pulse Audio is running with higher priority than most processes on the system.

share|improve this answer
    
nice specifies how much a program is nicer to others, so a -11 nice value mean you are not at all nicer to other program and hence you will get a higher priority. –  Vineet Menon Nov 21 '11 at 12:25
    
Ok, I got it. But why nice value different from another processes in the system? And why sound becomes choppy when cpu is high load? –  Dmitry Misharov Nov 21 '11 at 12:39
1  
Pulse Audio contains code to set its priority (-11 is the default, but it can be changed in the configuration file), which explains why it doesn't have the standard setting of zero. While the boosted priority helps it function correctly, Linux doesn't offer hard real time latency guarantees so it doesn't completely remove the possibility of audio drop outs. –  James Henstridge Nov 22 '11 at 3:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.