From: Dario Faggioli <dario.faggioli@citrix.com>
To: Abhinav Gupta <abhinavgupta440@gmail.com>
Cc: George Dunlap <george.dunlap@eu.citrix.com>,
xen-devel@lists.xenproject.org
Subject: Re: Interested in taking up a project
Date: Mon, 27 Jul 2015 16:20:44 +0200 [thread overview]
Message-ID: <1438006844.5036.167.camel@citrix.com> (raw)
In-Reply-To: <CALc02L6V+SiFQ3z7boQwrcgGVn1UPUFNs_e8AqTLwPqSBqwZPw@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 2476 bytes --]
On Sat, 2015-07-25 at 18:04 +0530, Abhinav Gupta wrote:
> Hii everyone :) ,
>
Hi,
> I'm quite familiar with the linux powerclamp driver now.
>
Nice to hear. Is there anything about that you think it would be
useful/interesting about to share here?
>
> I have also started looking into xen's code as Dario suggested, but am
> not able to find proper documentation for xen.
>
He, I think I see what you mean... Consider that, when you reach a
certain point, e.g., wanting to understand the code of a complex project
like Xen, the best documentation for the source code is the source code
itself.
> 1. Looking for a brief explanation of different fields in scheduler
> data structure in sched-if.h
>
> 2. From where do the different fields of scheduler structure gets
> called.
>
As said above, something like that does not exist for any reasonably big
and reasonably complex piece of software. There are many reasons. One,
for instance, is that it would take a great effort to be put together,
and it will get out of date in a matter of a few months, at most (but
even a few weeks, or a few days, if you're unlucky).
All that being said, you can have a look here:
http://wiki.xen.org/wiki/Credit2_Scheduler_Development
It's not exactly what you're asking, but it's probably the closest
existing thing.
Also, as a proof that I was speaking the truth just above:
1. it's incomplete
2. it's (slightly) out of dated already
:-(
> 3. The driver i'll be writing will it be running at host machine level
> or guest OS level ?.
>
Definitely host.
Actually, at the guest level, it's already there... it's powerclamp
itself, isn't it (at lease in case of Linux) ? :-D
> As far as my understanding goes we should have it at host level to
> optimize the performance of all the guests,
>
Yes, exactly. Also, it's only the host that have a big enough picture,
and the access to all the information and the data you need.
> since VMs deal with the abstract interface (VCPU) so they wont be
> having the exact notion of the various parameters of cpu at runtime.
>
Indeed. They won't have the exact notion of a bunch of stuff. :-)
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
prev parent reply other threads:[~2015-07-27 14:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-19 7:02 Interested in taking up a project Abhinav Gupta
2015-06-19 9:11 ` Wei Liu
[not found] ` <CALc02L7+MtwBOg4iFn2uri0MGKu_XSrdxA-LyzQ-59LuEsJ-RQ@mail.gmail.com>
2015-06-19 10:56 ` Wei Liu
2015-06-21 6:37 ` Abhinav Gupta
2015-06-22 8:37 ` Dario Faggioli
2015-06-22 9:45 ` George Dunlap
2015-06-24 9:56 ` Abhinav Gupta
2015-07-01 13:11 ` Dario Faggioli
2015-07-10 20:33 ` Abhinav Gupta
2015-07-13 9:45 ` Dario Faggioli
2015-07-25 12:34 ` Abhinav Gupta
2015-07-27 14:20 ` Dario Faggioli [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1438006844.5036.167.camel@citrix.com \
--to=dario.faggioli@citrix.com \
--cc=abhinavgupta440@gmail.com \
--cc=george.dunlap@eu.citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.