[Xen-devel] debug xen with GNU DDD

2016-03-25 Thread tutu sky
Hi, there is a question. I need to observe some Xen internals, so i thought debugging might be useful. i tried using gdb, kdb, ... but they are complicated and not obvious. there is a debugging tool, GNU DDD, which may be suitable (although some simple) for that. but unfortunately i can not fi

[Xen-devel] what will happen for a floated vcpu?

2016-03-29 Thread tutu sky
Hi, I need to know what happens while a cpu which is running a vcpu, suddenly crash or down? I mean have xen any plane for such a situation? in other word what will happen for a vcpu which it's related cpu get down suddenly (i mean for vcpu which has that crashed cpu's affinity)? Thanks and reg

Re: [Xen-devel] [Xen-users] different number of cpus

2016-03-29 Thread tutu sky
9e946b3-a4cf-4a90-8cdf-689d19a2b869 ro find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US console=hvc0 earlyprintk=xen quiet echo'Loading initial ramdisk ...' module--nounzip /boot/initrd.img-3.19.0-25-generic } I hope getting your meaning correctly.

[Xen-devel] doing migration in xen

2016-03-30 Thread tutu sky
hi, I need to know how we can migrate a vcpu context while running from one core to another core? is it possible via scheduler? would you please guide me through this goal? thanks and regards. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://l

Re: [Xen-devel] [Xen-users] different number of cpus

2016-03-31 Thread tutu sky
"/boot/grub/grub.cfg"? Regards. From: Dario Faggioli Sent: Wednesday, March 30, 2016 4:27 PM To: tutu sky; Wei Liu Cc: Xen-devel@lists.xen.org Subject: Re: [Xen-devel] [Xen-users] different number of cpus On Tue, 2016-03-29 at 22:14 +, tutu sky wrote: > menuentry 

Re: [Xen-devel] what will happen for a floated vcpu?

2016-03-31 Thread tutu sky
. From: Dario Faggioli Sent: Thursday, March 31, 2016 4:00 PM To: tutu sky; xen devel Subject: Re: [Xen-devel] what will happen for a floated vcpu? On Tue, 2016-03-29 at 20:06 +, tutu sky wrote: > Hi, > I need to know what happens while a cpu which is run

Re: [Xen-devel] [Xen-users] different number of cpus

2016-03-31 Thread tutu sky
gards. From: Dario Faggioli Sent: Thursday, March 31, 2016 11:22 AM To: tutu sky; Wei Liu Cc: Xen-devel@lists.xen.org Subject: Re: [Xen-devel] [Xen-users] different number of cpus On Thu, 2016-03-31 at 07:25 +0000, tutu sky wrote: > thanks Dario, > But do you mean i must a

[Xen-devel] xenpm and scheduler

2016-04-11 Thread tutu sky
hi, Does xenpm 'cpufreq' or 'cpuidle' feature, has any effect on scheduling decisions? thanks a lot. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] xenpm and scheduler

2016-04-11 Thread tutu sky
ear enough? can you give me an answer or maybe some lines of schedule.c or sched_credit.c's code which i can track them to notice the effect of xenpm on scheduler part of the view? Thanks a lot. Regards. From: Meng Xu Sent: Monday, April 11, 2016 12:11 PM To: tutu sky Cc: Xen-devel@li

Re: [Xen-devel] xenpm and scheduler

2016-04-12 Thread tutu sky
t. regards. From: Dario Faggioli Sent: Tuesday, April 12, 2016 8:10 AM To: tutu sky; Meng Xu Cc: Xen-devel@lists.xen.org Subject: Re: [Xen-devel] xenpm and scheduler On Tue, 2016-04-12 at 03:52 +0000, tutu sky wrote: > Thanks Xu. I will do as desired about cross messagin

Re: [Xen-devel] xenpm and scheduler

