Re: kswapd eating too much CPU on ac16/ac18

From: Cesar Eduardo Barros (cesarb@nitnet.com.br)
Date: Sat Jun 17 2000 - 14:43:18 EST


> Please try to remove only this test to get a comparable result.

I nuked the whole block:

                /*
                 * Page is from a zone we don't care about.
                 * Don't drop page cache entries in vain.
                 */
                if (page->zone->free_pages > page->zone->pages_high) {
                        /* the page from the wrong zone doesn't count */
                        count++;
                        goto unlock_continue;
                }

Commenting it out made ac19 perform almost as good as ac4 (it looked a bit
faster).

I don't know how it would affect boxes with more than one zone, but my gut
feeling is that it won't hurt and might make them even a bit faster.

-- 
Cesar Eduardo Barros
cesarb@nitnet.com.br
cesarb@dcc.ufrj.br

- 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.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:15 EST