Results 1 to 4 of 4
Hi,
I'd like to write user-mode scheduling mechanism for linux. This is a new stuff for Win7, and there's nothing similar on linux at the moment - link:
(google -> ...
- 10-09-2009 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 2
User-Mode Scheduling
Hi,
I'd like to write user-mode scheduling mechanism for linux. This is a new stuff for Win7, and there's nothing similar on linux at the moment - link:
(google -> 'user mode scheduling' -> first entry)
I'd like to develop this project as my MSc thesis, but dont worry, I dont want you to solve it for me.
I was thinking of a mechanism which allows threads to switch context entirely in user-mode, taking advantage of multiprocessor machines. This is the minumum. The maximum is a direct copy of Win7 UMS(see link above).
I'd like your opinion on:
1) how big is the project?
2) is there something similar already
3) could it be done in 7 months for a person who knows basics linux kernel programming (I've written a cryptographic device driver and attached data prefetching to a kernel)
4)Is this the correct forum to ask this questions?
What other forums could I try at?
Cheers guys,
Michal Wegorek.
- 10-12-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,485
If you are considering such a project for an MSc thesis then you should do the research to answer these questions yourself. First, you need to understand the Linux schedulers in depth, then you need to consider how you might integrate user-mode scheduling into that, or how to add a user-mode scheduler to the kernel (noting that the kernel already supports more than one scheduler). Then, you need to consider how quickly you can design, model, implement, and test this sort of code to determine whether or not you can complete such a project in the time allowed. In any case, I think you need a month to analyze the problem in order to answer that.
As for direct copying of Win7 UMS code to Linux, I think you are probably out of your mind...
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 10-12-2009 #3Just Joined!
- Join Date
- Oct 2009
- Posts
- 2
- 10-12-2009 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,485
Ah! I misinterpreted what you said, thinking you really meant to copy the MS code directly to Linux... Besides, that would probably not be something to submit as your MS thesis. As for the IDEA of it, it kind of depends upon what the intent of UMS is and whether or not that makes sense in the Linux environment. My general feeling is that you could probably do something of the sort in a 6-7 month time frame. In any case, look into the sched_setscheduler() and sched_getscheduler() functions currently in effect in Linux.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote

