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

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

Latest revision as of 23:58, 23 September 2016

E.g., if you want to make Percona Server use KSM, modify its startup script like the following:

[root@container /]# nano /etc/init.d/mysql

...
PATH="/sbin:/usr/sbin:/bin:/usr/bin:$basedir/bin"
export PATH

LD_PRELOAD=/usr/lib64/libksm_preload.so

mode=$1    # start or stop
...