ut-osa / ingens

Coordinated and Efficient Huge Page Management with Ingens
42 stars 16 forks source link

What's the difference between Guest physical page aggregration and Proactive compaction? #3

Open z740273060 opened 11 months ago

z740273060 commented 11 months ago

Hello, I am a newbie. I saw that your code contains "aggregate" and "compact" in huge_scan.c.

My understanding is that "aggregate" is a collection of idle pages and then merged into large pages. Then compact is migrating pages to reduce fragmentation. Does the difference lie in the creation of large pages?

There's also Guest physical page aggregration. Does Guest mean virtual machine? But how does aggregration find the memory page for the virtual machine?