Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > The Linux Kernel > User-Mode Scheduling

Forgot Password?
 The Linux Kernel   Compiling, theory, programming or other discussion about the linux kernel

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-09-2009   #1 (permalink)
Just 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.
wegorek is offline  



Reply With Quote
Old 10-12-2009   #2 (permalink)
Linux Guru
 
Rubberman's Avatar
 
Join Date: Apr 2009
Location: I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
Posts: 3,763
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.
Rubberman is offline   Reply With Quote
Old 10-12-2009   #3 (permalink)
Just Joined!
 
Join Date: Oct 2009
Posts: 2
Quote:
Originally Posted by Rubberman View Post
As for direct copying of Win7 UMS code to Linux, I think you are probably out of your mind...
I hope this is a joke good one.

To be clear: I wanted to copy THE IDEA of Win7 UMS (make exactly the same API on Linux)
wegorek is offline   Reply With Quote
Old 10-12-2009   #4 (permalink)
Linux Guru
 
Rubberman's Avatar
 
Join Date: Apr 2009
Location: I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
Posts: 3,763
Quote:
Originally Posted by wegorek View Post
I hope this is a joke good one.

To be clear: I wanted to copy THE IDEA of Win7 UMS (make exactly the same API on Linux)
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.
Rubberman is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 02:08 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1