Skip to contentSkip to conversation

Explore the source code

DISCUSSION Patrick Archibal 4 participants 5 messages Mar 1, 2009 – Apr 1, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello,

I have a lots of questions about xen. Also, i would like to explore the code in order to have a better understand of (i hope) how xen works.

I have untar the source code, but i'm really lost. I'm a newbie in thatbut i want to learn how to read the code.

Can someone tell me how the archive is organized ? What folders are important or not ?

In fact, i would like to have some basis and how i can begin this type of gait.

Thanks in advance

Patrick Archibal

_________________________________________________________________
Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? Lancez-vous !
http://www.microsoft.com/windows/windowslive/default.aspx

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

All of the folders are important, or they wouldn't be there. :-)

What is it you'd eventually like to do? Maybe that will help us put you on the quickest path there.

-George

Quoted 25 lines · Patrick Archibal

Hello,

I have a lots of questions about xen. Also, i would like to explore the code in order to have a better understand of (i  hope) how xen works.

I have untar the source code, but i'm really lost. I'm a newbie in thatbut i want to learn how to read the code.

Can someone tell me how the archive is organized ? What folders are important or not ?
In fact, i would like to have some basis and how i can begin this type of gait.

Thanks in advance
Patrick Archibal

________________________________
Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? Lancez-vous !
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

Alle lunedì 2 marzo 2009, George Dunlap ha scritto:

Quoted 2 lines

What is it you'd eventually like to do?  Maybe that will help us put you on the quickest path there.

Something about scheduler?
I'm reading "The definitive guide to the Xen hypervisor" as starting point, any other suggestion on how to continue?

m-

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw
In reply to George Dunlap

I'd like to know about grant table and Xen memory management.
Especially what module is serving grant page in hypervisor.
And how many hypervisor threads(like kernel thread in OS) are running and what are those.

Thanks.

Quoted 36 lines · George Dunlap

All of the folders are important, or they wouldn't be there. :-)

What is it you'd eventually like to do? Maybe that will help us put you on the quickest path there.

-George

Quoted 16 lines · Patrick Archibal

Hello,

I have a lots of questions about xen. Also, i would like to explore the code in order to have a better understand of (i hope) how xen works.

I have untar the source code, but i'm really lost. I'm a newbie in thatbut i want to learn how to read the code.

Can someone tell me how the archive is organized ? What folders are important or not ?
In fact, i would like to have some basis and how i can begin this type of gait.

Thanks in advance
Patrick Archibal

Quoted 10 lines

________________________________
Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? Lancez-vous !
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Quoted 5 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw
In reply to a message not in the archive
Quoted 8 lines · George Dunlap

Hey Marco,

Sorry for not following up. I think the scheduler is pretty well contained in the following files:
xen/common/schedule.c
xen/common/sched_credit.c
xen/include/xen/sched.h

Quoted 7 lines

One thing to note about Xen that's different than Linux is that while in Linux there's a per-process kernel stack, in Xen there's no per-VM hypervisor stack. When schedule() is called, it completely throws away all hypervisor stack and context, and returns directly to the target VM. For this reason, schedule() is never called directly, but a schedule softirq is raised and called on the way back out of the hypervisor anyway.

Thanks for your answer, with your help and David's book how to implement a new scheduler it's pretty clear now.
Also I'd have a look to device scheduling in order change its behaviour according to my new scheduler policies. Any suggestion on where to start?

Marco

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel