Messages in this thread | ![/](/images/icornerl.gif) | | Date | Tue, 25 Feb 2003 17:15:40 +0100 | From | Dejan Muhamedagic <> | Subject | Re: vm issues (2) |
| |
Andrea:
On Tue, Feb 25, 2003 at 04:32:13PM +0100, Andrea Arcangeli wrote: > On Tue, Feb 25, 2003 at 01:13:28PM +0100, Dejan Muhamedagic wrote: > > > > The aa kernel keeps ~200MB out of 6GB of memory unused. I'm not > > sure, but if we could reduce it perhaps there would be much less > > swapping. Is there a way to achieve this? > > that is a feature, it guarantees highmem unfreeable allocations like > pagetables can't eat all your normal zone. You can reduce the 200MB with > this boot command: > > lower_zone_reserve=256,256
But isn't 200MB too much? Where would the new setting put the reserve mark?
> As to decrease the swapping I just told you how to do that tweaking > vm_mapped_ratio.
Well, it has been set to 500, but it didn't make any difference (at least no obvious difference). Is there anything more one could do about that? The current level of swapping hurts performance quite a bit. This is what the meminfo looks like:
total: used: free: shared: buffers: cached: Mem: 6341447680 6134513664 206934016 0 66162688 5240639488 Swap: 12582862848 5967990784 6614872064 MemTotal: 6192820 kB MemFree: 202084 kB MemShared: 0 kB Buffers: 64612 kB Cached: 1982052 kB SwapCached: 3135760 kB Active: 304668 kB Inactive: 4878072 kB HighTotal: 5358496 kB HighFree: 2528 kB LowTotal: 834324 kB LowFree: 199556 kB SwapTotal: 12287952 kB SwapFree: 6459836 kB BigFree: 0 kB
Cheers!
Dejan - 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/
| ![\](/images/icornerr.gif) |