]> code.delx.au - pulseaudio/commitdiff
daemon: disable CPU load limiter by default
authorLennart Poettering <lennart@poettering.net>
Fri, 4 Sep 2009 00:47:48 +0000 (02:47 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 4 Sep 2009 00:48:37 +0000 (02:48 +0200)
RLIMIT_RTTIME and rtki can do this job much better, so let's disable
this by default.

man/pulse-daemon.conf.5.xml.in
src/daemon/daemon-conf.c
src/daemon/daemon.conf.in

index 82c2b8e5d9e9a7c2c10b37fb45e8194ef717e84f..e6b1e1908d53f4ae20e90fbcbf88bacc031a148e 100644 (file)
@@ -133,11 +133,11 @@ USA.
     </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
       useful when debugging/profiling PulseAudio to disable disturbing
       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>
     </option>
 
index ec1ec5ced6643ce47d48cb8050ed66e01059642e..6e7926f834d307b804190002437c889cbe7f00e2 100644 (file)
@@ -83,7 +83,7 @@ static const pa_daemon_conf default_conf = {
     .config_file = NULL,
     .use_pid_file = TRUE,
     .system_instance = FALSE,
-    .no_cpu_limit = FALSE,
+    .no_cpu_limit = TRUE,
     .disable_shm = FALSE,
     .lock_memory = FALSE,
     .default_n_fragments = 4,
index d8b58d8a0a40d729fa24ee388e82f79594322c60..db2059e1a4bc3cf40732d686d92b3a720b47b35c 100644 (file)
@@ -28,7 +28,7 @@
 ; enable-shm = yes
 ; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
 ; lock-memory = no
-; cpu-limit = yes
+; cpu-limit = no
 
 ; high-priority = yes
 ; nice-level = -11