Sorry for corrupted output. I had to compose the email in a browser. I will try to fix that.
-- Best regards. Maksim Rodin 21.06.2018, 12:13, "Максим" <a23s4a2...@yandex.ru>: > Here is the vmstat result. It can be seen clear when I start a youtube > video in firefox. CPU usage jumps and falls, whenI close the tab with > that video.I cannon imagine what can be a bottleneck in the system with > core i3 cpu, 8 gb ram and ssd when the only "heavy" processis firefox > with 10 open tabs, the rest is tmux with a few terminals and thunderbird.? I > also tried setting machdep.allowaperture=2 to 0 following Thomas Frohwein's > advice butI didn't see any changes after reboot. And I also remember that > I didn't change that parameter by hand.I suppose it was set automatically > by the system installer when I chose "Do you expect to run the X Window > System? [yes]"And I don't see any hint in "man xf86" that it has anything > to do with performance restrictions.? doas vmstat -w 5? procs? ? ? > memory? ? ? ? ? ? page? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? disks? ? ? > traps? ? ? ? ? ? ? ? ? cpu? r? ? s? ? avm? ? ? ? fre? flt? re? > pi? po? fr? sr sd0 cd0? int? ? sys? ? cs us sy id? 3 293 1804M? ? > 4266M? 897? ? 0? ? 0? ? 0? ? 0? ? 0? ? 2? ? 0? 102 13798 1903? > 4? 2 94? 0 295 1799M? ? 4271M? 501? ? 0? ? 0? ? 0? ? 0? ? 0? ? > 0? ? 0? 156? 8505 1347? 1? 1 98? 3 292 1799M? ? 4271M? ? 34? ? > 0? ? 0? ? 0? ? 0? ? 0? ? 0? ? 0? 151? 6959 1113? 0? 0 100? 2 > 292 1760M? ? 4307M? 465? ? 0? ? 0? ? 0? ? 0? ? 0? ? 0? ? 0? 187 > 11689 1386? 2? 1 96? 1 295 1759M? ? 4308M 3519? ? 0? ? 0? ? 0? ? > 0? ? 0? ? 0? ? 0? 248 27514 4037 11? 6 82? 3 298 1802M? ? 4234M > 6631? ? 0? ? 0? ? 0? ? 0? ? 0? ? 1? ? 0? 296 64983 6072 26 11 61? 4 > 300 1837M? ? 4202M 8481? ? 0? ? 0? ? 0? ? 0? ? 0? 76? ? 0 350 > 62912 7460 30 12 57? 5 302 1929M? ? 4100M 16860? ? 0? ? 0? ? 0? ? > 0? ? 0? ? 0? ? 0? 537 87017 9736 58 16 24? 2 305 1912M? ? 4082M > 9525? ? 0? ? 0? ? 0? ? 0? ? 0? ? 0? ? 0? 210 42731 5417 40 11 47? 5 > 302 1911M? ? 4095M 9629? ? 0? ? 0? ? 0? ? 0? ? 0? ? 7? ? 0? 364 > 70279 9421 38 13 48? 2 311 1927M? ? 4038M 9220? ? 0? ? 0? ? 0? ? > 0? ? 0? ? 0? ? 0? 590 77202 9896 35 13 49? 5 311 1970M? ? 4021M > 10586? ? 0? ? 0? ? 0? ? 0? ? 0? ? 0? ? 0? 552 110548 17876 49 20 > 28? 3 311 2047M? ? 3900M 16934? ? 0? ? 0? ? 0? ? 0? ? 0? ? 0? ? 0 > 1491 105224 18734 55 31? 7? 8 305 2101M? ? 3832M 18703? ? 0? ? 0? ? > 0? ? 0? ? 0? ? 0? ? 0 2149 85147 16381 55 37? 0? 7 306 2115M? ? > 3794M 8234? ? 0? ? 0? ? 0? ? 0? ? 0? ? 0? ? 0? 626 68552 12057 43 > 23 30? 0 312 2079M? ? 3830M 7116? ? 0? ? 0? ? 0? ? 0? ? 0? ? 0? ? > 0? 367 90852 12290 49 17 32? 2 306 2082M? ? 3847M 5519? ? 0? ? 0? ? > 0? ? 0? ? 0? ? 0? ? 0? 322 65909 10800 34 14 51? 4 303 2061M? ? > 3850M 6255? ? 0? ? 0? ? 0? ? 0? ? 0? ? 5? ? 0? 410 72349 11289 32 > 17 50? 7 300 2063M? ? 3863M 6900? ? 0? ? 0? ? 0? ? 0? ? 0? ? 0? ? > 0? 435 78476 11630 49 21 28? 3 304 2064M? ? 3856M 4617? ? 0? ? 0? ? > 0? ? 0? ? 0? ? 0? ? 0? 580 61415 9961 31 16 52? 3 305 2017M? ? > 3934M 10344? ? 0? ? 0? ? 0? ? 0? ? 0? ? 0? ? 0? 545 73093 10099 > 38 16 44? 0 307 1945M? ? 4007M 1864? ? 0? ? 0? ? 0? ? 0? ? 0? ? > 0? ? 0? 141 12998 1624? 3? 4 92? 3 305 1921M? ? 4026M? 897? ? > 0? ? 0? ? 0? ? 0? ? 0? ? 0? ? 0? 148 13916 1589? 6? 2 92? 2 305 > 1921M? ? 4045M? 572? ? 0? ? 0? ? 0? ? 0? ? 0? 15? ? 0? 185 > 10068 1267? 2? 1 97? 1 306 1846M? ? 4120M 3488? ? 0? ? 0? ? 0? ? > 0? ? 0? ? 0? ? 0? 179 14300 2274 19? 4 76? --? ? ? ? ? 20.06.2018, > 16:04, "IL Ka" <kazakevichi...@gmail.com>: > > Have you tried vmstat to find bottleneck: is it CPU in userspace or > in kernel or storage?Which WM are you using? Could it be WM issue?Try > to use lower resolution? ? (I know that resolution is locked for > LCDs, but you can try just to make sure it is not the problem)