Messages in this thread | | | Date | Tue, 21 Dec 2004 14:22:55 +0100 | From | Andrea Arcangeli <> | Subject | Re: Reducing inode cache usage on 2.4? |
| |
On Tue, Dec 21, 2004 at 11:33:24AM +0000, James Pearson wrote: > Setting vm_mapped_ratio to 20 seems to give a 'better' memory usage > using my very contrived test - running a find will result in about 900Mb > of dcache/icache, but then running a cat to /dev/null will shrink the > dcache/icache down to between 100-300Mb - running the find and cat at > the same time results in about the same dcache/icache usage. > > I'll give this a go on the production NFS server and I'll see if it > improves things.
Ok great. If 20 isn't enough just set it to 40, just be careful that if you set it too high the system may swap a bit too early.
Overall this is still a workaround, real fix would be a background scanning of the icache/dcache collisions in the hash buckets but that's not for 2.4 ;). - 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/
| |