Skip to contentSkip to conversation

mm: Linux VM Infrastructure to support Memory Power Management

RFC PATCH Srinivas Pandruvada 1 participant 1 message Nov 9, 2012 Memory management

lore
Share & tools
lore
#0 lore raw

I did like this implementation and think it is valuable.
I am experimenting with one of our HW. This type of partition does help in saving power. Our calculations shows significant saving of power per DIM with the help of some HW/BIOS changes. We are only talking about content preserving memory, so we don't have to be 100% correct.
In my experiments, I tried two methods:
- Similar to approach suggested by Mel Gorman. I have a special sticky migrate type like CMA.
- Buddy buckets: Buddies are organized into memory region aware buckets. During allocation it prefers higher order buckets. I made sure that there is no affect of my change if there are no power saving memory DIMs. The advantage of this bucket is that I can keep the memory in close proximity for a related task groups by direct hashing to a bucket. The free list if organized as two dimensional array with bucket and migrate type for each order.

In both methods, currently reclaim is targeted to be done by a sysfs interface similar to memory compaction for a node allowing user space to initiate reclaim.

Thanks,
Srinivas Pandruvada
Open Source Technology Center,
Intel Corp.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>