Re: [PATCH RFC] KVM: use kmalloc() for small dirty bitmaps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 On 10/21/2010 03:51 AM, Takuya Yoshikawa wrote:
(2010/10/20 18:34), Takuya Yoshikawa wrote:
** NOT TESTED WELL YET **

Currently, we are using vmalloc() for all dirty bitmaps even though
they are small enough, say 256 bytes or less.

So we use kmalloc() if dirty bitmap size is less than or equal to
PAGE_SIZE.


Ah, I forgot about the plan to do double buffering.

Making the size of bitmap twice may reduce the benefit of this patch.

Well, 4K single buffer is 128MB worth of RAM. This won't help live migration much, but will help vga dirty logging, which is active at all times and uses much smaller memory slots. So I think it's worthwhile.

--
error compiling committee.c: too many arguments to function

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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux