Re: VM balancing stuff in 2.4.8-9 broken

From: Daniel Phillips (phillips@bonn-fries.net)
Date: Mon Aug 27 2001 - 21:20:56 EST


On August 28, 2001 04:06 am, Peter Magnusson wrote:
> I just wanted to say that the VM balancing stuff in 2.4.8 and 2.4.9 doesnt
> work very well. 2.4.8 and .9 will use 200 Mbyte of my swap after just 6
> hours! I got 512 Mbyte RAM, 256 Mbyte swap.
>
> I have now switched back to 2.4.7. Uptime 6 days and 11 Mbyte swap used.
> I would prefer if Linux used as little swap as possible. It only gets
> slower.
>
> (if you want to reply to me send mail to iocc@flashdancejahatjosan.cx
> without jahatjosan.)

Known problem, a patch exists and was applied in 2.4.10-pre1. Here it is
again if you want to verify this:

--- ../2.4.9.clean/mm/memory.c Mon Aug 13 19:16:41 2001
+++ ./mm/memory.c Sun Aug 19 21:35:26 2001
@@ -1119,6 +1119,7 @@
                          */
                         return pte_same(*page_table, orig_pte) ? -1 : 1;
                 }
+ SetPageReferenced(page);
         }
 
         /*
-
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/



This archive was generated by hypermail 2b29 : Fri Aug 31 2001 - 21:00:27 EST