lkml.org 
[lkml]   [2007]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [ck] Re: -mm merge plans for 2.6.23
> 
>> However, if we can improve basic page reclaim where it is obviously
>> lacking, that is always preferable. eg: being a highly speculative
>> operation, swap prefetch is not great for power efficiency -- but we
>> still want laptop users to have a good experience as well, right?
>

Sounds like something that can be altered with a tuneable for workloads
where power efficiency is more important than performance.

As far as performance goes, empty memory is wasted memory. I think the
most important 'measurement' people can make for swap prefetch, if this
is even possible to capture, is a positive hit ratio. Under everyman's
typical workload, what percentage of pages prefetched end up being used?
And what percentage end up discarded? I'm pulling these numbers out of
thin air, but I would say, if > 10% is referenced, and < 70% discarded,
then that would be significant performance boost well worthwhile.


To be clear, I don't know what I'm talking about. It just seems to me
however, that debating whether or not to implement a performance boost
because we can better tune corner cases is silly. For as long as
computers have used swap and unused memory, there will be a performance
gain to background prefetching. That doesn't preclude developers from
tuning the specific workloads that lead to such. It's not like this
were a theoretical discussion of should we develop this or not..
Prefetch is here, now, and working. The only questions I see are:

Does the performance gain from Prefetch compensate for the prefetch code
memory requirements?

Is there someone who's comfortable with lkml politics willing to
maintain the thing?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-24 20:17    [W:0.315 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site