Hi Mark, We should consider this test for our memory hotplug regression test suite. Could you please look into it? Thx - Martine -----Original Message----- From: lhms-devel-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:lhms-devel-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of IWAMOTO Toshihiro Sent: Friday, November 26, 2004 4:53 AM To: lhms-devel@xxxxxxxxxxxxxxxxxxxxx Subject: [Lhms-devel] semi-automated memory migration tests Hi, I've put a set of memory migration test programs at http://people.valinux.co.jp/~iwamoto/mh/tests/ tests-041126.tar.gz should work either with Dave Hansen's patchset or with my zone based hotplug emulation patch. I found the tests does not work well with Dave's patchset. I've found the followings: - setup_per_zone_pages_min() calls should be added in capture_page_range() and online_pages() - lru_add_drain() should be called before try_to_migrate_pages() Unfortunately, I'm still seeing strange problems, which seems to be due to kernel memory corruption. How to use tests-041126.tar.gz: 1. Extract the tarball and make. You'll need libaio to build some programs. Alternatively, you can build only fork-cow and processmem, which don't require libaio. $ make fork-cow processmem Read the makefile for details. 2. Make sure sysfs is mounted on /sys 3. Unless you booted with the "mem=1024m" boot option and have 4GB of RAM, edit rotate-dave.sh to set correct $secstart and $secend values. 4. Run the tests. If you've built all required programs, you can simply type "make test" (as root, of course). Otherwise, type "./run.sh 5 ./fork-cow" and so on. You might want to set the NACTIVE environment value, which specifies the number of online memory sections during tests, greater than 1. -- IWAMOTO Toshihiro ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Lhms-devel mailing list Lhms-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/lhms-devel