Re: [Xen-devel] [PATCH] xen/sched: rt: Fix typo in a comment

2020-01-10 Thread Meng Xu
eld. > * + Set when chosen as next in rt_schedule(). > * + Cleared after context switch has been saved in rt_context_saved() > -- > 2.24.0 > Reviewed-by: Meng Xu Cheers, Meng ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [PATCH v2 7/9] xen/sched: switch scheduling to bool where appropriate

2020-01-08 Thread Meng Xu
> xen/include/xen/sched.h | 6 +++--- > 7 files changed, 35 insertions(+), 35 deletions(-) > As to xen/common/sched/rt.c, Reviewed-by: Meng Xu Cheers, Meng ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [PATCH v2 5/9] xen/sched: use scratch cpumask instead of allocating it on the stack

2020-01-08 Thread Meng Xu
ommon/sched/rt.c | 56 > ++- > 1 file changed, 37 insertions(+), 19 deletions(-) > Reviewed-by: Meng Xu Meng ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [PATCH v2 9/9] xen/sched: add const qualifier where appropriate

2020-01-08 Thread Meng Xu
--- > xen/common/sched/rt.c | 32 ++-- > xen/include/xen/sched.h | 9 > 8 files changed, 96 insertions(+), 89 deletions(-) > As to xen/common/sched/rt.c, Acked-by: Meng Xu Meng ___ Xen-devel mailing list Xen-deve

Re: [Xen-devel] Xen optimization

2018-10-11 Thread Meng Xu
Hi Milan, On Thu, Oct 11, 2018 at 12:36 AM Milan Boberic wrote: > > On Wed, Oct 10, 2018 at 6:41 PM Meng Xu wrote: > > > > The jitter may come from Xen or the OS in dom0. > > It will be useful to know what is the jitter if you run the test on > > PetaLinux. >

Re: [Xen-devel] Xen optimization

2018-10-10 Thread Meng Xu
[Just add some thoughts on this.] On Wed, Oct 10, 2018 at 4:22 AM Milan Boberic wrote: > > Hi, > sorry, my explanation wasn't precise and I missed the point. > vCPU pinning with sched=null I put "just in case", because it doesn't hurt. > > Yes, PetaLinux domain is dom0. The jitter may come from

Re: [Xen-devel] [PATCH] sched/rt: Fix build after c/s c3715dd8fb766

2018-03-08 Thread Meng Xu
> 1 error generated. > > when compiling with Clang. Drop the function. > > Signed-off-by: Andrew Cooper > --- Reviewed-by: Meng Xu Thank you very much! Meng ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [PATCH 4/6] xen/sched: Remove {init, destroy}_domain() interfaces

2018-02-28 Thread Meng Xu
52 - -52 > null_dom_init 52 - -52 > csched_dom_init 52 - -52 > csched2_dom_init 52 - -52 > > Signed-off-by: Andrew Cooper > --- Acked-by: Meng Xu

Re: [Xen-devel] [PATCH 3/6] xen/sched: Improvements to the {alloc, free}_domdata() interfaces

2018-02-28 Thread Meng Xu
can be proper > per-hook defaults and checks. > > Callers of the alloc hooks are switched to using IS_ERR(), rather than > checking for NULL. > > Signed-off-by: Andrew Cooper > --- Acked-by: Meng Xu Thanks, Meng --- Meng Xu Ph.D. Candidate in Computer an

Re: [Xen-devel] Is there any way to read msr in hypervisor code?

2018-02-27 Thread Meng Xu
. Best Regards, Meng --- Meng Xu Ph.D. Candidate in Computer and Information Science University of Pennsylvania http://www.cis.upenn.edu/~mengxu/ > > > On Tue, Feb 27, 2018 at 11:03 PM, Andrew Cooper > wrote: >> >> On 27/02/18 12:35, Minjun Hong wrote: >&

Re: [Xen-devel] RTDS with extra time issue

2018-02-12 Thread Meng Xu
On Mon, Feb 12, 2018 at 6:08 AM, Andrii Anisov wrote: > > Dario, Meng, > > > On 12.02.18 12:17, Dario Faggioli wrote: >> >> Well, I'll let Andrii reply, but honestly, I don't think it is. >> >> See, for instance, the fact that DomR has only 1 vCPU, so I find it >> unlikely that the only thing that

Re: [Xen-devel] RTDS with extra time issue

2018-02-09 Thread Meng Xu
> > It looks like DomR's vCPU does get 50% of CPU time, so it's not that > other vCPUs are preventing it to exploit all its own reservation. If > that would have not been the case, there'd be a bug in the scheduler. > > By giving the vCPU 100% (either via "budget == period" or with > extratime), we

Re: [Xen-devel] RTDS with extra time issue

2018-02-09 Thread Meng Xu
On Fri, Feb 9, 2018 at 11:04 AM, Andrii Anisov wrote: > > On 09.02.18 17:34, Meng Xu wrote: >> >> If you want to keep the same VCPU parameter, can you try to set task's >> period = 100ms and exe time = 40ms? >> By theory (I used CARTS to compute), a VCPU (10ms,

Re: [Xen-devel] RTDS with extra time issue

2018-02-09 Thread Meng Xu
On Fri, Feb 9, 2018 at 10:56 AM, Andrii Anisov wrote: > Hello Meng Xu, > > > On 09.02.18 17:36, Meng Xu wrote: >> >> Another way to check if there is interference from services in domR is >> to set period = budget for the domR's VCPUs. > > Could you p

Re: [Xen-devel] RTDS with extra time issue

2018-02-09 Thread Meng Xu
understand things better, can you enable > extratime for DomR as well, and report what you see in xentop, and > whether or not you still see deadline misses? > Another way to check if there is interference from services in domR is to set period = budget for the domR's VCPUs. Be

Re: [Xen-devel] RTDS with extra time issue

2018-02-09 Thread Meng Xu
emand of two RT tasks with the same utilization is different: the task with smaller period has larger demand. ​Best, Meng​ --- Meng Xu Ph.D. Candidate in Computer and Information Science University of Pennsylvania http://www.cis.upenn.edu/~mengxu/ ___

Re: [Xen-devel] [PATCH] xen/sched_rt: Move repl_timer into struct rt_private

2018-01-11 Thread Meng Xu
219 136 -83 > > As an extra bit of cleanup noticed while making this change, there is no need > to call cpumask_clear() on an zeroed memory allocation. > > Signed-off-by: Andrew Cooper > --- Reviewed-by: Meng Xu Thanks, Meng

Re: [Xen-devel] [PATCH] MAINTAINERS: update my entries to new email address.

2018-01-10 Thread Meng Xu
> Cc: Juergen Gross > Cc: Meng Xu > --- Acked-by: Meng Xu Glad to see you back. :) Best Regards, Meng --- Meng Xu Ph.D. Candidate in Computer and Information Science University of Pennsylvania http://www.cis.upenn.edu/~mengxu/ __

Re: [Xen-devel] How to make tracking CPU cache-miss on Xen?

2017-12-11 Thread Meng Xu
es for domU. This could be faster, since it's not complicated to do so. IIRC, PMU in Xen can only monitor the cache misses when VCPUs are pinned to cores. Best Regards, Meng --- Meng Xu Ph.D. Candidate in Computer and Information Science University of Pennsylvania http://www.cis.upe