All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	xen-devel@lists.xenproject.org, xudong.hao@intel.com,
	wei.liu2@citrix.com
Subject: Re: xl cpu online/offline?
Date: Thu, 14 Jan 2016 10:55:42 +0000	[thread overview]
Message-ID: <1452768942.2185.20.camel@citrix.com> (raw)
In-Reply-To: <20160113145359.GA23951@char.us.oracle.com>

On Wed, 2016-01-13 at 09:53 -0500, Konrad Rzeszutek Wilk wrote:
> Hey,
> 
> We have some libxc calls for onlining/offlining the CPU and they
> are quite good for testing how well Xen behaves without say
> doing an S3 suspend or such.
> 
> It occurred to me that it would be nice to have them hook up in
> libxl/xl but I am not exactly sure what the right command line would be?
> 
> And whether you want to make it super-duper smart to be able to deal
> with ranges or hex masks, etc (like xentrace does).
> 
> Anyhow my first thought was:
> 
>  xl cpu online/offline
> 
> but most of the commands seem to follow one command per action, so
> perhaps:
> 
>  xl cpu-online
>  xl cpu-offline

For end users is the functionality provided by xl vcpu-set not easier and
more appropriate?

AIUI the commands you are proposing differ in that they allow arbitrary
sets of processors, rather than just the first N, to be manipulated?
Perhaps adding a flag to xl vcpu-set would be a nice way to add this
ability?

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  parent reply	other threads:[~2016-01-14 11:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-13 14:53 xl cpu online/offline? Konrad Rzeszutek Wilk
2016-01-13 15:15 ` Andrew Cooper
2016-01-13 15:40   ` Konrad Rzeszutek Wilk
2016-01-14 10:55 ` Ian Campbell [this message]
2016-01-14 12:38   ` Konrad Rzeszutek Wilk

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=1452768942.2185.20.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=konrad.wilk@oracle.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    --cc=xudong.hao@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.