60 likes | 238 Views
Shared Memory De-duplication. -EBRAHIM CUTLERYWALA -NIKHIL RAJPAL. Linux kernel . De-duplication : - precursor to sharing memory in Linux. Optimizes capacity of storage by removing duplicate data. Used in Virtual machines on same operating system. One of the approach – KSM .
E N D
Shared Memory De-duplication -EBRAHIM CUTLERYWALA -NIKHIL RAJPAL
Linux kernel De-duplication :- precursor to sharing memory in Linux. Optimizes capacity of storage by removing duplicate data. Used in Virtual machines on same operating system. One of the approach – KSM
Kernel Shared Memory 2 red black trees – Stable and unstable. Candidates -> Unstable tree, merged(duplicates) -> Stable tree. Pages are scanned periodically . Search is based on checksum for each page. When any page found as duplicate, its shifted to stable tree.
Implemetation Load- accepts list of the page id, checksum. Update- accepts another list or single node ,equivalent to page content changing. De-duplication- performs the algorithm to free memory space. Operations – insert, find, remove