Difference between revisions of "Special:Badtitle/NS1198:KSM (kernel same-page merging)/23/en"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(Importing a new version from external source)
 
(No difference)

Latest revision as of 01:16, 24 September 2016

Enabling memory deduplication in applications[edit]

In order to make an application take advantage of ksm_preload and use KSM on the HN, add this line into its startup script (assuming your container is running CentOS 6.x x86_64):

LD_PRELOAD=/usr/lib64/libksm_preload.so