xen: fix incorrect lock for credit and credit2
I won't fight for this title, though. :-)
Probably no need to resend...
Thanks,
Meng
--
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania
http://www.cis.upenn.edu/~mengxu/
_
ed to consider this?
Thanks,
Meng
--
---
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania
http://www.cis.upenn.edu/~mengxu/
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
e.
>
> Maybe we can use this thread to start collating a short-list.
How about the improved RTDS scheduler:
(1) Change the RTDS scheduler from quantum-driven model to event-driven model;
(2) Support get/set per-VCPU parameters in RTDS toolstack.
Thanks,
Meng
--
Meng Xu
PhD Student in Com
nd information from other sources should keep
updated with what the MAINTAINERS file says?
Please correct me if I'm wrong.
[1] http://wiki.xenproject.org/wiki/RTDS-Based-Scheduler
Thanks,
Meng
--
Meng Xu
PhD Student in Computer and Information Science
Universit
-)
>
> And at this:
> http://lists.xenproject.org/archives/html/xen-devel/2015-06/msg01992.html
Yes. I read this before I asked. :-)
>
> The feature document template has been put together:
> http://lists.xenproject.org/archives/html/xen-devel/2015-08/msg01
should be using that.
>
> Nothing in the MAINTAINERS file constitutes a security statement.
I didn't realize this before.
Thank you very much for clarification!
Meng
--
---
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania
http://www.cis.upenn.edu/~mengxu/
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
e the scheduler won't crash the system, or
(2) make sure the performance of the scheduler is correct, or
(3) prove the scheduler is correct?
Which one are we talking about here? (maybe item 1?)
Thanks,
Meng
---
Meng Xu
PhD Student in Computer and Information Science
University of Penns
On Tue, Apr 26, 2016 at 6:49 PM, Dario Faggioli
wrote:
> On Tue, 2016-04-26 at 14:38 -0400, Meng Xu wrote:
>> > So, yes, the scheduler is now feature complete (with the per-vcpu
>> > parameters) and adheres to a much more sensible and scalable design
>> > (event dri
ve priority bands that when a VCPU depletes its
budget, it will goes to the lower priority band. The VCPU on a lower
priority band will not be scheduled until all VCPUs in a higher
priority band are scheduled.
This policy seems easy to incorporate into the RTDS. (But I have to
think harder to m
On Wed, Apr 27, 2016 at 8:27 AM, Dario Faggioli
wrote:
> On Tue, 2016-04-26 at 21:16 -0400, Meng Xu wrote:
>> > It's indeed not a must for real-time schedulers. In fact, it's only
>> > important if one wants the system to be overall usable, when using
>&
>> Before this commit, in fact, even if the pCPU where the
>> timer happened to be initialized at creation time was
>> moved to another cpupool, the timer stayed there,
>> potentially inferfearing with the new scheduler of the
>
> * interfering
>
>> pCPU itse
pened to be initialized at creation time was
> moved to another cpupool, the timer stayed there,
> potentially inferfearing with the new scheduler of the
> pCPU itself.
>
> Signed-off-by: Dario Faggioli
> --
Reviewed-and-Tested-by: Meng Xu
I do have a minor comment about the patch,
een independent cpupools that the patch cures is, I think, something
> >worthwhile trying to avoid.
Yes. It's better to avoid this type of interference.
>
> Besides, it is again quite self contained, as
> >it's indeed only relevant for RTDS (which is also goin
On Sat, May 7, 2016 at 5:19 PM, Meng Xu wrote:
> On Tue, May 3, 2016 at 5:46 PM, Dario Faggioli
> wrote:
>>
>> The scheduling hooks API is now used properly, and no
>> initialization or de-initialization happen in
>> alloc/free_pdata any longer.
>>
>> I
;
> I don't think things are confusing, neither right now, nor after this
> patch, but I'm open to others' opinion. :-)
Hmm, I won't get confused with the comment from now on, but I'm unsure
if someone else will or not. The tricky thing is when I know it, I
w
On Mon, May 9, 2016 at 10:52 AM, Dario Faggioli
wrote:
> On Mon, 2016-05-09 at 10:08 -0400, Meng Xu wrote:
>> > I don't think things are confusing, neither right now, nor after
>> > this
>> > patch, but I'm open to others' opinion. :-)
>>
>&g
t 2 hard affinity, for hotplug
> disk backends (drbd, iscsi, &c) and soft reset for HVM guests that should be
> added?
>
> For the following sections there are some TODO's - please verify and modify
> and once OK, remove the TODO from the wiki pages.
>
> RTDS (Meng Xu
gt;
> Spotted by Coverity.
I'm curious about this line. Does it mean that this is spotted by the
coverty code review or by some automatical testing/checking?
>
> Signed-off-by: Andrew Cooper
> ---
I'm sorry that I should have spot it out when I reviewed the code. :-(
Revie
uot;final"
goal to add the hypercall? Probably it is just unnecessary to add a
hypercall to achieve your final goal.
I'm just curious if you could give a self introduction. ;-)
Meng
---
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania
http://www.
nto the linux kernel without problem.
Thank you very much for your help and time!
Best Regards,
Meng
--
---
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania
http://www.cis.upenn.edu/~mengxu/
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
gt; }
> else
> {
> - snext = __runq_pick(ops, cpumask_of(cpu));
> +snext = runq_pick(ops, cpumask_of(cpu));
> if ( snext == NULL )
> snext = rt_vcpu(idle_vcpu[cpu]);
>
Meng
---
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania
http://www.cis.upenn.edu/~mengxu/
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
weird issue. Because I also modify the other parts of
Xen a bit, so the test is not for xen 4.7-rc2 though. That's why we
have Chong test the xen 4.7-rc2. Thank you very much, Chong, for your
nice test report! :-)
The workload types I run are:
1) Compile linux or xen kernels in parallel. The
ay still be some issues with the NVIDIA devices as
Dushyant described after he applied the patch.
Right now, I have the exact same board as Dushyant has. I think I may
encounter the exact same issue as he did. So I'm wondering if there is
some documentation/tutorial/notes that we can le
Hi Dushyant,
On Sat, May 14, 2016 at 1:36 PM, Dushyant Behl
wrote:
> Hey Meng,
>
> On Sat, May 14, 2016 at 7:39 AM, Meng Xu wrote:
>>>
>>> http://dev.ktemkin.com/misc/xenarm-gic-parents.patch
>>
>> It seems this link is invalid now...
>> Has
diff --git a/xen/arch/arm/platforms/tegra.c b/xen/arch/arm/platforms/tegra.c
index 5ec9dda..8477ad1 100644
--- a/xen/arch/arm/platforms/tegra.c
+++ b/xen/arch/arm/platforms/tegra.c
@@ -431,6 +431,7 @@ static const struct dt_device_match
tegra_blacklist_dev[] __initconst =
* UART to dom0, so don't map any of them.
*/
DT_MATCH_COMPATIBLE("nvidia,tegra20-uart"),
+DT_MATCH_COMPATIBLE("nvidia,tegra20-timer"),
{ /* sentinel */ },
};
Thanks and Best Regards,
Meng
---
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania
http://www.cis.upenn.edu/~mengxu/
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
tegra 700b0400.sdhci: Got CD GPIO
sdhci-tegra 700b0400.sdhci: Got WP GPIO
[5.399109] sdhci-tegra 700b0400.sdhci: Got WP GPIO
3mmc0: Unknown controller version (3). You may experience problems.
[5.399231] mmc0: Unknown controller version (3). You may
experience problems.
sdhci-tegra 700b0
le? or is it spinning?), and to look in the
>> xenstored log file to see if anything suspicious occurs.
>
> I tried booting into older, stock kernels. They all work with the
> read. However, I do not see why the kernel modification would be the
> issue as described above. I also
gt;> is after, but I would presume the standard headers are updated to
>>> account for this. Is there an easy way to check for this? Also, would
>>> the same issue cause writes to fails? Because writes from the same
>>> domain work fine, and appear to other domains using
use /proc/xen/xenbus.". Maybe the non-working
>> > domU uses kernel version after 3.14.
>
> It does, being the custom kernel on version 4.1.0. But Dom0 uses this same
> exact kernel and reads/writes just fine! The only solution if this is indeed
> the problem appears to be changing the kernel source we build on or some
> hacky method such as symlinking /proc/.. to /dev/.., there has to be an
> elegant real solution to this...
Hi Dagaen,
Maybe we can try to create a symlink /proc/xen/xenbus to
/dev/xen/xenbus and see if works.
I'm not that sure about if you can just define a env. variable
XENSTORED_PATH to /dev/xen/xenbus to make /dev/xen/xenbus as a default
choice.. But it's no harm to try.
BTW, this is a useful link to refer to:
http://lists.xenproject.org/archives/html/xen-devel/2015-08/msg01679.html
Best Regards,
Meng
---
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania
http://www.cis.upenn.edu/~mengxu/
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
On Mon, May 16, 2016 at 7:33 AM, Julien Grall wrote:
>
> On 15/05/16 20:35, Meng Xu wrote:
>>
>> Hi Julien and Ian,
>
>
> Hello Meng,
Hi Julien,
>
>>
>> I'm trying to run Xen on NVIDIA Jetson TK1 board. (Right now, Xen does
>> not support
to know others are also interested in this platform.
It will be more useful to fix it... :-)
>
> On 16/05/16 17:33, Meng Xu wrote:
>>
>> On Mon, May 16, 2016 at 7:33 AM, Julien Grall
>> wrote:
>>>
>>>
>>> On 15/05/16 20:35, Meng Xu wrote:
>&g
nge it to
!dt_device_is_compatible(rirq.controller, "nvidia , tegra124-ictlr")
dom0 boots up~~~ :-D
>
> Of course, that's off-the-cuff code I haven't tried, but hopefully it
> should help to get you started.
Sure! It does work and get me started! I really appreciate your help
omment for the future: please add the version number into the
title so that we can easily tell it is a new patch. :-)
Best,
Meng
---
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania
http://www.cis.upenn.edu/~mengxu/
_
On Sun, May 15, 2016 at 7:54 PM, Tianyang Chen wrote:
> No functional change:
> -Various coding style fix
> -Added comments for UPDATE_LIMIT_SHIFT.
>
> Signed-off-by: Tianyang Chen
Reviewed-by: Meng Xu
-------
Meng Xu
PhD Student in Computer and Information Scienc
On Sun, May 15, 2016 at 7:54 PM, Tianyang Chen wrote:
> Vcpu flags are checked and cleared atomically. Performance can be
> improved with corresponding non-atomic versions since schedule.c
> already has spin_locks in place.
>
> Signed-off-by: Tianyang Chen
Reviewed-by: Meng Xu
C that need to
be workaround? If the board is not supported by Xen, can we say Xen
will support the board with the warkaround?
Thanks and Best Regards,
Meng
---
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania
http://www.cis.
a little as well (removing a pointless initialization, and
> moving the sampling a bit closer to its use). These two hunks
> entail no further functional changes.
>
> Signed-off-by: Dario Faggioli
> ---
> Cc: George Dunlap
> Cc: Meng Xu
> Cc: Wei Liu
> ---
Reviewed-by
itly say that RTDS will have incorrect budget accounting for
nested virtualization situation, when the RTDS was upstreamed in Xen
4.5.
Best Regards,
Meng
---
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania
http://www.cis.upenn.edu/~mengxu/
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
forward to the PV drivers as well. :-)
Thanks and Best Regards,
Meng
---
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania
http://www.cis.upenn.edu/~mengxu/
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http:/
specify the --libexecdir for the program executables?
I found one very old link at [1], but I doubt if it's still working
since Xen changes the toolstack a lot since Xen 4.1
http://old-list-archives.xenproject.org/xen-users/2009-09/msg00263.html
Thanks and Best Regards,
Meng
---
Me
ed if the board itself can run Xen. If the board can
run Xen, I would like to buy one and try it out. :-)
[1] http://www.ti.com/lit/ds/symlink/dra746.pdf
Thanks and Best Regards,
Meng
---
Meng Xu
PhD Student in Computer and Information Science
Uni
Hi Andrii,
On Tue, Aug 1, 2017 at 4:02 AM, Andrii Anisov wrote:
> Hello Meng Xu,
>
> I've get back to this stuff.
Sorry for the late response. I'm not sure if you have already solved this.
>
>
> On 03.07.17 17:58, Andrii Anisov wrote:
>>
>> That'
On Mon, Aug 21, 2017 at 4:07 AM, Andrii Anisov wrote:
>
> Hello Meng Xu,
>
>
> On 18.08.17 23:43, Meng Xu wrote:
>>
>> The Section 4.1 and 4.2 in [1] explained the whole experiment steps.
>> If you have any question or confusion on a specific step, please feel
>
On Mon, Aug 21, 2017 at 4:16 AM, Andrii Anisov wrote:
>
> On 21.08.17 11:07, Andrii Anisov wrote:
>>
>> Hello Meng Xu,
>>
>>
>> On 18.08.17 23:43, Meng Xu wrote:
>>>
>>> The Section 4.1 and 4.2 in [1] explained the whole experiment steps.
&
On Mon, Aug 21, 2017 at 4:38 AM, Andrii Anisov wrote:
>
> On 18.08.17 23:43, Meng Xu wrote:
>>
>> Sure. The workload we used in the paper is mainly the cpu-intensive task.
>> We first calibrate a busy-loop of multiplications that runs for 1ms.
>> Then for a task
==
>
> * Per-cpu tasklet
> - XEN-28
> - Konrad Rzeszutek Wilk
>
> * Add support of rcu_idle_{enter,exit}
> - XEN-27
> - Dario Faggioli
I'm moving the RTDS scheduler to work-conserving scheduler.
The first version of the patch series has been posted at
http
c| 2 +-
> xen/arch/x86/mm/hap/hap.c | 2 +-
> 8 files changed, 63 insertions(+), 29 deletions(-)
How many VCPUs for a single VM do you want to support with this patch set?
Thanks,
Meng
--
---
Meng Xu
PhD Candidate in Computer and Informa
Change repl_budget event output for xentrace formats and xenalyze
Signed-off-by: Meng Xu
---
Changes from v1
Add this changes from v1
---
tools/xentrace/formats| 2 +-
tools/xentrace/xenalyze.c | 8 +---
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/tools/xentrace
Queue management:
Run queue holds VCPUs with extratime flag set and VCPUs with
remaining budget. Run queue is sorted in increasing order of VCPUs priorities.
Depleted queue holds VCPUs which have extratime flag cleared and depleted
budget.
Replenished queue is not modified.
Signed-off-by: Meng Xu
---
Ch
Modify libxl_vcpu_sched_params_get/set and sched_rtds_vcpu_get/set
functions to support per-VCPU extratime flag
Signed-off-by: Meng Xu
---
Changes from v1
1) Add LIBXL_HAVE_SCHED_RTDS_VCPU_EXTRA to indicate if extratime flag is
supported
2) Change flag name in domctl.h from
name and comments.
Signed-off-by: Meng Xu
[PATCH v2 1/5] xen:rtds: towards work conserving RTDS
[PATCH v2 2/5] libxl: enable per-VCPU extratime flag for RTDS
[PATCH v2 3/5] xl: enable per-VCPU extratime flag for RTDS
[PATCH v2 4/5] xentrace: enable per-VCPU extratime flag for RTDS
[PATCH v2 5/5]
Change main_sched_rtds and related output functions to support
per-VCPU extratime flag.
Signed-off-by: Meng Xu
---
Changes from v1
No change because we agree on using -e 0/1 option to
set if a vcpu will get extra time or not
Changes from RFC v1
Changes work_conserving flag to extratime flag
Revise xl tool use case by adding -e option
Remove work-conserving from TODO list
Signed-off-by: Meng Xu
---
Changes from v1
Revise rtds docs
---
docs/features/sched_rtds.pandoc | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/docs/features/sched_rtds.pandoc b/docs
Dario,
I didn't include your Reviewed-by tag because I made one small change.
On Fri, Sep 1, 2017 at 11:58 AM, Meng Xu wrote:
>
> Modify libxl_vcpu_sched_params_get/set and sched_rtds_vcpu_get/set
> functions to support per-VCPU extratime flag
>
> Signed-off-by: Meng Xu
&g
my
> personal email.
>
> Signed-off-by: Dario Faggioli
> ---
> Cc: Andrew Cooper
> Cc: George Dunlap
> Cc: Ian Jackson
> Cc: Jan Beulich
> Cc: Konrad Rzeszutek Wilk
> Cc: Stefano Stabellini
> Cc: Tim Deegan
> Cc: Wei Liu
> Cc: Juergen Gross
> Cc: Meng X
If it's a (you're currently paied to look after RTDS) then we're fine.
I'm paid to look after RTDS at least before I graduate. :)
Best regards,
Meng
--
Meng Xu
Ph.D. Candidate in Computer and Information Science
University of Pennsylvania
http://www.cis.upenn.edu/~mengxu/
__
efully, he answered your question.
If not, please feel free to ask.
I just added some very quick comment about your questions/comments below.
On Thu, Sep 28, 2017 at 5:18 AM, Andrii Anisov wrote:
> Hello,
>
>
> On 27.09.17 22:57, Meng Xu wrote:
>>
>> Note that:
>> When
On Tue, Sep 19, 2017 at 5:23 AM, Dario Faggioli
wrote:
>
> On Fri, 2017-09-15 at 12:01 -0400, Meng Xu wrote:
> > On Wed, Sep 13, 2017 at 8:16 PM, Dario Faggioli
> > wrote:
> > >
> > > > I'm ok with what it is in this patch, although I feel that
On Wed, Sep 13, 2017 at 8:51 PM, Dario Faggioli
wrote:
>
> On Fri, 2017-09-01 at 11:58 -0400, Meng Xu wrote:
> > diff --git a/tools/xl/xl_cmdtable.c b/tools/xl/xl_cmdtable.c
> > index ba0159d..1b03d44 100644
> > --- a/tools/xl/xl_cmdtable.c
> > +++ b/tools/xl/xl_cmd
Modify libxl_vcpu_sched_params_get/set and sched_rtds_vcpu_get/set
functions to support per-VCPU extratime flag
Signed-off-by: Meng Xu
---
Changes from v2
1) Move extratime out of the section
that is marked as depreciated in libxl_domain_sched_params.
2) Set vcpu extratime in
Change repl_budget event output for xentrace formats and xenalyze
Signed-off-by: Meng Xu
---
No changes from v2
Changes from v1
Add this changes from v1
---
tools/xentrace/formats| 2 +-
tools/xentrace/xenalyze.c | 8 +---
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a
Revise xl tool use case by adding -e option
Remove work-conserving from TODO list
Signed-off-by: Meng Xu
---
No change from v2
Changes from v1
Revise rtds docs
---
docs/features/sched_rtds.pandoc | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/docs/features
ol in libxl.h
Changes from RFC v1
Merge changes in sched_rt.c into one patch;
Minor change in variable name and comments.
Signed-off-by: Meng Xu
[PATCH v3 1/5] xen:rtds: towards work conserving RTDS
[PATCH v3 2/5] libxl: enable per-VCPU extratime flag for RTDS
[PATCH v3 3/5] xl: enable per-VCPU extr
Change main_sched_rtds and related output functions to support
per-VCPU extratime flag.
Signed-off-by: Meng Xu
---
Changes from v2
Validate the -e option input that can only be 0 or 1
Update docs/man/xl.pod.1.in
Change EXTRATIME to Extratime
Changes from v1
No change because we agree on using
width
Spare bandwidth is distributed among all VCPUs with extratime flag set,
proportional to these VCPUs utilizations
Signed-off-by: Meng Xu
---
Changes from v2
Explain how to distribute spare bandwidth in commit log
Minor change in has_extratime function without functionality change.
Changes fr
On Wed, Oct 11, 2017 at 6:57 AM, Dario Faggioli wrote:
> On Tue, 2017-10-10 at 19:17 -0400, Meng Xu wrote:
>> --- a/tools/xentrace/formats
>> +++ b/tools/xentrace/formats
>> @@ -75,7 +75,7 @@
>> 0x00022801 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) rtds:tickle[
>
Change repl_budget event output for xentrace formats and xenalyze
Signed-off-by: Meng Xu
---
Changes from v3
Handle burn_budget event
No changes from v2
Changes from v1
Add this changes from v1
---
tools/xentrace/formats| 4 ++--
tools/xentrace/xenalyze.c | 16 +++-
2 files
width
Spare bandwidth is distributed among all VCPUs with extratime flag set,
proportional to these VCPUs utilizations
Signed-off-by: Meng Xu
Reviewed-by: Dario Faggioli
---
Changes from v2
Explain how to distribute spare bandwidth in commit log
Minor change in has_extratime function without function
Revise xl tool use case by adding -e option
Remove work-conserving from TODO list
Signed-off-by: Meng Xu
Reviewed-by: Dario Faggioli
Acked-by: Wei Liu
---
No change from v2
Changes from v1
Revise rtds docs
---
docs/features/sched_rtds.pandoc | 7 ---
1 file changed, 4 insertions(+), 3
Modify libxl_vcpu_sched_params_get/set and sched_rtds_vcpu_get/set
functions to support per-VCPU extratime flag
Signed-off-by: Meng Xu
Reviewed-by: Dario Faggioli
Acked-by: Wei Liu
---
Changes from v2
1) Move extratime out of the section
that is marked as depreciated in
es in sched_rt.c into one patch;
Minor change in variable name and comments.
Signed-off-by: Meng Xu
[PATCH v4 1/5] xen:rtds: towards work conserving RTDS
[PATCH v4 2/5] libxl: enable per-VCPU extratime flag for RTDS
[PATCH v4 3/5] xl: enable per-VCPU extratime flag for RTDS
[PATCH v4 4/5] xen
Change main_sched_rtds and related output functions to support
per-VCPU extratime flag.
Signed-off-by: Meng Xu
Reviewed-by: Dario Faggioli
Acked-by: Wei Liu
---
Changes from v2
Validate the -e option input that can only be 0 or 1
Update docs/man/xl.pod.1.in
Change EXTRATIME to Extratime
On Thu, Oct 12, 2017 at 5:02 AM, Wei Liu wrote:
>
> FYI all patches except the xentrace one were committed yesterday.
Thank you very much, Wei!
Best,
Meng
--
Meng Xu
Ph.D. Candidate in Computer and Information Science
University of Pennsylvania
http://www.cis.upenn.edu/~
On Tue, Oct 17, 2017 at 3:29 AM, Dario Faggioli wrote:
> On Tue, 2017-10-17 at 09:26 +0200, Dario Faggioli wrote:
> > On Thu, 2017-10-12 at 10:34 -0400, Meng Xu wrote:
> > > On Thu, Oct 12, 2017 at 5:02 AM, Wei Liu
> > > wrote:
> > > >
> > >
On Tue, Oct 17, 2017 at 4:10 AM, Dario Faggioli wrote:
> On Wed, 2017-10-11 at 14:02 -0400, Meng Xu wrote:
>> Change repl_budget event output for xentrace formats and xenalyze
>>
>> Signed-off-by: Meng Xu
>>
> I'd say:
>
> Reviewed-by: Dario Faggiol
r security reasons,
Is there any document about the possible attack via the vPMU? The
document I found (such as [1] and XSA-163) just briefly say that the
vPMU should be disabled due to security concern.
[1] https://xenbits.xen.org/docs/unstable/misc/xen-command-line.html
>
> and a
to security concern.
>
> Besides the other responses you've already got, I also recall there
> being at least some CPU models that would live lock upon the
> debug store being placed into virtual space not mapped by present
> pages.
Thank you very much for your explanatio
On Tue, Oct 17, 2017 at 4:10 AM, Dario Faggioli wrote:
> On Wed, 2017-10-11 at 14:02 -0400, Meng Xu wrote:
>> Change repl_budget event output for xentrace formats and xenalyze
>>
>> Signed-off-by: Meng Xu
>>
> I'd say:
>
> Reviewed-by: Dario Faggioli
Hi
Hi George,
On Wed, Oct 25, 2017 at 10:31 AM, Wei Liu wrote:
>
> On Mon, Oct 23, 2017 at 02:50:31PM -0400, Meng Xu wrote:
> > On Tue, Oct 17, 2017 at 4:10 AM, Dario Faggioli wrote:
> > > On Wed, 2017-10-11 at 14:02 -0400, Meng Xu wrote:
> > >> Change repl_budget
Hi all,
On Tue, Oct 17, 2017 at 4:10 AM, Dario Faggioli wrote:
>
> On Wed, 2017-10-11 at 14:02 -0400, Meng Xu wrote:
> > Change repl_budget event output for xentrace formats and xenalyze
> >
> > Signed-off-by: Meng Xu
> >
> I'd say:
>
> Reviewed-by:
On Fri, Jun 23, 2017 at 6:55 AM, Dario Faggioli
wrote:
>
> Nothing changed in `pahole` output, in terms of holes
> and padding, but some fields have been moved, to put
> related members in same cache line.
>
> Signed-off-by: Dario Faggioli
> ---
> Cc: Meng Xu
> Cc:
level but has a smaller deadline
Signed-off-by: Meng Xu
---
xen/common/sched_rt.c | 71 ++-
1 file changed, 59 insertions(+), 12 deletions(-)
diff --git a/xen/common/sched_rt.c b/xen/common/sched_rt.c
index 39f6bee..740a712 100644
--- a/xen/c
Modify libxl_vcpu_sched_params_get/set and sched_rtds_vcpu_get/set
functions to support per-VCPU work conserving flag
Signed-off-by: Meng Xu
---
tools/libxl/libxl.h | 1 +
tools/libxl/libxl_sched.c | 3 +++
tools/libxl/libxl_types.idl | 2 ++
3 files changed, 6 insertions(+)
diff
Extend the hypercalls(XEN_DOMCTL_SCHEDOP_getvcpuinfo/putvcpuinfo) to
get/set a domain's per-VCPU work conserving parameters.
Signed-off-by: Meng Xu
---
xen/common/sched_rt.c | 2 ++
xen/include/public/domctl.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/xen/common/sched_r
Change main_sched_rtds and related output functions to support
per-VCPU work conserving flag.
Signed-off-by: Meng Xu
---
tools/xl/xl_cmdtable.c | 3 ++-
tools/xl/xl_sched.c| 56 ++
2 files changed, 40 insertions(+), 19 deletions(-)
diff
,
which is this series of patches.
Signed-off-by: Meng Xu
___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
On Tue, Aug 1, 2017 at 2:33 PM, Meng Xu wrote:
>
> This series of patches enable the toolstack to
> set and get per-VCPU work-conserving flag.
> With the toolstack, system administrators can decide
> which VCPUs will be made work-conserving.
>
> The design of the wor
there is an idle core, making these
VCPUs unnecessarily starve for one period.
Therefore, always make sure that we only tickle PCPUs that have not
been tickled already.
Signed-off-by: Haoran Li
Signed-off-by: Meng Xu
---
The initial discussion of this patch can be found at
https
there is an idle core, making these
VCPUs unnecessarily starve for one period.
Therefore, always make sure that we only tickle PCPUs that have not
been tickled already.
Signed-off-by: Haoran Li
Signed-off-by: Meng Xu
Reviewed-by: Dario Faggioli
---
The initial discussion of this patch can be
s for it
> to have a work conserving mode! :-)
Glad to hear that. :-)
>
> On Tue, 2017-08-01 at 14:13 -0400, Meng Xu wrote:
>> Make RTDS scheduler work conserving to utilize the idle resource,
>> without breaking the real-time guarantees.
>
> Just kill the "to u
On Wed, Aug 2, 2017 at 1:49 PM, Dario Faggioli
wrote:
> On Tue, 2017-08-01 at 14:33 -0400, Meng Xu wrote:
>> This series of patches enable the toolstack to
>> set and get per-VCPU work-conserving flag.
>> With the toolstack, system administrators can decide
>> wh
On Thu, Aug 3, 2017 at 11:47 AM, Dario Faggioli
wrote:
> On Tue, 2017-08-01 at 14:33 -0400, Meng Xu wrote:
>> --- a/xen/include/public/domctl.h
>> +++ b/xen/include/public/domctl.h
>> @@ -360,6 +360,7 @@ typedef struct xen_domctl_sched_credit2 {
>> typedef s
On Thu, Aug 3, 2017 at 11:53 AM, Dario Faggioli
wrote:
> On Tue, 2017-08-01 at 14:33 -0400, Meng Xu wrote:
>> diff --git a/tools/libxl/libxl_types.idl
>> b/tools/libxl/libxl_types.idl
>> index 8a9849c..f6c3ead 100644
>> --- a/tools/libxl/libxl_types.idl
>>
On Thu, Aug 3, 2017 at 12:03 PM, Dario Faggioli
wrote:
> On Tue, 2017-08-01 at 14:33 -0400, Meng Xu wrote:
>> --- a/tools/xl/xl_cmdtable.c
>> +++ b/tools/xl/xl_cmdtable.c
>> @@ -272,12 +272,13 @@ struct cmd_spec cmd_table[] = {
>> { "sched-rtds&qu
On Fri, Aug 4, 2017 at 5:01 AM, Dario Faggioli
wrote:
> On Thu, 2017-08-03 at 18:02 -0400, Meng Xu wrote:
>> On Thu, Aug 3, 2017 at 12:03 PM, Dario Faggioli
>> wrote:
>> >
>> > > @@ -702,14 +705,18 @@ int main_sched_rtds(int argc, char **argv)
>> >
On Fri, Aug 4, 2017 at 10:34 AM, Wei Liu wrote:
> On Fri, Aug 04, 2017 at 02:53:51PM +0200, Dario Faggioli wrote:
>> On Fri, 2017-08-04 at 13:10 +0100, Wei Liu wrote:
>> > On Fri, Aug 04, 2017 at 10:13:18AM +0200, Dario Faggioli wrote:
>> > > On Thu, 2017-08-03
es how many times the VCPU gets
the extra budget in the current period.
>
>> +svc->cur_budget = svc->budget;
>> +}
>> +else
>> + {
>> +svc->cur_budget = 0;
>> +__set_bit(__RTDS_depleted, &svc->fl
Queue management:
Run queue holds VCPUs with extratime flag set and VCPUs with
remaining budget. Run queue is sorted in increasing order of VCPUs priorities.
Depleted queue holds VCPUs which have extratime flag cleared and depleted
budget.
Replenished queue is not modified.
Signed-off-by: Meng Xu
---
Ch
Modify libxl_vcpu_sched_params_get/set and sched_rtds_vcpu_get/set
functions to support per-VCPU extratime flag
Signed-off-by: Meng Xu
---
Changes from RFC v1
Change work_conserving flag to extratime flag
---
tools/libxl/libxl_sched.c | 12
1 file changed, 12 insertions(+)
diff
Change main_sched_rtds and related output functions to support
per-VCPU extratime flag.
Signed-off-by: Meng Xu
---
Changes from RFC v1
Changes work_conserving flag to extratime flag
---
tools/xl/xl_cmdtable.c | 3 ++-
tools/xl/xl_sched.c| 56
1 - 100 of 397 matches
Mail list logo