Messages in this thread | | | Date | Fri, 27 Mar 1998 17:56:17 -0500 | From | mlord <> | Subject | Re: 2.1.91 swap performance: jerky. |
| |
... > > "cached" climbs to about 32MB of my 64MB total SDRAM, > > and then a flurry of reverse activity kicks in.. > > the "cached" value drops again, as pages are read back > > in and response returns to the previously comatose system. > > > > "cached" levels off again around 2-5MB, until I start some > > new big application, whence the whole scenario repeats. > > Could you try to change in linux/mm/filemap.c:shrink_mmap() the ... > /* Refuse to swap out all buffer pages */ > if ((buffermem >> PAGE_SHIFT) * 100 < (buffer_mem.min_percent * num_physpages)) > goto next; > To > > /* Refuse to swap out all buffer pages */ > if (bh && (buffermem >> PAGE_SHIFT) * 100 < (buffer_mem.min_percent * num_physpages)) > goto next; .. > Werner
Tried it. Less dramatic swings in swapping behaviour than before, but still leaves more free memory than I'd expect.. 4-5MB "free" at all times, despite continuous swapping.
(mind y'all, running four xboard's with "two machines" set for each is a pretty heavy test of swapping..).
Either with or without, interactive response still "feels" okay, considering the system load.
-- mlord@pobox.com The Linux IDE guy
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |