[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1438282521.6432.53.camel@gmail.com>
Date: Thu, 30 Jul 2015 20:55:21 +0200
From: Mike Galbraith <umgwanakikbuti@...il.com>
To: Jörn Engel <joern@...estorage.com>
Cc: Michal Hocko <mhocko@...nel.org>,
Spencer Baugh <sbaugh@...ern.com>,
Toshi Kani <toshi.kani@...com>,
Andrew Morton <akpm@...ux-foundation.org>,
Fengguang Wu <fengguang.wu@...el.com>,
Joern Engel <joern@...fs.org>,
"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
Mel Gorman <mgorman@...e.de>,
Johannes Weiner <hannes@...xchg.org>,
Shachar Raindel <raindel@...lanox.com>,
Boaz Harrosh <boaz@...xistor.com>,
Andy Lutomirski <luto@...capital.net>,
Joonsoo Kim <iamjoonsoo.kim@....com>,
Andrey Ryabinin <a.ryabinin@...sung.com>,
Roman Pen <r.peniaev@...il.com>,
Andrey Konovalov <adech.fo@...il.com>,
Eric Dumazet <edumazet@...gle.com>,
Dmitry Vyukov <dvyukov@...gle.com>,
Rob Jones <rob.jones@...ethink.co.uk>,
WANG Chao <chaowang@...hat.com>,
open list <linux-kernel@...r.kernel.org>,
"open list:MEMORY MANAGEMENT" <linux-mm@...ck.org>,
Spencer Baugh <Spencer.baugh@...estorage.com>
Subject: Re: [PATCH] mm: add resched points to
remap_pmd_range/ioremap_pmd_range
On Thu, 2015-07-30 at 09:58 -0700, Jörn Engel wrote:
> On Thu, Jul 30, 2015 at 05:22:55PM +0200, Mike Galbraith wrote:
> >
> > I piddled about with the thought that it might be nice to be able to
> > sprinkle cond_resched() about to cut rt latencies without wrecking
> > normal load throughput, cobbled together a cond_resched_rt().
> >
> > On my little box that was a waste of time, as the biggest hits are block
> > softirq and free_hot_cold_page_list().
>
> Block softirq is one of our problems as well. It is a bit of a joke
> that __do_softirq() moves work to ksoftirqd after 2ms, but block softirq
> can take several 100ms in bad cases.
>
> We could give individual softirqs a time budget. If they exceed the
> budget they should complete, but reassert themselves. Not sure about
> the rest, but that would be pretty simple to implement for block
> softirq.
Yeah, it wants something, not sure what though. Fix up every spot that
hinders rt performance, you'll end up with PREEMPT_RT, and generic
performance falls straight through the floor. Darn.
-Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists