On 11/12/16(Sun) 12:54, Stuart Henderson wrote:
> On 2016/12/10 17:56, Bryan Vyhmeister wrote:
> > On Sat, Dec 10, 2016 at 10:47:31PM +0000, Stuart Henderson wrote:
> > > In case anyone is interested, here's a version of this diff against
> > > -current. It helps a lot for me. I'm not watching HD video while doing
> > > "make -j4", just things like trying to move the pointer around the screen
> > > and type into a terminal while a map is loading in a browser.
> > 
> > Thank you for taking the time to update the diff. I should probably try
> > it. I have noticed that if I am doing a lot of NFS I/O or rsync
> > transfers to an NFS share that the pointer gets jumpy.
> 
> In my case more like "machine freezes every few minutes for 30-40 seconds"
> than just jumpy. Loads of IPIs, cpu0 high cpu in interrupt, other cores
> 100% cpu in sys. It seems more apparent with chromium, but it's not a
> whole lot better with firefox either.

The problem is in librthread.  Any multi-threaded program might benefit
from this diff.  However that's just a bandage.  The real fix is to stop
using sched_yield(2) when there's some contention in userland.

Reply via email to