Thread (50 messages) 50 messages, 6 authors, 2011-02-24

Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts

From: Avi Kivity <hidden>
Date: 2011-01-27 09:51:12

On 01/27/2011 11:29 AM, Michael S. Tsirkin wrote:
On Thu, Jan 27, 2011 at 11:28:12AM +0200, Avi Kivity wrote:
quoted
 On 01/27/2011 11:26 AM, Michael S. Tsirkin wrote:
 >>   >Right. That's why I say that sorting by size might not be optimal.
 >>   >Maybe a cache ...
 >>
 >>   Why would it not be optimal?
 >>
 >>   If you have 16GB RAM in two slots and a few megabytes here and there
 >>   scattered in some slots, you have three orders of magnitudes to
 >>   spare.
 >
 >Yes but you might not be accessing all that RAM.
 >Maybe your workset is just tens of megabytes.

 Great, then you fault it in and never touch the slots array again.
Yep. Except for emulated mmio :)
Which is why I want to cache the result of a negative lookup in the spte.

-- 
error compiling committee.c: too many arguments to function
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help