Re: Kernel Scheduling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hmm... That sounds _exactly_ like one of the projects from my OS design
class...

----- Original Message -----
From: "Gaurav Sehgal" <gaurav_sehgal@hotmail.com>
To: <kernelnewbies@nl.linux.org>
Sent: Wednesday, June 05, 2002 9:09 PM
Subject: Kernel Scheduling


> Hi,
>    I am trying to come up with a new kernel scheduler for experminental
> purposes. The new strategy will schedule a be as follows:
>
>
> If there are three users A,B,C then each will get 33 percent of the CPU.
If
> A has 5 processes then they will share A's 33%, and will be scheduled in
the
> traditional way. If B has only one process then it will get the entire 33%
> assigned to B and so on... Can anyone please suggest any ideas.
>     I am currently calculating the number of different users in the
runqeue
> and am trying to come up with an accurate formulae. I have a question. If
> there are N different users in the run-queue, and a user A has P
processes.
> Then how can I calculate what percentage P should get. Using that value I
> will need to change the value of the weight in the goodness function of
> sched.c right?
>
>
>
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
>

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux