Gentoo Archives: gentoo-user

From: lee <lee@××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xen on new install reboots by itself
Date: Fri, 24 Apr 2015 20:24:36
Message-Id: 87mw1x9u6h.fsf@heimdali.yagibdah.de
In Reply to: Re: [gentoo-user] xen on new install reboots by itself by "J. Roeleveld"
1 "J. Roeleveld" <joost@××××××××.org> writes:
2
3 > On Thursday, April 23, 2015 11:02:24 PM lee wrote:
4 >> hydra <hydrapolic@×××××.com> writes:
5 >> > You mean the documentation at Gentoo about Xen sucks or the upstream
6 >> >
7 >> > documentation? What information are you missing from there? Maybe we can
8 >> > add the missing pieces for Xen being more accessible and easier to use,
9 >> > what do you think? :)
10 >>
11 >> I mean the documentation they have on their wiki. It's a confusing mess
12 >> referring to various version with which things are being done
13 >> differently.
14 >
15 > The problem here is the different "implementations" that exist:
16 > - Xen (install and configure yourself, toolset: 'xl' , 'xm' is deprecated)
17 > - Citrix and XCP (pre-configured, install on dedicated server, toolset: 'xcp')
18 > - OVM (Oracle's implementation, not sure which toolset they use)
19
20 Maybe, maybe not; the documentation is so confusing that I can't really
21 tell what it is talking about.
22
23 >> Could you add missing pieces about why power management --- as in
24 >> frequency scaling --- doesn't work
25 >
26 > What doesn't work with this?
27 > The following seems quite detailed:
28 > http://wiki.xen.org/wiki/Xen_power_management
29
30 There was some command to query what frequencies the CPUs are running
31 on, and it didn't give any output. Documentation seems to claim that
32 xen can do power management automagically, yet there was no way to
33 verify what it actually does.
34
35 > And the commands listed there (for the hypervisor based option) work on my
36 > server.
37 >
38 >> and what to do about keeping the time
39 >> in sync between all VMs when you find out that this doesn't work as the
40 >> documentation would have you think it does?
41 >
42 > In what way doesn't it work?
43 > The clocks are all synchronized and I don't need to use anything like 'ntpd'
44
45 The clocks were off by quite a bit after a while, and I had to use ntp
46 to get them in sync. Some documentation claims you don't need ntp or
47 anything; some other documentation apparently tries to explain that
48 keeping the clocks in sync cannot work unless the CPU(s) have some
49 features having to do with clock consistency while they are in sleep
50 states, and yet other documentation seems to say that using ntp cannot
51 work because xen screws it off. In the end, it was recommended to me to
52 use ntp, which I found to work. There was no way to figure out what xen
53 was actually doing or not doing towards this, and nobody seemed to know
54 how to keep the clocks in sync, other than using ntp, which appears to
55 be deprecated.
56
57
58 --
59 Again we must be afraid of speaking of daemons for fear that daemons
60 might swallow us. Finally, this fear has become reasonable.

Replies

Subject Author
Re: [gentoo-user] xen on new install reboots by itself "J. Roeleveld" <joost@××××××××.org>