We have moved to a new Sailfish OS Forum. Please start new discussions there.
5

experiencing audiolags by high systemload

asked 2017-11-18 22:35:18 +0300

shanti gravatar image

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
edit retag flag offensive close delete

Comments

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 +0300 )edit

thanks 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 (?)

analyzing CPU 4:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 0.00 ms.
analyzing CPU 5:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 0.00 ms.

not sure if that is related

shanti ( 2017-11-19 15:23:09 +0300 )edit

the high load make audio/video even sailbook quite unuseable .. how can I debug this ? ideas please :-) !?

shanti ( 2017-11-26 00:21:41 +0300 )edit

these 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 +0300 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2017-11-26 00:44:49 +0300

deloptes gravatar image

updated 2017-11-26 00:46:44 +0300

Regarding the bugs - I received information that Bugzilla @mer should be used.

When testing with developer mode off, audio and video performance were quite good. No remarks. However I did not test extensively, just normal daily routines.

PS: I have also seen the kernel oops in different scenarios, I think it needs explanation, but I did not have time to go through the bugs @mer.

PS: @the moment bugzilla subscriptions are disabled: Spam

edit flag offensive delete publish link more

Comments

upgraded to 2.2.0.29 implemented a cronjob to check systemload even when dev-tools disabled , and it still shows an average sysload of about ~5

i still feel that things take longer than expected and yes videos still lag.

shanti ( 2018-06-10 12:49:57 +0300 )edit

Yes indeed, it is =>5

deloptes ( 2018-06-10 22:53:45 +0300 )edit
0

answered 2018-11-09 19:09:49 +0300

shanti gravatar image

updated 2018-11-09 19:12:21 +0300

this issue is still in Lemmejoki :-( .. but improved .. now the averageload is 6 .. audiolags via bluetooth increased ..

i simply dont understand why a cutting edge OS sails with an End-Of-Life-Stoneage-Kernel

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2017-11-18 22:35:18 +0300

Seen: 349 times

Last updated: Nov 09 '18