tag:blogger.com,1999:blog-2304929065120928799.post761369197603329492..comments2023-06-30T16:58:41.747+02:00Comments on Bud's IT Blog: Enabling KSM on gentooPhttp://www.blogger.com/profile/13526279194544498280noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-2304929065120928799.post-55871799103894780342012-01-20T04:06:32.967+01:002012-01-20T04:06:32.967+01:00please update ebuild.
The RPM package is broken ag...please update ebuild.<br />The RPM package is broken again.<br />ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2304929065120928799.post-52329021820595607632010-04-05T17:14:05.943+02:002010-04-05T17:14:05.943+02:00It looks like the glibc patch is not needed anymor...It looks like the glibc patch is not needed anymore with qemu-kvm-0.12.3-r1: http://bugs.gentoo.org/305785<br />I did not try it though.Phttps://www.blogger.com/profile/13526279194544498280noreply@blogger.comtag:blogger.com,1999:blog-2304929065120928799.post-38525280486183481652010-03-30T17:58:35.632+02:002010-03-30T17:58:35.632+02:00I have updated the ebuilds, because one of the rpm...I have updated the ebuilds, because one of the rpm packages disappeared. No functional changes though.Phttps://www.blogger.com/profile/13526279194544498280noreply@blogger.comtag:blogger.com,1999:blog-2304929065120928799.post-63462143047656573182010-02-15T00:08:13.032+01:002010-02-15T00:08:13.032+01:00I have found the new qemu rpm which in which the i...I have found the new qemu rpm which in which the initscripts are 2.6.33 aware. Updated the <a href="http://sites.google.com/site/buddsite/gentoo-ksm-ebuilds.tbz2" rel="nofollow">ebuild bundle</a> to include the new version.Phttps://www.blogger.com/profile/13526279194544498280noreply@blogger.comtag:blogger.com,1999:blog-2304929065120928799.post-14723610175979159932010-02-14T21:34:03.357+01:002010-02-14T21:34:03.357+01:00Thanks for digging it up.
ps. The ksmtuned turned ...Thanks for digging it up.<br />ps. The ksmtuned turned to be a terribly ugly hackish piece of crap IMHO.Piavlohttps://www.blogger.com/profile/03228564598982574490noreply@blogger.comtag:blogger.com,1999:blog-2304929065120928799.post-64053362556990695282010-02-14T16:46:43.752+01:002010-02-14T16:46:43.752+01:00Hi,
I have updated the post to use linux-headers-...Hi,<br /><br />I have updated the post to use linux-headers-2.6.32.<br /><br />I did not know max_kernel_pages disappeared in 2.6.33, thank you for bringing it to my attention.<br /><br />I managed to find the <a href="http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=d0f209f68f80f9a152799760c230019e7f270b2a" rel="nofollow">commit which removed max_kernel_pages</a>. It is not needed anymore because in 2.6.33 the KSM pages are swappable.<br /><br />Also there is <a href="https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=558281" rel="nofollow">Red Hat bug #558281</a> which says:<br />"Now that the pages are swappable in 2.6.33 kernels, max_kernel_pages is no<br />longer necessary. The ksm init script has been modified to only change<br />/sys/kernel/mm/ksm/max_kernel_pages if it already exists. This should work<br />with both F12 and future rawhide kernels."<br /><br />I could not find the updated initscript, when I'll find it, I'll update the ebuild to use that.Phttps://www.blogger.com/profile/13526279194544498280noreply@blogger.comtag:blogger.com,1999:blog-2304929065120928799.post-8461051822150628872010-02-14T10:05:05.096+01:002010-02-14T10:05:05.096+01:00Hi
Thanks for the ksm/ksmtuned staff.
Do you know...Hi<br />Thanks for the ksm/ksmtuned staff.<br /><br />Do you know by chance why the /sys/kernel/mm/ksm/max_kernel_pages<br />is missing in recent 2.6.33 kernels?<br /><br />BTW linux-headers-2.6.32 is now in portage , so you need only the glibc patch.<br /><br />Regards <br />PiavloPiavlohttps://www.blogger.com/profile/03228564598982574490noreply@blogger.com