Re: memory zones and the KVM guest kernel

2011-05-24 Thread Avi Kivity

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.00] Zone PFN ranges:
[0.00]   DMA  0x0010 ->  0x1000
[0.00]   DMA320x1000 ->  0x0010
[0.00]   Normal   empty
[0.00] Movable zone start PFN for each node
[0.00] early_node_map[2] active PFN ranges
[0.00] 0: 0x0010 ->  0x009f
[0.00] 0: 0x0100 ->  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.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


memory zones and the KVM guest kernel

2011-05-23 Thread David Evensky

Hi,

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

...
[0.00] Zone PFN ranges:
[0.00]   DMA  0x0010 -> 0x1000
[0.00]   DMA320x1000 -> 0x0010
[0.00]   Normal   empty
[0.00] Movable zone start PFN for each node
[0.00] early_node_map[2] active PFN ranges
[0.00] 0: 0x0010 -> 0x009f
[0.00] 0: 0x0100 -> 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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html