* KSM and HugePages
@ 2009-10-23 18:21 David Martin
2009-10-24 22:13 ` Dor Laor
0 siblings, 1 reply; 2+ messages in thread
From: David Martin @ 2009-10-23 18:21 UTC (permalink / raw)
To: kvm
Does KSM support HugePages? Reading the Fedora 12 feature list I notice this:
"Using huge pages for guest memory does have a downside, however - you
can no longer swap nor balloon guest memory."
However it is unclear to me if that includes KSM.
If I use 1GB HugePages and KSM (assuming this is possible), does that
mean the entire 1GB page has to match another for them to merge? Are
there any other downsides to using them other than swapping and
ballooning?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: KSM and HugePages
2009-10-23 18:21 KSM and HugePages David Martin
@ 2009-10-24 22:13 ` Dor Laor
0 siblings, 0 replies; 2+ messages in thread
From: Dor Laor @ 2009-10-24 22:13 UTC (permalink / raw)
To: David Martin; +Cc: kvm
On 10/23/2009 08:21 PM, David Martin wrote:
> Does KSM support HugePages? Reading the Fedora 12 feature list I notice this:
> "Using huge pages for guest memory does have a downside, however - you
> can no longer swap nor balloon guest memory."
> However it is unclear to me if that includes KSM.
ksm pages are only standard 4k pages.
>
> If I use 1GB HugePages and KSM (assuming this is possible), does that
> mean the entire 1GB page has to match another for them to merge? Are
> there any other downsides to using them other than swapping and
> ballooning?
It needs to be available at VM creation time.
Also the tlb size for use pages is smaller although it does bring better
results than 4k pages.
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-24 22:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-23 18:21 KSM and HugePages David Martin
2009-10-24 22:13 ` Dor Laor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox