All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: "Yu-An(Victor) Chen" <chen116@usc.edu>, Meng Xu <xumengpanda@gmail.com>
Cc: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: xen 4.5.0 rtds scheduler perform poorly with 2vms
Date: Sun, 29 Nov 2015 17:18:17 +0100	[thread overview]
Message-ID: <1448813897.7833.297.camel@citrix.com> (raw)
In-Reply-To: <CANwucLn8dWqbzR-g_8QDFt8UkwFVC_HEuUsf-x6cs4OgOYOdRg@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2008 bytes --]

On Sun, 2015-11-29 at 04:46 -0800, Yu-An(Victor) Chen wrote:
> So st_jobs_stats for the missed deadline jobs are:
> 
> trial #1 composed of 2 tasks: total tasks utilization rate = 1
> 
> (period, exe, deadline)=(21ms,12.023ms,21ms) -> miss all deadline
> (period, exe, deadline)=(100ms,37.985ms,100ms) -> no miss
> 
> trial #2 composed of 2 tasks: total tasks utilization rate = 1
> 
> (period, exe, deadline)=(68ms,40.685ms,68ms) -> miss all deadline
> (period, exe, deadline)=(70ms,28.118ms,70ms) -> no miss
> 
> trial #3 composed of 2 tasks: total tasks utilization rate = 1
> 
> (period, exe, deadline)=(16ms,11.613ms,16ms) -> miss all deadline
> (period, exe, deadline)=(46ms,12.612ms,46ms) -> no miss
> 
The point is: how did you come up with these numbers? What both me and
Meng are trying to say is that the budget(s) and period(s) of the
(vCPU's of a) VM and the budgets and periods of the task running inside
the VM must fulfill certain relationships, or schedulability is not
something you can even hope for! :-/

> I do notice that for within the task that misses deadline, the
> completion time get progressively longer, 
> for example: for trial #3, a snapshot of the task st_jobs_stats tells
> me that
> the completion time of the job is 79ms and then 87ms, and then 95ms
> 
That depends on how missing a deadline is handled and accounted for. I
don't recall how Litmus^RT does that.

> ok, I will look into the reference you provide, 
>
Highly recommended. You'll find there info about this relationship
necessary between vCPUs' and tasks' parameter we're talking about. :-)

> I just started my research in the rt fields, there is still a lot for
> me to learn.
>
:-D

Regards,
Dario
-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

  parent reply	other threads:[~2015-11-29 16:18 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-23 15:42 xen 4.5.0 rtds scheduler perform poorly with 2vms Yu-An(Victor) Chen
2015-11-23 16:07 ` Meng Xu
2015-11-23 16:35   ` Yu-An(Victor) Chen
2015-11-24  2:23     ` Meng Xu
2015-11-24  4:57       ` Yu-An(Victor) Chen
2015-11-24  6:19         ` Meng Xu
2015-11-25  0:15 ` Dario Faggioli
2015-11-27 16:36   ` Yu-An(Victor) Chen
2015-11-27 17:23     ` Dario Faggioli
2015-11-27 17:41       ` Meng Xu
2015-11-27 19:50         ` Yu-An(Victor) Chen
2015-11-28  0:17           ` Meng Xu
2015-11-28 12:20             ` Yu-An(Victor) Chen
2015-11-28 15:09               ` Meng Xu
2015-11-29 12:46                 ` Yu-An(Victor) Chen
2015-11-29 15:38                   ` Meng Xu
2015-11-29 16:27                     ` Dario Faggioli
2015-11-29 16:44                       ` Meng Xu
2015-11-29 18:16                         ` Yu-An(Victor) Chen
2015-12-01  8:59                         ` Dario Faggioli
2015-12-01 10:11                           ` Lars Kurth
2015-12-01 16:01                             ` Yu-An(Victor) Chen
2015-12-02  5:54                             ` Meng Xu
2015-12-02 10:54                               ` Wei Liu
2015-12-02 11:01                               ` Ian Campbell
2015-12-02 11:27                                 ` Dario Faggioli
2015-12-02 11:03                               ` Lars Kurth
2015-12-02 11:19                                 ` Dario Faggioli
2015-12-02 16:57                                   ` Meng Xu
2015-11-29 16:18                   ` Dario Faggioli [this message]
2015-11-29 16:21                     ` Meng Xu

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=1448813897.7833.297.camel@citrix.com \
    --to=dario.faggioli@citrix.com \
    --cc=chen116@usc.edu \
    --cc=xen-devel@lists.xen.org \
    --cc=xumengpanda@gmail.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.