Re: I/O bound process favoured ???

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

 



On Mon, 2004-09-13 at 18:55 +0530, Amith wrote:

> i couldnt understand how does the scheduler categorize a process into whether it is an 
> I/O - bound process
> or 
> non - I/O bound process 
> 
> if it ever does in practice ? 
> and thus favor I/O bound processes ?

This is all explained in the book, in later paragraphs.  Keep reading.

In short, it uses sleep time.  Process sleeps more than it wants to run
implies that it is waiting on I/O more than not.

The larger the sleep-to-run ratio, the more I/O bound it is.

The smaller the the ratio, the more processor bound it is.

	Robert Love



--
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