lkml.org 
[lkml]   [2007]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 11/58] KVM: Increase mmu shadow cache to 1024 pages
    Date
    This improves kbuild times by about 10%, bringing it within a respectable
    25% of native.

    Signed-off-by: Avi Kivity <avi@qumranet.com>
    ---
    drivers/kvm/kvm.h | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
    index 11c519e..f6ee189 100644
    --- a/drivers/kvm/kvm.h
    +++ b/drivers/kvm/kvm.h
    @@ -54,7 +54,7 @@
    #define KVM_MAX_VCPUS 1
    #define KVM_ALIAS_SLOTS 4
    #define KVM_MEMORY_SLOTS 4
    -#define KVM_NUM_MMU_PAGES 256
    +#define KVM_NUM_MMU_PAGES 1024
    #define KVM_MIN_FREE_MMU_PAGES 5
    #define KVM_REFILL_PAGES 25
    #define KVM_MAX_CPUID_ENTRIES 40
    --
    1.5.0.6
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-06-17 11:51    [W:0.018 / U:60.416 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site