Re: KSM without VT / KSM for all memory

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

 



* Gordan Bobic (gordan@xxxxxxxxxx) wrote:
> Chris Wright wrote:
>>> 2) For all memory in a system, without patching all applications to   
>>> register with it
>>
>> No.
>>
>> Right now, an app must be modified to call madvise(MADV_MERGEABLE).
>> Further, the core scanning loop that ksmd performs is based on per-process
>> virtual memory regions rather than physical memory.
>
> You mean only pages within the same process are de-duplicated?

No, de-duplication can span processes.  Each process registers some range(s)
of its virtual address space with the scanning daemon.  The scanning daemon
will then search all of the registered memory ranges for duplicates.  This
is an opt-in thing for each process though.

thanks,
-chris
--
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