Messages in this thread | | | Date | Thu, 23 Jul 1998 18:53:50 +0200 (MET DST) | From | "Michael L. Galbraith" <> | Subject | Re: patch for 2.1.110 misc memory reclamation |
| |
On Wed, 22 Jul 1998, Bill Hawes wrote:
> I found another batch of reclaimable pages squirrelled away, this time > in the nfs client dircache. The attached patch adds a new routine > nfs_trim_dircache() to allow the vm system to reclaim the memory. [snip] > Comments and testing welcome ... > > Regards, > Bill
Hello Bill,
I had just concluded a day of testing 2.1.111pre1 with inode_prealloc109-patch, mm_defrag109-patch, mm_miscmem110-patch and had 12 MB of ram enabled when I saw Stephen Tweedie's message [Good and bad news on 2.1.110, and a fix] concerning nfs and ping. I figured this would be an good test to throw at your patches.
(I compiled the kernel SMP due to warnings generated in UP mode by the mm_miscmem110-patch.. didn't want to risk screwing up test results)
Concurent test jobs: Desktop: [2.1.111pre1 MMX150/Overdrive] start kmountd and knfsd nfs mount laptop:/usr/src/linux on /mnt start kernel in /mnt ftp latest egcs diff, fetchmail, lynx a bit
Laptop: [2.0.35 486DX2/40] start ping -f -s 3000 2.1.111-desktop nfs mount desktop:/usr on /mnt start find /mnt -name '*.c' -exec cat {} \;
After the kernel build finished... SysRq: Show Memory Mem-info: Free pages: 2096kB ( Free: 524 (24 48 72) 12*4kB 118*8kB 49*16kB 8*32kB 1*64kB 0*128kB = 2096kB) Swap cache: add 117549/117549, delete 117504/117504, find 0/0 Free swap: 388948kB 3072 pages of RAM 525 reserved pages 390 pages shared 45 pages swap cached 16 pages in page table cache Buffer memory: 1212kB Buffer heads: 808 Buffer blocks: 780 CLEAN: 507 buffers, 18 used (last=18), 0 locked, 0 protected, 0 dirty LOCKED: 211 buffers, 32 used (last=188), 0 locked, 0 protected, 0 dirty DIRTY: 1 buffers, 0 used (last=0), 0 locked, 0 protected, 1 dirty Networking buffers in use : 0 Total network buffer allocations : 2199274 Total failed network buffer allocs : 0 IP fragment buffer size : 0
Also, the compile tests showed no 'rust' and very nice performance. Compiling a 2.0 kernel for my laptop under 2.0.29 and 80 MB ram used to take a bit over 8 minutes. With 16 MB ram enabled in 2.1.111pre1, a comperable configuration of 2.0.35 takes 9 minutes and small change.
Cheers,
-Mike
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
| |