All of lore.kernel.org
 help / color / mirror / Atom feed
* memory zones and the KVM guest kernel
@ 2011-05-23 20:19 David Evensky
  2011-05-24  8:04 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: David Evensky @ 2011-05-23 20:19 UTC (permalink / raw)
  To: kvm


Hi,

When I boot my guest kernel with KVM, the dmesg output says that:

...
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000010 -> 0x00001000
[    0.000000]   DMA32    0x00001000 -> 0x00100000
[    0.000000]   Normal   empty
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]     0: 0x00000010 -> 0x0000009f
[    0.000000]     0: 0x00000100 -> 0x0007fffd
...

Why is the Normal Zone empty? Is it possible to have some of the
guest's memory mapped in the Normal zone?

Is there a good reference that talks about the normal, movable,
etc. memory zones?

Thanks,
\dae


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: memory zones and the KVM guest kernel
  2011-05-23 20:19 memory zones and the KVM guest kernel David Evensky
@ 2011-05-24  8:04 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2011-05-24  8:04 UTC (permalink / raw)
  To: David Evensky; +Cc: kvm

On 05/23/2011 11:19 PM, David Evensky wrote:
> Hi,
>
> When I boot my guest kernel with KVM, the dmesg output says that:
>
> ...
> [    0.000000] Zone PFN ranges:
> [    0.000000]   DMA      0x00000010 ->  0x00001000
> [    0.000000]   DMA32    0x00001000 ->  0x00100000
> [    0.000000]   Normal   empty
> [    0.000000] Movable zone start PFN for each node
> [    0.000000] early_node_map[2] active PFN ranges
> [    0.000000]     0: 0x00000010 ->  0x0000009f
> [    0.000000]     0: 0x00000100 ->  0x0007fffd
> ...
>
> Why is the Normal Zone empty?

The DMA32 zone covers the first 4GB of memory.  If you have less than 
that (actually less than somewhat less than 4GB), nothing spills over to 
the normal zone.

>   Is it possible to have some of the
> guest's memory mapped in the Normal zone?

-m 8G

> Is there a good reference that talks about the normal, movable,
> etc. memory zones?

I expect Mel Gorman's book covers it.

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-24  8:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-23 20:19 memory zones and the KVM guest kernel David Evensky
2011-05-24  8:04 ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.