2005-10-22 01:20:57

by Con Kolivas

[permalink] [raw]
Subject: [PATCH] mm - swap prefetch magnify

Testing has confirmed much larger prefetch values work well.

Con
---



Attachments:
(No filename) (72.00 B)
mm-swap_prefetch_magnify.patch (1.70 kB)
Download all attachments

2005-10-22 01:48:11

by Con Kolivas

[permalink] [raw]
Subject: Re: [PATCH] mm - swap prefetch magnify

On Sat, 22 Oct 2005 11:20, Con Kolivas wrote:
> Testing has confirmed much larger prefetch values work well.

Bah.. Sorry take this one instead. Just make sure that no matter how little
ram we have prefetch is enabled.

Con
---



Attachments:
(No filename) (231.00 B)
mm-swap_prefetch_magnify-1.patch (1.71 kB)
Download all attachments

2005-10-22 09:41:28

by Paolo Ciarrocchi

[permalink] [raw]
Subject: Re: [PATCH] mm - swap prefetch magnify

On 10/22/05, Con Kolivas <[email protected]> wrote:
> On Sat, 22 Oct 2005 11:20, Con Kolivas wrote:
> > Testing has confirmed much larger prefetch values work well.
>
> Bah.. Sorry take this one instead. Just make sure that no matter how little
> ram we have prefetch is enabled.

Con,
would you be so kind to post more information about the test you've done ?

--
Paolo
Pleas click here: http://heracleum.altervista.org/top/site.php?vote=488
to support http://technologynews.altervista.org

2005-10-22 15:21:46

by Con Kolivas

[permalink] [raw]
Subject: Re: [PATCH] mm - swap prefetch magnify

On Sat, 22 Oct 2005 19:41, Paolo Ciarrocchi wrote:
> On 10/22/05, Con Kolivas <[email protected]> wrote:
> > On Sat, 22 Oct 2005 11:20, Con Kolivas wrote:
> > > Testing has confirmed much larger prefetch values work well.
> >
> > Bah.. Sorry take this one instead. Just make sure that no matter how
> > little ram we have prefetch is enabled.
>
> Con,
> would you be so kind to post more information about the test you've done ?

My concern was to not cause a detriment to performance in any noticeable way.
The prefetch sizes were tested on a number of machines with different speed
hard drive / ram size combinations to ensure none of the default values ever
caused any significant I/O wait, or that heavy memory requiring compiles took
any longer to complete as these constantly need new ram allocations and I
wanted to ensure that prefetching into ram didn't slow down those
allocations. Furthermore, the time taken to actually prefetch the application
is now more than 5 times faster because of the larger default prefetch
values.

Cheers,
Con