[OpenIndiana-discuss] Firefox cpu load / sluggishness

Aurélien Larcher aurelien.larcher at gmail.com
Sun Jan 22 22:18:46 UTC 2017


Hi,
i just came across this:

https://bugzilla.mozilla.org/show_bug.cgi?id=508427

The advice is to set layout.frame_rate to a lower value than the default 60
(-1).
The same applies to Thunderbird.

dtruss shows for 30sec:

// layout.frame_rate = 24
CALL                                        COUNT
getsockname                                     1
open                                            1
doorfs                                          2
getuid                                          2
mmap                                            2
open64                                          2
statvfs64                                       2
unlink                                          2
close                                           3
fstat64                                         4
lwp_kill                                       18
lwp_sigmask                                    18
setcontext                                     18
access                                         35
fcntl                                          38
ioctl                                          73
gtime                                          74
stat64                                        116
lseek                                         160
send                                          419
llseek                                       1355
writev                                       3256
getpid                                       3257
lwp_mutex_timedlock                          3765
lwp_mutex_unlock                             3765
write                                        8997
read                                        11844
yield                                       12086
pollsys                                     27330
recvmsg                                     28980
lwp_park                                    44725
clock_gettime                              154470

// layout.frame_rate = -1
CALL                                        COUNT
mkdir                                           1
open64                                          1
recv                                            1
unlink                                          1
getsockname                                     2
ioctl                                           2
statvfs64                                       2
fdsync                                          3
gtime                                           3
rename                                          3
access                                          4
doorfs                                          4
fstat64                                         4
getuid                                          4
open                                            4
close                                           5
yield                                          12
lwp_kill                                       16
lwp_sigmask                                    16
setcontext                                     16
fcntl                                          51
munmap                                         92
mmap                                          100
stat64                                        115
send                                          419
llseek                                       1399
memcntl                                      2597
getpid                                       2615
lwp_mutex_timedlock                          3838
lwp_mutex_unlock                             3838
write                                        8761
read                                        11410
writev                                      36870
lwp_park                                    44045
clock_gettime                               74407
pollsys                                     94750
recvmsg                                    130168

It seems to lower pollsys count as advertized (if I understood well).

How does this look for you?

Kind regards

Aurélien

-- 
---
Praise the Caffeine embeddings


More information about the openindiana-discuss mailing list