1 |
On Thu, Mar 06, 2008 at 08:00:00PM -0700, John J. Foster wrote: |
2 |
> On Wed, Mar 05, 2008 at 08:25:59PM -0700, John J. Foster wrote: |
3 |
> > Hi all - it's been awhile |
4 |
> > |
5 |
> > This past week I've set up Gentoo running in a VM built by |
6 |
> > http://www.easyvmx.com/ under a XP host. Installation and configuration |
7 |
> > went fine. I normally leave the VM running when I walk away from the |
8 |
> > machine, but when I return, time is way off. Shutting down Gentoo & the |
9 |
> > VM & rebooting solvles the problem, as vmplayer must initially get the |
10 |
> > date and time from the host, but it sure doesn't keep it right after |
11 |
> > that. I tried openntpd, but it kept setting the time further and further |
12 |
> > off. I live in Fort Collins, Co and my locatime is set correctly |
13 |
> > (America/Denver). This is my 1st time playing with VM's. Is this common? |
14 |
> > Is there any way around it? I'm not really sure why openntpd didn't |
15 |
> > work. |
16 |
> > |
17 |
> > Any and all help appreciated. |
18 |
> > |
19 |
> I need to explain this a little further, me thinks. My Gentoo VM is |
20 |
> losing right around 20 seconds every minute! This is not a problem that |
21 |
> ntp in any of its incarnations is designed to solve. A couple other |
22 |
> thing I have tried are |
23 |
> |
24 |
> clock=pit noapic |
25 |
> |
26 |
> appended to the kernel command line. I tried these together and |
27 |
> separately with no luck. Right now I'm trying another suggestion I |
28 |
> found, which is to change the kernel frequency timer from 1000Hz to |
29 |
> 250Hz. I'm recompiling now and will let you know. |
30 |
> |
31 |
Switching to 250Hz looks like it has solved the problem. No time lost |
32 |
for a little over an hour now, and ntp is syncing properly, I think. But |
33 |
my reading of the help on this setting led me to believe that 1000Hz was |
34 |
right for a desktop system. |
35 |
|
36 |
Can any explain what this setting actually does, and why it works now? |
37 |
|
38 |
***** from make menuconfig help ***** |
39 |
|
40 |
CONFIG_HZ_1000: |
41 |
|
42 |
1000 Hz is the preferred choice for desktop systems and other |
43 |
systems requiring fast interactive responses to events. |
44 |
|
45 |
Symbol: HZ_1000 [=n] |
46 |
Prompt: 1000 HZ |
47 |
Defined at kernel/Kconfig.hz:42 |
48 |
Depends on: <choice> |
49 |
Location: |
50 |
-> Processor type and features |
51 |
-> Timer frequency (<choice> [=y]) |