public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "J. Roeleveld" <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] xen on new install reboots by itself
Date: Sat, 25 Apr 2015 13:34:13 +0200	[thread overview]
Message-ID: <30427008.fAkbzUVMiM@andromeda> (raw)
In-Reply-To: <87mw1x9u6h.fsf@heimdali.yagibdah.de>

On Friday, April 24, 2015 10:24:06 PM lee wrote:
> "J. Roeleveld" <joost@antarean.org> writes:
> > On Thursday, April 23, 2015 11:02:24 PM lee wrote:
> >> hydra <hydrapolic@gmail.com> writes:
> >> >  You mean the documentation at Gentoo about Xen sucks or the upstream
> >> > 
> >> > documentation? What information are you missing from there? Maybe we
> >> > can
> >> > add  the missing pieces for Xen being more accessible and easier to
> >> > use,
> >> > what do you think? :)
> >> 
> >> I mean the documentation they have on their wiki.  It's a confusing mess
> >> referring to various version with which things are being done
> >> differently.
> > 
> > The problem here is the different "implementations" that exist:
> > - Xen (install and configure yourself, toolset: 'xl' , 'xm' is deprecated)
> > - Citrix and XCP (pre-configured, install on dedicated server, toolset:
> > 'xcp') - OVM (Oracle's implementation, not sure which toolset they use)
> 
> Maybe, maybe not; the documentation is so confusing that I can't really
> tell what it is talking about.

Where did you look?

> >> Could you add missing pieces about why power management --- as in
> >> frequency scaling --- doesn't work
> > 
> > What doesn't work with this?
> > The following seems quite detailed:
> > http://wiki.xen.org/wiki/Xen_power_management
> 
> There was some command to query what frequencies the CPUs are running
> on, and it didn't give any output.  Documentation seems to claim that
> xen can do power management automagically, yet there was no way to
> verify what it actually does.

It works here:
# xenpm get-cpufreq-para all
cpu id               : 0
affected_cpus        : 0
cpuinfo frequency    : max [3101000] min [1600000] cur [1600000]
scaling_driver       : acpi-cpufreq
scaling_avail_gov    : userspace performance powersave ondemand
current_governor     : ondemand
  ondemand specific  :
    sampling_rate    : max [10000000] min [10000] cur [20000]
    up_threshold     : 80
scaling_avail_freq   : 3101000 3100000 2900000 2700000 2500000 2300000 2100000 
1900000 1700000 *1600000
scaling frequency    : max [3101000] min [1600000] cur [1600000]
turbo mode           : enabled

<snipped identical results for other CPU-cores>

Looks like it's actually working and I never configured this.

> > And the commands listed there (for the hypervisor based option) work on my
> > server.
> > 
> >> and what to do about keeping the time
> >> in sync between all VMs when you find out that this doesn't work as the
> >> documentation would have you think it does?
> > 
> > In what way doesn't it work?
> > The clocks are all synchronized and I don't need to use anything like
> > 'ntpd'
> The clocks were off by quite a bit after a while, and I had to use ntp
> to get them in sync.  Some documentation claims you don't need ntp or
> anything; some other documentation apparently tries to explain that
> keeping the clocks in sync cannot work unless the CPU(s) have some
> features having to do with clock consistency while they are in sleep
> states, and yet other documentation seems to say that using ntp cannot
> work because xen screws it off.  In the end, it was recommended to me to
> use ntp, which I found to work.  There was no way to figure out what xen
> was actually doing or not doing towards this, and nobody seemed to know
> how to keep the clocks in sync, other than using ntp, which appears to
> be deprecated.

Which version did you try?
I remember having had clock-issues requiring ntp when I first started using Xen 
over 10 years ago.

--
Joost


  reply	other threads:[~2015-04-25 11:34 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-30 23:07 [gentoo-user] xen on new install reboots by itself symack
2015-03-31  5:43 ` hydra
2015-04-01  1:52   ` symack
2015-04-01 10:08     ` hydra
2015-04-01 12:52       ` symack
2015-04-01 16:07         ` hydra
2015-04-01 16:24           ` symack
2015-04-02  4:53             ` hydra
2015-04-02  6:20 ` J. Roeleveld
2015-04-05  5:17   ` hydra
2015-04-04 13:20 ` lee
2015-04-05  5:19   ` hydra
2015-04-08 21:43     ` lee
2015-04-15  3:59       ` hydra
2015-04-23 21:02         ` lee
2015-04-24 11:33           ` J. Roeleveld
2015-04-24 20:24             ` lee
2015-04-25 11:34               ` J. Roeleveld [this message]
2015-04-28 22:34                 ` symack
2015-04-29  3:38                   ` J. Roeleveld
2015-04-29  5:11                     ` hydra
2015-04-29  9:42                       ` J. Roeleveld
2015-04-29 12:37                         ` symack
2015-04-29 18:34                           ` hydra
2015-05-01 10:02                 ` lee
2015-04-16 14:12       ` J. Roeleveld
2015-04-16 22:38         ` symack
2015-04-24 11:47           ` J. Roeleveld
2015-04-23 21:03         ` lee
2015-04-24 11:37           ` J. Roeleveld
2015-04-24 20:23             ` lee
2015-04-25 10:12               ` J. Roeleveld
2015-05-01 11:27                 ` lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=30427008.fAkbzUVMiM@andromeda \
    --to=joost@antarean.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox