On Fri, 22 Jan 2016 22:46:39 +0100 (CET) Mark Kettenis <mark.kette...@xs4all.nl> wrote:
> Firefox makes a lot of concurrent malloc(3) calls. The locking to > make malloc(3) thread-safe is a bit...suboptimal. This diff makes > things better by using a mutex instead of spinlock. If you're running > Firefox you want to try it; it makes video watchable on some machines. > If you're not running Firefox you want to try it; to make sure it > doesn't break things. > > Enjoy, > > Mark > ' Applied to a Jan 15h snapshot sources. Youtube is not fully 'watchable' on firefox but feels significantly better. I can also now watch full screen youtube videos on chromium 1920x1080 with no stutter (lenovo g50-70). Generally gnome 3 feels a bit snappier especially on first load, bringing up the menu searching for 'terminal' leads to a faster rendering of the results. This might be just 'imagined' by me. On a more measurable front. I ran the octane benchmark against firefox post and before the patch. It resulted in a slight improvement from 12486 to 12826 score [1]. cpu0: Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz, 1895.93 MHz cpu1: Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz, 1895.62 MHz cpu2: Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz, 1895.62 MHz cpu3: Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz, 1895.62 MHz inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x0b running Intel Haswell Mobile for the gfx card. Regards, Adam [1] - https://twitter.com/mulander/status/691327370985345024