All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Lv, Hui" <hui.lv@intel.com>
To: Jan Beulich <JBeulich@suse.com>,
	George Dunlap <George.Dunlap@eu.citrix.com>
Cc: "Tian, Kevin" <kevin.tian@intel.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	"keir@xen.org" <keir@xen.org>,
	"Dong, Eddie" <eddie.dong@intel.com>,
	"Duan, Jiangang" <jiangang.duan@intel.com>,
	"Yu, Zhidong" <zhidong.yu@intel.com>
Subject: Re: [PATCH v2] xen/credit scheduler; Use delay to control scheduling frequency
Date: Mon, 19 Dec 2011 23:25:02 +0800	[thread overview]
Message-ID: <C10D3FB0CD45994C8A51FEC1227CE22F39412A972F@shsmsx502.ccr.corp.intel.com> (raw)
In-Reply-To: <4EEF5F720200007800068DB3@nat28.tlf.novell.com>


> Overriding the rate limit by the time slice isn't the right thing either, as that
> (the way I "read" it) means there's no rate limiting at all.
> What "rate limit" to me means is preventing quickly switching away from a
> vCPU recently scheduled without extending its (remaining) time slice, i.e. in any
> place a respective evaluation is done the shorter of the two should be used.
> 
> Jan

So the basic thing is to avoid "time slice" < "rate limit", happen.
I really don't understand why people want a 1ms time slice, but set the rate_limit to 5000(us), that is insubstantial.

If, this unfortunately happens, I prefer to put "rate_limit" at higher priority, which means extending the running time slice.
Some warnings should be put before the parameter of sched_ratelimit_us to avoid this.
Is this reasonable?

  reply	other threads:[~2011-12-19 15:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Acy8a1J98NIQa/LRTpOgi509iCZVqg==>
2011-12-17  3:24 ` [PATCH v2] xen/credit scheduler; Use delay to control scheduling frequency Lv, Hui
2011-12-19  8:24   ` Jan Beulich
2011-12-19 11:32     ` George Dunlap
2011-12-19 12:05       ` Jan Beulich
2011-12-19 13:59         ` George Dunlap
2011-12-19 14:59           ` Jan Beulich
2011-12-19 15:25             ` Lv, Hui [this message]
2011-12-19 15:38               ` Jan Beulich
2011-12-19 16:48                 ` George Dunlap
2011-12-19 17:04                   ` Jan Beulich
2011-12-19 13:56     ` Lv, Hui
2011-12-19 10:54   ` George Dunlap

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=C10D3FB0CD45994C8A51FEC1227CE22F39412A972F@shsmsx502.ccr.corp.intel.com \
    --to=hui.lv@intel.com \
    --cc=George.Dunlap@eu.citrix.com \
    --cc=JBeulich@suse.com \
    --cc=eddie.dong@intel.com \
    --cc=jiangang.duan@intel.com \
    --cc=keir@xen.org \
    --cc=kevin.tian@intel.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=zhidong.yu@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.