Processor Scheduling

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

rastilin
Posts: 34
Joined: Wed Dec 08, 2004 12:26 pm

Processor Scheduling

Post by rastilin » Thu Mar 31, 2005 6:17 am

I was wondering how ReactOS's processor scheduler worked. Windows' scheduler is not the most efficient thing on the planet and I think ReactOS could outstrip Windows in general application performance simply by altering how the scheduler operates. What I was thinking of is very long and fixed quanta to decrease the scheduler's overhead.

cyborg
Posts: 22
Joined: Sun Feb 20, 2005 2:27 pm

Post by cyborg » Thu Mar 31, 2005 8:52 am

oh yeah
please make ros scheduler better

additionally
what I always missed in windows was limiting a process with its maximum cpu usage, dunno if such thing is possible, but if yes, would be a point too

A-v-S
Posts: 91
Joined: Mon Dec 06, 2004 8:37 pm
Location: BAEK CITY (Beek, Limburg, The Netherlands, Europe, Earth)
Contact:

Post by A-v-S » Thu Mar 31, 2005 8:54 am

Yes, that would be great, limiting the max cpu usage ;)
"you laugh at me because I'm different, I laugh at you because you're all the same"

http://www.il.fontys.nl/~andre

Crappish
Posts: 92
Joined: Wed Mar 30, 2005 2:26 pm
Location: Tampere, Finland

Post by Crappish » Thu Mar 31, 2005 12:00 pm

Not to mention bandwith usage.

This should be defineable in network managing anyways. (general limits, program specific limits, user specific limits?) Like should the CPU usage, which could be located at task manager.

edit: FFS. "You cannot make another post so soon after your last; please try again in a short while." but what if you're editing you post...

chorns
Posts: 29
Joined: Tue Nov 30, 2004 12:47 am

How?

Post by chorns » Thu Mar 31, 2005 5:19 pm

What is wrong with the Windows scheduler and how can we improve it? Also, which version of Windows are you referring to? Not all Windows schedulers are the same.

A-v-S
Posts: 91
Joined: Mon Dec 06, 2004 8:37 pm
Location: BAEK CITY (Beek, Limburg, The Netherlands, Europe, Earth)
Contact:

Post by A-v-S » Thu Mar 31, 2005 7:14 pm

Yes, an integrated NetLimiter program.. sounds good !
"you laugh at me because I'm different, I laugh at you because you're all the same"

http://www.il.fontys.nl/~andre

mjs
Posts: 47
Joined: Sat Feb 19, 2005 9:03 pm

Post by mjs » Thu Mar 31, 2005 9:30 pm

Max. CPU usage can be done (more or less) indirectly by changing the process/thread priority. The restriction of bandwith is call QOS :D .

Regards,
Mark

mf
Developer
Posts: 368
Joined: Mon Dec 27, 2004 2:37 pm
Location: Eindhoven, NL
Contact:

Post by mf » Thu Mar 31, 2005 9:41 pm

mjs, those are all "relative" limiters. Packet scheduling doesn't actually limit anything, it just gives other packets priority. Same with setting process priorities. Limiting CPU speed would be forcing the cpu to run idle every X cycles. And limiting network traffic would be what NetLimiter does.

Crappish
Posts: 92
Joined: Wed Mar 30, 2005 2:26 pm
Location: Tampere, Finland

Post by Crappish » Thu Mar 31, 2005 10:08 pm

Eh? Nobody wants to limit the CPU speed... Just to set the percentage, to certain process, that limits how much CPU-time it can hog..
Can't provoke anyone? Why bother posting?

rastilin
Posts: 34
Joined: Wed Dec 08, 2004 12:26 pm

Post by rastilin » Fri Apr 01, 2005 3:13 am

There is nothing wrong with the Windows scheduler in terms of operation. My idea was for an option to cut overhead by lengthening the quanta. This would improve overall speed because the processor spends less time deciding on or switching processes compared to working on a thread. Additionally, longer pipelined processors like the P4 would not have to purge their pipeline as often.

When I wrote the original one I was thinking in terms of the Windows NT 5.0 scheduler.

MadRat
Posts: 243
Joined: Fri Feb 04, 2005 8:29 am
Contact:

Post by MadRat » Fri Apr 01, 2005 7:04 am

Windows scheduker's weakest link is its dependency on the hard drive.
*************************************
Go Huskers!

Floyd
Posts: 300
Joined: Sat Nov 27, 2004 7:45 am
Location: The frozen part of the USA

Post by Floyd » Fri Apr 01, 2005 7:26 am

how about AT.exe? there used to be a winat or at32 or whatnot too.
i used to just AT a .cmd script. pretty useful.
pax mei amici amorque et Iesus sacret omnia

rastilin
Posts: 34
Joined: Wed Dec 08, 2004 12:26 pm

Post by rastilin » Fri Apr 01, 2005 9:39 am

I was talking about Processor Scheduling. That refers to how the OS allocates processor time to applications. The windows task scheduler and AT.exe are completely different.

mf
Developer
Posts: 368
Joined: Mon Dec 27, 2004 2:37 pm
Location: Eindhoven, NL
Contact:

Post by mf » Fri Apr 01, 2005 1:01 pm

crappish wrote:Eh? Nobody wants to limit the CPU speed...
I wonder what CPU Killer was made for, then...

rastilin
Posts: 34
Joined: Wed Dec 08, 2004 12:26 pm

Post by rastilin » Fri Apr 01, 2005 5:35 pm

On that note I know that SUSE already limits processor usage to conserve battery power on a laptop, that could be limited to specific programs and you have your throttle.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Yandex [Bot] and 6 guests