Re: [PATCH 2.6.16.29 1/1] MM: enhance Linux swap subsystem

From: yunfeng zhang
Date: Thu Jan 11 2007 - 21:47:15 EST


2007/1/11, yunfeng zhang <zyf.zeroos@xxxxxxxxx>:
2007/1/11, Rik van Riel <riel@xxxxxxxxxx>:

Have you actually measured this?

If your measurements saw any performance gains, with what kind
of workload did they happen, how big were they and how do you
explain those performance gains?

How do you balance scanning the private memory with taking
pages off the per-zone page lists?

How do you deal with systems where some zones are really
large and other zones are really small, eg. a 32 bit system
with one 880MB zone and one 15.1GB zone?


Another solution is add a new field preferred_zone to the scan_control of
mm/vmscan.c, keep it in mind that new swap strategy is from up to down, from
UserSpace to PrivatePage/SharedPage.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/