2016-04-12 Thread tutu sky
onrad Rzeszutek Wilk Sent: Tuesday, April 12, 2016 1:41 PM To: tutu sky Cc: Dario Faggioli; Meng Xu; Xen-devel@lists.xen.org Subject: Re: [Xen-devel] xenpm and scheduler On Tue, Apr 12, 2016 at 11:50:42AM +0000, tutu sky wrote: > Thanks Dario, > Yeah, I do like playing with xenpm and try un

Re: [Xen-devel] xenpm and scheduler

2016-04-12 Thread tutu sky
yeah, running xenpm gives short comments on its commands and their options but not about how to establish it. I try my best for this :) thanks a lot. From: Konrad Rzeszutek Wilk Sent: Tuesday, April 12, 2016 5:08 PM To: tutu sky Cc: Dario Faggioli; Meng

Re: [Xen-devel] xenpm and scheduler

2016-04-13 Thread tutu sky
p on a real hardware, i'll back to report here. those people who encountered problems, used real hardware. Thanks for discussing. regards. From: Dario Faggioli Sent: Tuesday, April 12, 2016 9:05 PM To: tutu sky; Konrad Rzeszutek Wilk Cc: Meng Xu

[Xen-devel] xen cpu scheduler internals

2016-04-17 Thread tutu sky
Hi, I know that scheduling is done via two main functions and their effective interaction: one 'schedule()' in schedule.c and another 'do_schedule(...)', which is specific for every scheduling policy. my question is that (although it may seem clear and very common for kernel developers, but not

Re: [Xen-devel] xen cpu scheduler internals

2016-04-18 Thread tutu sky
Hi, I think pick_cpu function in schedule.c can be a good starting point, am i right? From: tutu sky Sent: Sunday, April 17, 2016 6:18 PM To: Xen-devel@lists.xen.org Subject: xen cpu scheduler internals Hi, I know that scheduling is done via two main

Re: [Xen-devel] xen cpu scheduler internals

2016-04-18 Thread tutu sky
ay, April 18, 2016 9:07 AM To: tutu sky Cc: Xen-devel@lists.xen.org Subject: Re: [Xen-devel] xen cpu scheduler internals On Sun, Apr 17, 2016 at 7:18 PM, tutu sky wrote: > Hi, > I know that scheduling is done via two main functions and their effective > interaction: > one '

[Xen-devel] Xen does not work after changing scheduler's code

2016-04-22 Thread tutu sky
Hi all. I've recently changed and added some line of code in some functions of credit scheduler, then issue: make clean make world (fix compilation errors, if any) make install rm -f /boot/xen.gz and update-grub then reboot the system to change to dom0, but when grub is loaded and i choose "ubunt

Re: [Xen-devel] Xen does not work after changing scheduler's code

2016-04-22 Thread tutu sky
steps before installing xen? Thanks and regards. From: Juergen Gross Sent: Friday, April 22, 2016 8:03 AM To: tutu sky; Xen-devel@lists.xen.org Subject: Re: [Xen-devel] Xen does not work after changing scheduler's code On 22/04/16 09:48, tutu sky

[Xen-devel] running a task (thread) directly on hardware

2016-04-22 Thread tutu sky
Hi, In linux kernel we can use affinity settings to ask scheduler for directly running the special thread on special cpu or taskset for special command, I have a question that: is it possible in Xen for having such a mechanism? I mean is there any hypercall or something similar (I don't hav

Re: [Xen-devel] Xen does not work after changing scheduler's code

2016-04-22 Thread tutu sky
anks a lot. From: Juergen Gross Sent: Friday, April 22, 2016 8:46 AM To: tutu sky; Xen-devel@lists.xen.org Subject: Re: [Xen-devel] Xen does not work after changing scheduler's code On 22/04/16 10:18, tutu sky wrote: > thanks Juergen, > i tried att

Re: [Xen-devel] running a task (thread) directly on hardware

2016-04-25 Thread tutu sky
Hi all. Is there anybody to give me an answer? Thanks. From: tutu sky Sent: Friday, April 22, 2016 8:22 AM To: Xen-devel@lists.xen.org Subject: running a task (thread) directly on hardware Hi, In linux kernel we can use affinity settings to ask

Re: [Xen-devel] Xen does not work after changing scheduler's code

2016-04-27 Thread tutu sky
ware? Thanks and regards. From: Dario Faggioli Sent: Tuesday, April 26, 2016 1:10 PM To: tutu sky Cc: Juergen Gross; Xen-devel@lists.xen.org Subject: Re: [Xen-devel] Xen does not work after changing scheduler's code On Fri, 2016-04-22 at 08:59 +, tutu sky wrote: >

Re: [Xen-devel] Xen does not work after changing scheduler's code

2016-04-27 Thread tutu sky
gioli Sent: Wednesday, April 27, 2016 3:21 PM To: tutu sky Cc: Juergen Gross; Xen-devel@lists.xen.org Subject: Re: [Xen-devel] Xen does not work after changing scheduler's code On Wed, 2016-04-27 at 14:58 +0000, tutu sky wrote: > Thanks Dario, > and then, i don't understand wh

Re: [Xen-devel] Xen does not work after changing scheduler's code

2016-04-28 Thread tutu sky
hi Geoge, I don't get your meaning. would you please repeat your question for me in order to understand it? Thanks and regards. From: dunl...@gmail.com on behalf of George Dunlap Sent: Thursday, April 28, 2016 8:32 AM To: tutu sky Cc: Dario Fag

Re: [Xen-devel] Xen does not work after changing scheduler's code

2016-05-09 Thread tutu sky
vmware. From: dunl...@gmail.com on behalf of George Dunlap Sent: Monday, May 9, 2016 2:56 PM To: tutu sky Cc: Dario Faggioli; Juergen Gross; Xen-devel@lists.xen.org Subject: Re: [Xen-devel] Xen does not work after changing scheduler's code On Thu, A

[Xen-devel] Hypercall invoking

2016-05-09 Thread tutu sky
Hi, I added a new hypercall to xen successfully, but when i try to invoke it in dom0 using privcmd, i am unable to invoke (using XC), I must cd to /xen.x.y.z/tools/xcutils and then try to invoke hypercall by XC interface which i created for it. DO functions of hypercall is written in /xen/common

Re: [Xen-devel] Xen does not work after changing scheduler's code

2016-05-10 Thread tutu sky
From: Paul Durrant Sent: Tuesday, May 10, 2016 8:34 AM To: tutu sky; George Dunlap Cc: Juergen Gross; Dario Faggioli; Xen-devel@lists.xen.org Subject: RE: [Xen-devel] Xen does not work after changing scheduler's code > -Original Message

Re: [Xen-devel] Xen does not work after changing scheduler's code

2016-05-10 Thread tutu sky
This is the second (and last) time I'm saying this: if Xen works (either inside of VMware, or everywhere else) up until you modify it, and then it stops working after you've modified it, there's 99.99% probability that it is your modifications that are wrong. Yes, I know it and i mentioned it

Re: [Xen-devel] Hypercall invoking

2016-05-10 Thread tutu sky
From: Dario Faggioli Sent: Tuesday, May 10, 2016 7:32 AM To: tutu sky; Xen-devel@lists.xen.org Subject: Re: [Xen-devel] Hypercall invoking On Tue, 2016-05-10 at 06:49 +, tutu sky wrote: > Hi, > I added a new hypercall to xen successfully, but

[Xen-devel] Running two vcpus simultaneously, on two different cpus

2016-03-04 Thread tutu sky
Hi all, I'm sara, a researcher, who trying to modify xen HV. This is my first question and i'm fresh in mailing lists, so hope i choose the correct list. I need to create two or more identical vcpus and then run them on separate cores. I exactly mean that i want having two or more from one vcpu

[Xen-devel] Running two vcpus simultaneously, on two different cpus

2016-03-04 Thread tutu sky
Hi all, I'm sara, a researcher, who trying to modify xen HV. This is my first question and i'm fresh in mailing lists, so hope i choose the correct list. I need to create two or more identical vcpus and then run them on separate cores. I exactly mean that i want having two or more from one vcpu