PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Opensuse / Vmware Zeitproblem



netzmeister
30.08.07, 13:55
Hallo,

ich habe auf einer Opensuse einige Gastsysteme laufen.
Die Gastsysteme laufen von der Zeit stark hinterher.
Und zwar etwa 10 Sekunden pro Minute.

Ich habe hier: http://kex.cc/2006/10/03/vmware-tickt-falsch/
auch schon was gefunden.

Was habt Ihr für Ideen dazu?

Viele Grüße

Eicke

bla!zilla
30.08.07, 14:08
Wird die CPU vom Hostsystem dynamisch getaktet?

netzmeister
30.08.07, 14:29
Hallo,

gute Frage. Wie kann ich das im laufenden Betrieb herausfinden?

Viele Grüße

Eicke

P.S. Es stecken 2 Quadcore Xeons drin.

bla!zilla
30.08.07, 16:19
Was für Xeons sind das genau?! Poste mal die Ausgabe von [I][cpufreq-info/I].

netzmeister
30.08.07, 16:25
Hier:



vm0:~ # cpufreq-info
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to http://bugs.opensuse.org, please.
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
analyzing CPU 1:
no or unknown cpufreq driver is active on this CPU
analyzing CPU 2:
no or unknown cpufreq driver is active on this CPU
analyzing CPU 3:
no or unknown cpufreq driver is active on this CPU
analyzing CPU 4:
no or unknown cpufreq driver is active on this CPU
analyzing CPU 5:
no or unknown cpufreq driver is active on this CPU
analyzing CPU 6:
no or unknown cpufreq driver is active on this CPU
analyzing CPU 7:
no or unknown cpufreq driver is active on this CPU
vm0:~ #


Viele Grüße

Eicke

netzmeister
30.08.07, 16:30
vm0:~ # cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU E5320 @ 1.86GHz
stepping : 7
cpu MHz : 1861.994
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips : 3726.74

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU E5320 @ 1.86GHz
stepping : 7
cpu MHz : 1861.994
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips : 3723.91

processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU E5320 @ 1.86GHz
stepping : 7
cpu MHz : 1861.994
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips : 3723.96

processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU E5320 @ 1.86GHz
stepping : 7
cpu MHz : 1861.994
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips : 3723.96

processor : 4
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU E5320 @ 1.86GHz
stepping : 7
cpu MHz : 1861.994
cache size : 4096 KB
physical id : 1
siblings : 4
core id : 0
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips : 3723.96

processor : 5
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU E5320 @ 1.86GHz
stepping : 7
cpu MHz : 1861.994
cache size : 4096 KB
physical id : 1
siblings : 4
core id : 1
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips : 3723.98

processor : 6
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU E5320 @ 1.86GHz
stepping : 7
cpu MHz : 1861.994
cache size : 4096 KB
physical id : 1
siblings : 4
core id : 2
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips : 3723.96

processor : 7
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU E5320 @ 1.86GHz
stepping : 7
cpu MHz : 1861.994
cache size : 4096 KB
physical id : 1
siblings : 4
core id : 3
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips : 3723.97

vm0:~ #

netzmeister
30.08.07, 16:31
top - 17:30:59 up 33 days, 20:56, 4 users, load average: 2.67, 2.91, 2.92
Tasks: 151 total, 1 running, 149 sleeping, 1 stopped, 0 zombie
Cpu0 : 3.4%us, 61.4%sy, 0.0%ni, 34.2%id, 0.0%wa, 0.7%hi, 0.3%si, 0.0%st
Cpu1 : 1.4%us, 51.5%sy, 0.0%ni, 47.1%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 3.7%us, 11.8%sy, 0.0%ni, 84.6%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 1.5%us, 6.6%sy, 0.0%ni, 91.9%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu4 : 0.3%us, 11.8%sy, 0.0%ni, 86.2%id, 1.7%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu5 : 1.0%us, 14.2%sy, 0.0%ni, 84.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu6 : 1.0%us, 3.7%sy, 0.0%ni, 94.9%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu7 : 1.4%us, 26.9%sy, 0.0%ni, 71.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 16623452k total, 16416036k used, 207416k free, 273920k buffers
Swap: 2104472k total, 64k used, 2104408k free, 15231812k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4147 root 5 -10 1771m 125m 105m S 98 0.8 5371:48 vmware-vmx
15532 root 5 -10 1778m 830m 805m S 67 5.1 4088:24 vmware-vmx
6889 root 5 -10 1553m 1.4g 1.4g S 25 8.7 3351:59 vmware-vmx
7946 root 0 -20 0 0 0 S 4 0.0 287:30.07 vmware-rtc
3832 root 16 0 460m 69m 9140 S 3 0.4 815:55.62 Xorg
4359 root 15 0 22964 17m 4576 S 0 0.1 60:20.76 vmware-serverd
4717 eicke 15 0 66612 29m 23m S 0 0.2 11:32.01 amarokapp
6627 root 16 0 78416 37m 18m S 0 0.2 27:48.97 vmware
1 root 15 0 744 288 240 S 0 0.0 0:02.89 init

bla!zilla
30.08.07, 17:49
Hast du in der VM die VMware-Tools installiert?

netzmeister
30.08.07, 18:57
Hallo Patrick,

nein, das kann ich natürlich machen, ...

Viele Grüße

Eicke

pcdog
30.08.07, 20:29
falls das nichts nützt, kann ich dir noch eine paar angaben heraussuchen, die ich unter ESX mal machen musste
aber die tools sollten das hier beheben

bla!zilla
30.08.07, 23:10
Ich möchte an dieser Stelle auf dieses Dokument (http://www.vmware.com/pdf/vmware_timekeeping.pdf) verweisen. Das erklärt ganz gut die Zusammenhänge.

VMware-Tools machen auf jeden Fall Sinn in einer VM, da diese dann auch die Zeit mit dem Host synchron hält.

pcdog
31.08.07, 20:47
thanks, cooler link
lese ich grad mit genuss durch :)

netzmeister
01.09.07, 09:49
Hallo,

vielen Dank für die guten Tipps. Der Artikel von Vmware ist sehr interessant.

Auf einer ganz kleinen Kiste, auf der nur Cacti läuft, habe ich es jetzt etwas anders gelöst. Ich synchronisiere das jetzt über Zeitserver und Client. So musste
ich nur ein paar Kb zusätzlich installieren.

Auf dem Mailserver, der auch auf der virtualiserten Umgebung läuft, werde
ich wohl die Vmware Tools installieren.

Viele Grüße

Eicke

bla!zilla
01.09.07, 12:13
Klar, NTP Server und Client ist eine Möglichkeit. :)