daemon: disable CPU load limiter by default

RLIMIT_RTTIME and rtki can do this job much better, so let's disable
this by default.
This commit is contained in:
Lennart Poettering 2009-09-04 02:47:48 +02:00
parent 5daecea4dd
commit 812be32783
3 changed files with 4 additions and 4 deletions

View file

@ -133,11 +133,11 @@ USA.
</option> </option>
<option> <option>
<p><opt>cpu-limit=</opt> If disabled d not install the CPU load <p><opt>cpu-limit=</opt> If disabled do not install the CPU load
limiter, even on platforms where it is supported. This option is limiter, even on platforms where it is supported. This option is
useful when debugging/profiling PulseAudio to disable disturbing useful when debugging/profiling PulseAudio to disable disturbing
SIGXCPU signals. Takes a boolean argument, defaults to SIGXCPU signals. Takes a boolean argument, defaults to
<opt>yes</opt>. The <opt>--no-cpu-limit</opt> command line <opt>no</opt>. The <opt>--no-cpu-limit</opt> command line
argument takes precedence.</p> argument takes precedence.</p>
</option> </option>

View file

@ -83,7 +83,7 @@ static const pa_daemon_conf default_conf = {
.config_file = NULL, .config_file = NULL,
.use_pid_file = TRUE, .use_pid_file = TRUE,
.system_instance = FALSE, .system_instance = FALSE,
.no_cpu_limit = FALSE, .no_cpu_limit = TRUE,
.disable_shm = FALSE, .disable_shm = FALSE,
.lock_memory = FALSE, .lock_memory = FALSE,
.default_n_fragments = 4, .default_n_fragments = 4,

View file

@ -28,7 +28,7 @@
; enable-shm = yes ; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB ; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no ; lock-memory = no
; cpu-limit = yes ; cpu-limit = no
; high-priority = yes ; high-priority = yes
; nice-level = -11 ; nice-level = -11