Re: Question: Scheduler 'Exit' or modularization of scheduler?
- From: "Mitchell Erblich" <erblichs@xxxxxxxxxxxxx>
- Date: Tue, 31 Jul 2007 17:29:34 -0700
Paul Robinson,
Solaris's SunOS SVR4.x has a modular schedular / dispatcher,
however, I believe that the time share dispatcher is
actually a frozen-base and is not replaceable. I do
believe that some of its scheduling characteristics are
modifyable.
IT is my understanding that CFS is the new schedular,
however it is separated from the RT (real-time) FIFO and
RR schedular.
Currently, I have a initial suggestion to lkma to see if
their is any support of a interactive task class. It allows
a root user to classify a set of tasks as interactive.
If their is acceptance, I plan to propose a patch/ set of
changes to support this new task class by the end of Aug.
IFF, then maybe in the future...
Paul Robinson, if you feel that you are up to the task
of modularizing the schedular / dispatcher to do what
you think should be done, I would suggest submitting
a prototype to Ingo, et al and see what the response
is..
Mitchell Erblich
----------------
Paul Robinson wrote:
articles on
There has been a considerable amount of talk and many news
some websites because of the inclusion of the CFS scheduler eitheras a
replacement for the old scheduler or instead of using the SDscheduler,
some people apparently feel that one or the other of these is notright
in some contexts or in some environments. I'm not completelyclear on
what is going on or exactly what the complaint is. But Ipersonally
would like to try to toss in my 0.02 Euro in an attempt to offersome
light and less heat to the dilemma and offer a suggestion.might
If my ignorance of the subject is too obvious, please excuse me, I
not have that much experience in the subject. I've only beenpractice.
programming for 27 years and I hope to get better at it with more
be
So, there are two questions about which I am wondering. They may
somewhat related but the methodology for each are different andthe
method of implementation would be different.either
1. Could it be possible to design the interface to the scheduler
that there is an 'exit' (my mainframe history precedes me) inwhich one
can issue a monitor call such that the system changes to analternate
scheduler, possibly as part of the boot process? Thus there mightbe a
default scheduler but it is possible to invoke an alternative one.loadable
2. Could the scheduler be such that it be designed as a system
module rather than as a monolithic part of the code, such that theboot
particular scheduler is a specific file and is simply installed at
time, and if someone wants a different scheduler, they can simplycreate
a new one, rename the existing one to something else, name theirsto
whatever the scheduler's name is, then shutdown and reboot themachine?
the
I am thinking that the system scheduler is an integral part of a
time-shared operating system, it would be memory resident while
machine is operating, thus it only has to be on disk during startup and
is not in use while the system is in normal operation and could behas to
replaced at any time (subject to the usual caveat that the system
be shutdown and rebooted to cause the scheduling mechanism to bechanged
to the new one.).be
If such a capacity were available, or perhaps if such capacity can
implemented at some point in the future, this would solve one ofthe
more critical issues, since people needing more finely tunedscheduling
facilities can use one different from the common one, or 'rolltheir
own' if they need something really special.useful
I am also thinking this sort of a capacity would be extremely
either in virtualization issues, in running other operatingsystems (or
copies of Linux) as guest operating systems under Linux vis-a-visXen,
or in respect to real-time versions of Linux, such that if someoneneeds
to grant certain processes high priority, and the rest everythingthat's
left over, then they could do that simply by writing the schedulerto
the interface definition.not a
Of course, I could be completely wrong on this point and this is
partitionable feature, that it's not possible to have the jobscheduler
loaded from a secondary module at boot time. (This may be one ofthe
reasons why there have been problems with non-monolithic kernelsbeing
unavailable for general use except in extremely limited cases.)most of
Or I could be wrong in that this issue isn't that important and
the noise over the issue is a small and vocal minority complainingabout
a marginal and unimportant issue. Of course, this sort ofsituation is
probably the case with 90% of all traffic on usenet, newsgroupsand
mailing lists, so what else is new?the
Or, and this is the big one, that this feature already exists in
Linux kernel and the method of scheduler invocation is alreadyI do
modularized for boot-time invokation of any chosen job scheduler.
not think is at this time the case, because if modular schedulingscheduler
systems were currently possible, all the flamage over this issue
wouldn't have occurred, because those who didn't like the CFS
in place of the old one or wanted the SD scheduler, could simplythis
substitute it.
I would appreciate any comments on this because I do think that if
capacity were available it would provide a number of significantvery
features and would perhaps solve a number of problems. (It may
well add new problems! But, hey, thems the breaks, all technologyand
(usually) has benefits and (almost always has) drawbacks.)
--
Paul Robinson - paul@xxxxxxxxxxxxxxxx - "A computer programmer
Notary Public in and for the Commonwealth of Virginia, at Large."that
"Above all else... We shall go on..." _"...And continue!"_
"The lessons of history teach us - if they teach us anything -
nobody learns the lessons that history teaches us."linux-kernel" in
-
To unsubscribe from this list: send the line "unsubscribe
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Prev by Date: Re: [REGRESSION] tg3 dead after s2ram
- Next by Date: Re: garmin_gps not working with etrex vista cx
- Previous by thread: Re: [REGRESSION] tg3 dead after s2ram
- Next by thread: Re: garmin_gps not working with etrex vista cx
- Index(es):
Relevant Pages
|
|