public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Houston, we have May 15, 1953 (says guest when host uses cpufreq, and dies)
@ 2009-02-18 14:51 Tomasz Chmielewski
  2009-02-18 16:02 ` Anthony Liguori
  2009-02-18 18:46 ` Marcelo Tosatti
  0 siblings, 2 replies; 20+ messages in thread
From: Tomasz Chmielewski @ 2009-02-18 14:51 UTC (permalink / raw)
  To: kvm

Is using cpufreq (i.e. with ondemand governor) on KVM host safe for guests?

I enabled cpufreq on the host, it scaled down the host CPU (Dual-Core 
AMD Opteron(tm) Processor 2212) to 1 GHz from 2 GHz.

Guest (using 1 CPU) was still showing that it has a 2 GHz CPU in 
/proc/cpuinfo (I guess this value is read only once, when booting).

After about 2 hours I started "date" on the guest - it showed that it's 
year *1953*, after which I couldn't start any other command (the guest 
was technically alive - SSH connection to it didn't die - but I couldn't 
do anything).

# date
Wed Feb 18 13:07:17 CET 2009

[let's wait ~2 hours]


# date
Fri May 15 10:13:14 CET 1953
# date
^C^Z
[could not interrupt]


Is it expected behaviour? Is it correct behaviour?


-- 
Tomasz Chmielewski
http://wpkg.org

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2009-03-07 14:59 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-18 14:51 Houston, we have May 15, 1953 (says guest when host uses cpufreq, and dies) Tomasz Chmielewski
2009-02-18 16:02 ` Anthony Liguori
2009-02-18 16:11   ` Tomasz Chmielewski
2009-02-18 16:59     ` Avi Kivity
2009-02-18 17:02       ` Tomasz Chmielewski
2009-02-18 20:37       ` Anthony Liguori
2009-02-19  9:15         ` Gerd Hoffmann
2009-02-19  9:20           ` Tomasz Chmielewski
2009-02-19 10:27             ` Gerd Hoffmann
2009-02-18 18:46 ` Marcelo Tosatti
2009-02-18 18:53   ` Tomasz Chmielewski
2009-02-18 18:57     ` Marcelo Tosatti
2009-02-18 19:07       ` Tomasz Chmielewski
2009-02-18 19:10         ` Marcelo Tosatti
2009-02-18 19:18           ` Tomasz Chmielewski
2009-02-18 19:32             ` Marcelo Tosatti
2009-02-18 20:02               ` Tomasz Chmielewski
2009-02-18 20:03                 ` Marcelo Tosatti
2009-02-19 14:43                   ` Tomasz Chmielewski
2009-03-07 14:59       ` Tomasz Chmielewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox