experiencing audiolags by high systemload
Hi,
1st up:
I am very happy with my XperiaX SailfishOS 2.1.3.7 (Kymijoki) :-)
i noticed laags in audio under really idle conditions
I found that within the first minute up the load jumps to ~5 with no apps really running
anyone having similiar issues ?
br
top - 21:00:01 up 0 min, 1 user, load average: 4.92, 1.53, 0.53
Tasks: 491 total, 5 running, 486 sleeping, 0 stopped, 0 zombie
Cpu(s): 5.2%us, 3.1%sy, 0.0%ni, 91.1%id, 0.1%wa, 0.4%hi, 0.2%si, 0.0%st
Mem: 2904544k total, 1304428k used, 1600116k free, 38216k buffers
Swap: 0k total, 0k used, 0k free, 594976k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4732 system 18 -2 621m 56m 23m S 12.1 2.0 0:06.11 system_server
2702 nemo 20 0 336m 126m 64m S 4.2 4.4 0:14.98 lipstick
5137 10002 20 0 535m 45m 13m S 3.9 1.6 0:00.70 ndroid.systemui
1451 dbus 20 0 5540 2564 1208 S 2.0 0.1 0:01.81 dbus-daemon
3080 root 20 0 22856 4408 3452 S 2.0 0.2 0:00.52 connmand
5497 nemo 20 0 2616 1168 700 R 1.6 0.0 0:00.52 top
308 root RT 0 0 0 0 S 1.0 0.0 0:01.36 cfinteractive
1497 root 20 0 83932 7516 6268 S 0.7 0.3 0:00.46 sensorfwd
1567 9999 20 0 39224 2392 1424 S 0.7 0.1 0:00.36 sensors.qcom
3004 root 20 0 0 0 0 S 0.7 0.0 0:00.08 kworker/u12:10
as quick guess i would blame the old 3.10-kernel .. i'd love a 4.4< branch better
i also see tons of errors in DMESG .. like:
Nov 18 20:59:06 Sailfish droid-hal-init: couldn't write 0 to /dev/cpuset/system-background/tasks: No space left on device
Mar 29 21:04:23 Sailfish kernel: Unable to find CPU node for /cpus/cpu@101
Mar 29 21:04:23 Sailfish kernel: /cpus/cpu-map/cluster1/core1: Can't get CPU for leaf core
Mar 29 21:04:23 Sailfish kernel: /cpus/cpu@0: Missing clock-frequency property
Mar 29 21:04:23 Sailfish kernel: /cpus/cpu@1: Missing clock-frequency property
Mar 29 21:04:23 Sailfish kernel: /cpus/cpu@2: Missing clock-frequency property
Mar 29 21:04:23 Sailfish kernel: /cpus/cpu@3: Missing clock-frequency property
Mar 29 21:04:23 Sailfish kernel: /cpus/cpu@100: Missing clock-frequency property
Mar 29 21:04:23 Sailfish kernel: /cpus/cpu@103: Missing clock-frequency property
Mar 29 21:04:23 Sailfish kernel: MSM-CPP cpp_probe:3829 Bus master 1
Mar 29 21:04:23 Sailfish kernel: ------------[ cut here ]------------
Mar 29 21:04:23 Sailfish kernel: WARNING: at /home/abuild/rpmbuild/BUILD/kernel/sony/msm/drivers/clk/qcom/clock-local2.c:216 0xf
Mar 29 21:04:23 Sailfish kernel: Attempting to prepare camss_top_ahb_clk_src before setting its rate. Set the rate first!
Mar 29 21:04:23 Sailfish kernel: CPU: 4 PID: 1 Comm: swapper/0 Not tainted 3.10.84 #1
Mar 29 21:04:23 Sailfish kernel: Call trace:
Mar 29 21:04:23 Sailfish kernel: [<ffffffc00008762c>] 0xffffffc00008762c
I experience laggy audio in Android apps sometimes. The way i solve it is to do something more heavy in parallel, e.g. reload a tab in the web browser. This seems a bit counter-intuitive, but my guess is that it is connected to the known fault of "big cores" not getting enabled as qjickly as one would like.
attah ( 2017-11-19 10:36:49 +0200 )editthanks for the hint
installed the cpufrequtils-tool ( zypper install cpufrequtils ) and it seems SFOS sees 6 CPUs , whereas 2 of them can not properly be initiated (?)
not sure if that is related
shanti ( 2017-11-19 15:23:09 +0200 )editthe high load make audio/video even sailbook quite unuseable .. how can I debug this ? ideas please :-) !?
shanti ( 2017-11-26 00:21:41 +0200 )editthese CPU-frequency-messages vanished in 2.2.0.29 (Mouhijoki) .. still the load is always above 5 ..
actually i am testing this: link text
shanti ( 2018-08-11 18:17:46 +0200 )edit