Re: An idea for prefetching swapped memory...

From: Chris Friesen (cfriesen@nortelnetworks.com)
Date: Mon Apr 07 2003 - 15:44:06 EST


Robert White wrote:

> It would be interesting to have the system keep track of page faults for
> each process and then make a ratio of Page_Faults/Program_Size (or maybe
> RSS?). The smaller this number is the higher its pages are on the priority
> queue.

This sounds quite interesting, and might actually be implementable.

> [ASIDE: The tracking might actually be better by "memory image" instead of
> "process" so that multi-threaded code will compete based on the sum of their
> threads activities...?]

Works for me. We're dealing with memory here, it might make sense to
differentiate based on memory.

Chris

-- 
Chris Friesen                    | MailStop: 043/33/F10
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 07 2003 - 22:00:32 EST