* CSCHED_CREDITS_PER_MSEC" and "MILLISECS(1)"
@ 2013-09-30 8:10 Adel Amani
2013-09-30 9:26 ` Matthew Daley
0 siblings, 1 reply; 8+ messages in thread
From: Adel Amani @ 2013-09-30 8:10 UTC (permalink / raw)
To: Matthew Daley
Cc: George Dunlap, dario.faggioli@citrix.com, Ian.Campbell@citrix.com,
Xen
[-- Attachment #1.1: Type: text/plain, Size: 274 bytes --]
Hello
What mean's "CSCHED_CREDITS_PER_MSEC" and "MILLISECS(1)"?
and in function "burn_credits" how computing "credits" and "svc->start_time"?
Thank you
Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: A.Amani@eng.ui.ac.ir
[-- Attachment #1.2: Type: text/html, Size: 1149 bytes --]
[-- Attachment #2: CSCHED_CRE..... and MILLISECS(1).JPG --]
[-- Type: image/jpeg, Size: 20849 bytes --]
[-- Attachment #3: 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] 8+ messages in thread
* Re: CSCHED_CREDITS_PER_MSEC" and "MILLISECS(1)"
2013-09-30 8:10 CSCHED_CREDITS_PER_MSEC" and "MILLISECS(1)" Adel Amani
@ 2013-09-30 9:26 ` Matthew Daley
2013-10-01 17:25 ` Adel Amani
0 siblings, 1 reply; 8+ messages in thread
From: Matthew Daley @ 2013-09-30 9:26 UTC (permalink / raw)
To: Adel Amani
Cc: George Dunlap, dario.faggioli@citrix.com, Ian.Campbell@citrix.com,
Xen
On Mon, Sep 30, 2013 at 9:10 PM, Adel Amani <adel.amani66@yahoo.com> wrote:
> Hello
>
> What mean's "CSCHED_CREDITS_PER_MSEC" and "MILLISECS(1)"?
> and in function "burn_credits" how computing "credits" and
> "svc->start_time"?
As I am not entirely sure, I did not reply to your earlier email, as
someone else who does know will reply. To that end, there's no need to
post the same questions over again.
If I had to guess, CSCHED_CREDITS_PER_MSEC is the amount of credits
used up per millisecond, MILLISECS(1) converts 1 millisecond into
nanoseconds, and burn_credits is calculating the amount of credits to
remove using these constants and the delta time between the start of
the vcpu's scheduling and the current time.
You can find this out easily using something like ctags to look up
definitions (they're mainly in the credit scheduler implentation file
anyway), so there's no need to post each one out here.
- Matthew
>
> Thank you
>
> Adel Amani
> M.Sc. Candidate@Computer Engineering Department, University of Isfahan
> Email: A.Amani@eng.ui.ac.ir
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: CSCHED_CREDITS_PER_MSEC" and "MILLISECS(1)"
2013-09-30 9:26 ` Matthew Daley
@ 2013-10-01 17:25 ` Adel Amani
2013-10-02 7:34 ` Dario Faggioli
0 siblings, 1 reply; 8+ messages in thread
From: Adel Amani @ 2013-10-01 17:25 UTC (permalink / raw)
To: Matthew Daley
Cc: George Dunlap, dario.faggioli@citrix.com, Ian.Campbell@citrix.com,
Xen
[-- Attachment #1.1: Type: text/plain, Size: 912 bytes --]
Hello
Thank you for your attention and your answer.
I don't know where I can find something like 'ctag'?
Is there any other site (except "http://wiki.xen.org" and "www.xenproject.org/") and document in this field that is better than others for getting more information?
Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: A.Amani@eng.ui.ac.ir
________________________________
> Hello
>
> What mean's "CSCHED_CREDITS_PER_MSEC" and "MILLISECS(1)"?
> and in function "burn_credits" how computing "credits" and
> "svc->start_time"?
=============================================================================================================
You can find this out easily using something like ctags to look up
definitions (they're mainly in the credit scheduler implentation file
anyway), so there's no need to post each one out here.
- Matthew
[-- Attachment #1.2: Type: text/html, Size: 2549 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] 8+ messages in thread
* Re: CSCHED_CREDITS_PER_MSEC" and "MILLISECS(1)"
2013-10-01 17:25 ` Adel Amani
@ 2013-10-02 7:34 ` Dario Faggioli
2013-10-02 17:35 ` difference of Credit and Weight Adel Amani
0 siblings, 1 reply; 8+ messages in thread
From: Dario Faggioli @ 2013-10-02 7:34 UTC (permalink / raw)
To: Adel Amani; +Cc: George Dunlap, Matthew Daley, Ian.Campbell@citrix.com, Xen
[-- Attachment #1.1: Type: text/plain, Size: 823 bytes --]
On mar, 2013-10-01 at 10:25 -0700, Adel Amani wrote:
> Hello
> Thank you for your attention and your answer.
> I don't know where I can find something like 'ctag'?
>
Try put it here: http://www.google.com.
You can also look for cscope, I find that one also very useful.
> Is there any other site (except "http://wiki.xen.org" and
> "www.xenproject.org/") and document in this field that is better than
> others for getting more information?
>
I think that the kind of information you're looking for are only
available in the code.
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: 198 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] 8+ messages in thread
end of thread, other threads:[~2013-10-07 12:05 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-30 8:10 CSCHED_CREDITS_PER_MSEC" and "MILLISECS(1)" Adel Amani
2013-09-30 9:26 ` Matthew Daley
2013-10-01 17:25 ` Adel Amani
2013-10-02 7:34 ` Dario Faggioli
2013-10-02 17:35 ` difference of Credit and Weight Adel Amani
2013-10-04 13:38 ` burn_credits Adel Amani
2013-10-07 10:33 ` burn_credits George Dunlap
2013-10-07 12:05 ` burn_credits Adel Amani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).