{"id":1169,"date":"2009-12-12T11:52:10","date_gmt":"2009-12-12T03:52:10","guid":{"rendered":"http:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/?p=1169"},"modified":"2010-02-05T09:49:19","modified_gmt":"2010-02-05T01:49:19","slug":"linux-kernel-2-6centos-4-5-s-clock-source-under-a-virtualized-environment","status":"publish","type":"post","link":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/?p=1169","title":{"rendered":"Linux kernel 2.6\/CentOS 4 &#038; 5 &#8216;s clock source under a virtualized environment"},"content":{"rendered":"<p>Under Linux kernel 2.6, the default system timer is set to 1000Hz which will consumes lot of cpu cycle under a virtualized environment even it is in idle state. To run it under a virtualized environment, suitable kernel parameters should be passed to change the clock source and time divider :<\/p>\n<p>for RHEL-4 32 bits: &#8220;clock=pmtmr divider=10&#8221;<br \/>\nfor RHEL-5 32 bits: &#8220;divider=10 clocksource=acpi_pm&#8221;<br \/>\nfor RHEL-4 64 bits: &#8220;notsc divider=10&#8221;<br \/>\nfor RHEL-5 64 bits: &#8220;notsc divider=10&#8221;<\/p>\n<p>For more information , see this Vmware KB : <a href=\"http:\/\/kb.vmware.com\/kb\/1006427\">http:\/\/kb.vmware.com\/kb\/1006427<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Under Linux kernel 2.6, the default system timer is set to 1000Hz which will consumes lot of cpu cycle under a virtualized environment even it is in idle state. To run it under a virtualized environment, suitable kernel parameters should be passed to change the clock source and time divider :<\/p>\n<p>for RHEL-4 32 bits: [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[3],"tags":[52,18],"class_list":["post-1169","post","type-post","status-publish","format-standard","hentry","category-computer","tag-centos","tag-vmware","odd"],"_links":{"self":[{"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1169"}],"version-history":[{"count":2,"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1169\/revisions"}],"predecessor-version":[{"id":1284,"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1169\/revisions\/1284"}],"wp:attachment":[{"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staff.ie.cuhk.edu.hk\/~sfluk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}