All of lore.kernel.org
 help / color / mirror / Atom feed
* explain the meaning of some informations
@ 2016-04-14  9:28 aicha hamza
  2016-04-14 11:45 ` Dario Faggioli
  0 siblings, 1 reply; 4+ messages in thread
From: aicha hamza @ 2016-04-14  9:28 UTC (permalink / raw)
  To: Xen-devel


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

hello
does any body can explain what mean this



(XEN) Cpus: 0-1
(XEN) Scheduler: SMP Credit Scheduler (credit)
(XEN) info:
(XEN) ncpus = 2
(XEN) master = 0
(XEN) credit = 600
(XEN) credit balance = 107
(XEN) weight = 512
(XEN) runq_sort = 55
(XEN) default-weight = 256
(XEN) tslice = 30ms
(XEN) ratelimit = 1000us
(XEN) credits per msec = 10
(XEN) ticks per tslice = 3
(XEN) migration delay = 0us
(XEN) idlers: 00000000,00000000,00000000,00000000


what's the significance of credit= 600 , runq_sort = 55 , ....
i tried to understand it but i found some difficulties in some of it

thanks

[-- Attachment #1.2: Type: text/html, Size: 9714 bytes --]

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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: explain the meaning of some informations
  2016-04-14  9:28 explain the meaning of some informations aicha hamza
@ 2016-04-14 11:45 ` Dario Faggioli
  2016-04-14 14:02   ` aicha hamza
  0 siblings, 1 reply; 4+ messages in thread
From: Dario Faggioli @ 2016-04-14 11:45 UTC (permalink / raw)
  To: aicha hamza, Xen-devel


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

On Thu, 2016-04-14 at 11:28 +0200, aicha hamza wrote:
> hello
> does any body can explain what mean this
> 
Hello,

Start by reading this:
http://wiki.xenproject.org/wiki/Asking_Developer_Questions

and stopping using HTML for emails.

> (XEN) Cpus: 0-1
> (XEN) Scheduler: SMP Credit Scheduler (credit)
> (XEN) info:
> (XEN) ncpus = 2
> (XEN) master = 0
> (XEN) credit = 600
> (XEN) credit balance = 107
> (XEN) weight = 512
> (XEN) runq_sort = 55
> (XEN) default-weight = 256
> (XEN) tslice = 30ms
> (XEN) ratelimit = 1000us
> (XEN) credits per msec = 10
> (XEN) ticks per tslice = 3
> (XEN) migration delay = 0us
> (XEN) idlers: 00000000,00000000,00000000,00000000
> 
> 
> what's the significance of credit= 600 , runq_sort = 55 , ....
> i tried to understand it but i found some difficulties in some of it
> 
They're information relevant when you want to either understand or
debug the behavior of the Credit scheduler.

What they mean in general, as well as what it means to find a specific
value in each of this field is only evident if you go check the code
and see what each line is actually printing and how the value of the
printed quantity evolve through the algorithm, considering the various
phases and events.

"found some difficulties in some of it" is too broad. What is it that
you manage to understood and, for the things that you didn't, what is
it specifically that you are not understanding?

Also, most of the time, stating your goal is also very very helpful to
be able to help you.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: explain the meaning of some informations
  2016-04-14 11:45 ` Dario Faggioli
@ 2016-04-14 14:02   ` aicha hamza
  2016-04-14 14:28     ` Dario Faggioli
  0 siblings, 1 reply; 4+ messages in thread
From: aicha hamza @ 2016-04-14 14:02 UTC (permalink / raw)
  To: Dario Faggioli; +Cc: Xen-devel


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

thanks for your reply
I am  actually trying to generate some  important information about xen ,
dom0 ... i have xen runnig on omap board
i didn't understand ( credit = 600 ) and the difference between credit and
credit balance
Regards

On Thu, Apr 14, 2016 at 1:45 PM, Dario Faggioli <dario.faggioli@citrix.com>
wrote:

> On Thu, 2016-04-14 at 11:28 +0200, aicha hamza wrote:
> > hello
> > does any body can explain what mean this
> >
> Hello,
>
> Start by reading this:
> http://wiki.xenproject.org/wiki/Asking_Developer_Questions
>
> and stopping using HTML for emails.
>
> > (XEN) Cpus: 0-1
> > (XEN) Scheduler: SMP Credit Scheduler (credit)
> > (XEN) info:
> > (XEN) ncpus = 2
> > (XEN) master = 0
> > (XEN) credit = 600
> > (XEN) credit balance = 107
> > (XEN) weight = 512
> > (XEN) runq_sort = 55
> > (XEN) default-weight = 256
> > (XEN) tslice = 30ms
> > (XEN) ratelimit = 1000us
> > (XEN) credits per msec = 10
> > (XEN) ticks per tslice = 3
> > (XEN) migration delay = 0us
> > (XEN) idlers: 00000000,00000000,00000000,00000000
> >
> >
> > what's the significance of credit= 600 , runq_sort = 55 , ....
> > i tried to understand it but i found some difficulties in some of it
> >
> They're information relevant when you want to either understand or
> debug the behavior of the Credit scheduler.
>
> What they mean in general, as well as what it means to find a specific
> value in each of this field is only evident if you go check the code
> and see what each line is actually printing and how the value of the
> printed quantity evolve through the algorithm, considering the various
> phases and events.
>
> "found some difficulties in some of it" is too broad. What is it that
> you manage to understood and, for the things that you didn't, what is
> it specifically that you are not understanding?
>
> Also, most of the time, stating your goal is also very very helpful to
> be able to help you.
>
> 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: Type: text/html, Size: 3109 bytes --]

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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: explain the meaning of some informations
  2016-04-14 14:02   ` aicha hamza
@ 2016-04-14 14:28     ` Dario Faggioli
  0 siblings, 0 replies; 4+ messages in thread
From: Dario Faggioli @ 2016-04-14 14:28 UTC (permalink / raw)
  To: aicha hamza; +Cc: Xen-devel


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

On Thu, 2016-04-14 at 16:02 +0200, aicha hamza wrote:
> thanks for your reply 
>
You are welcome.

You are still using HTML, though, and you are top posting. Both should
stop.

> I am  actually trying to generate some  important information about
> xen , dom0 ... 
>
So "generate some important information" is your end goal? Still a bit
vague / unclear to me, I have to admit...

> i have xen runnig on omap board 
> i didn't understand ( credit = 600 ) and the difference between
> credit and credit balance
>
So, to understand credit balance (which prints prv->credit_balance, as
you can see from csched_dump()), I recommend looking, inside
xen/common/sched_credit.c, at the csched_acct() function.

For credit, which prints prv->credits, look at __csched_set_tslice(),
csched_free_pdata() and init_pdata().

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-14 14:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-14  9:28 explain the meaning of some informations aicha hamza
2016-04-14 11:45 ` Dario Faggioli
2016-04-14 14:02   ` aicha hamza
2016-04-14 14:28     ` Dario Faggioli

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.