FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

LinkBack Thread Tools
Old 04-21-2008, 03:27 PM
"Stephen John Smoogen"
Default Good news for virtual EL-4.x boxes

Currently, if you are running CentOS-4.x on a Vmware box you end up
with time skew problems. The main fix has been using a set of
recompiled kernel that has a HZ that is more fitting with what Vmware
expects (eg 100 hz). The 4.7 kernels look like they will not need


Well, I've gotten quite the number of questions over the last few days
about time skew problems in RHEL4 and VMWare, so figured that I would
write this.

In RHEL4.7, there will be a kernel feature that allows you to pass
'divider=' on the command line in grub. The number must be a divisor
of 1000, and the most common value is 10 (yielding an effective timer
interrupt rate of 100Hz). I'm expecting the 4.7 beta to become
available Real Soon Now(TM), though I have no information as to when
that will occur. In the meantime, this change is available as a hotfix
from Red Hat's Global Support Services.

What this does is take the kernel tick rate (which defaults to 1000Hz)
and divides it by the value of divider, to come up with an effective
interrupt rate. You can verify that this is working by:

Before making the change, use 'watch --interval=1 cat
/proc/interrupts' and you'll notice that the timer interrupt is
incrementing by 1000 every second. After you make the change, you you
notice with the same command that it is incrementing via 1000/ every

The vlaue of HZ that is exposed to modules is still 1000, thus not
breaking module ABI.

This same change is already present in RHEL5.1 today. In recent
Fedora's, this is unnecessary due to the advent of the tickless kernel
(which is useful for other reasons, including reduced power
consumption on laptops). It is likely that RHEL6 will also be based on
a tickless kernel.

Stephen J Smoogen. -- CSIRT/Linux System Administrator
How far that little candle throws his beams! So shines a good deed
in a naughty world. = Shakespeare. "The Merchant of Venice"
CentOS mailing list

Thread Tools

All times are GMT. The time now is 05:03 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org