[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <50998.81.207.0.53.1185580999.squirrel@secure.samage.net>
Date: Sat, 28 Jul 2007 02:03:19 +0200 (CEST)
From: "Indan Zupancic" <indan@....nu>
To: "grundig" <grundig@...eline.es>
Cc: "Arjan van de Ven" <arjan@...radead.org>,
"Al Boldi" <a1426z@...ab.com>, linux-kernel@...r.kernel.org
Subject: Re: swap-prefetch: A smart way to make good use of idle resources
(was: updatedb)
On Sat, July 28, 2007 01:34, grundig wrote:
> El Fri, 27 Jul 2007 15:06:14 -0700, Arjan van de Ven <arjan@...radead.org> escribi�:
>
>> how do you know there will be other activity? You start the IO and that
>> basically blacks out the disk for 5 to 10 ms. If the "real" IO gets
>> submitted in that time you add latency. You cannot predict that IO
>> happening or not happening.
>
> If there hasn't be much IO for some time, it looks quite reasonable to expect
> that there won't be more in the near future.
Good argument.
> As most of heuristics can fail, but
> then this is a feature mostly for desktops, not servers.
Bad argument. It doesn't matter for who the feature is intended, it matter
what it does and if it does it well or not. In this case, prefetching swap without
disturbing anything else.
> There's an old saying that says something like "an open source project starts
> dying when new people can't participate in the project no matter how hard
> they try". It's hard to understand why there's so many people opposing to
> this when other more controversial features are merged much faster, (like, fe.
> the UIO driver framework).
Could people please stop this emotional crap non-argumentation? At best it reduces
the chance of swap-prefetch to be merged.
Perhaps one of the reasons is that this is core kernel code. And that it isn't a new
feature, but a performance improvement with doubtful trade-offs. The problem
statement isn't clear either. It seems like a natural enhancement, but is that enough
reason to merge it? Maybe, maybe not. But if slow swap-in is the problem, shouldn't
that be fixed instead of bypassed?
Yes, there are people that say that it works for them, but of those a lot claim
updatedb damage is fixed by it too, while that can't be true. And how many of those
people did test swap prefetch stand-alone? The ck kernel has other mm patches too,
perhaps those are the real goodies...
And there don't seem to be many people opposing swap prefetch either. A bunch seem
in favour of it, and others seem unconvinced.
Me, I don't know if it should be merged or not, it solves one very specific workload, and
nothing else (swap is used, and memory becomes free which won't be used in the near
future). All in all it seems good, but doubtful, and when in doubt, don't merge.
Greetings,
Indan
-
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