D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Available_clocksource in 2.6.32

 

Gordon Henderson wrote:

Does it have HPET?

No only:

tsc acpi_pm

Neither of these sort my time problem.

However for 2.6.32 kernel on AMD 64 bit processor, what affects the contents of available_clocksource?

I supspect the BIOS and what's compiled into the kernel...

I think I need specifics, or at least pointers to specifics. I'd have expected things like "jiffies" shouldn't be too dependent on the BIOS. I'm also not sure what CONFIG_NO_HZ does to clocks (if anything).

Never build a kernel for KVM, etc. so I'd not know if they get auto removed..

This is XEN I just noted the KVM clock config setting was enabled (CONFIG_KVM_CLOCK), I suspect it is irrelevant but I figured I'd mention it because I don't know it is irrelevant.

I noted that adding a second CPU to a domU loses the "tsc" clock source, which makes sense.

Come to think of it, I'm not sure I've actually seen any kernel options to actively specify the clocksource at build time - however you can set it at boot time.

I have no problem setting it, I believe the default is tsc, you can of course use "clock=" or /etc/sysctl.conf to set it after boot, which is early enough in the process that I don't care if we are a few seconds out at boot as long as at some point before starting mail software it gets the correct and stable time from somewhere (Host, NTP, I'm not choosy).

I just don't have the values I want to set it to, and I figured I'd ask here before braving recompiling bits of the kernel I don't understand in any meaningful way, as I'm sure after a dozen or so tweaks I'll understand it better and get something that works, but it would be nice to get there is (a) one step (b) with confidence it was the right thing to do.

--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq