Re: Time for a pre-patch-2.0.31-3?

Dr. Werner Fink (werner@suse.de)
Thu, 3 Jul 1997 13:35:51 +0200


> The drop in read performance occurs only when Werner's patch is included on
> top of pre-patch-2.0.31-2. Without Werner's patch pre-patch-2.0.31-2
> performance is similar to 2.0.29, 2.0.30.
>
> And as you've CC'd this to Leonard this is including a scsi patch supplied recently
> by Leonard.
>
> Richard

Please try the following change:

-------------------------------------------------------------------------------
--- linux/mm/filemap.c.old Thu Jul 3 13:31:01 1997
+++ linux/mm/filemap.c Thu Jul 3 13:31:39 1997
@@ -191,7 +191,7 @@
default:
/* more than one users: we can't throw it away */
/* if we visit a non buffer page we should age it */
- if (!bh)
+ if (!bh && !test_bit(PG_referenced, &page->flags))
age_page(page);
/* fall through */
case 0:
-------------------------------------------------------------------------------

If this will not help, then simply remove the statment
`if (!bh) age_page(page);'

and test the interactive performance under X Window System under
high load.

Werner