Re: [PATCH]vmscan: handle underflow for get_scan_ratio

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rik van Riel
Date: Monday, April 12, 2010 - 7:42 pm

On 04/12/2010 09:30 PM, KOSAKI Motohiro wrote:

How?  From the description I believe it took 16GB in
a zone before we start scanning anon pages when
reclaiming at DEF_PRIORITY?

Would that casue a problem?


We may need better streaming IO detection, anyway.

I have noticed that while heavy sequential reads are fine,
the virtual machines on my desktop system do a lot of whole
block writes.  Presumably, a lot of those writes are to the
same blocks, over and over again.

This causes the blocks to be promoted to the active file
list, which ends up growing the active file list to the
point where things from the working set get evicted.

All for file pages that may only get WRITTEN to by the
guests, because the guests cache their own copy whenever
they need to read them!

I'll have to check the page cache code to see if it
keeps frequently written pages as accessed.  We may be
better off evicting frequently written pages, and
keeping our cache space for data that is read...

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH]vmscan: handle underflow for get_scan_ratio, Shaohua Li, (Mon Mar 29, 10:53 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, KOSAKI Motohiro, (Mon Mar 29, 11:08 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Shaohua Li, (Mon Mar 29, 11:32 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, KOSAKI Motohiro, (Mon Mar 29, 11:40 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Shaohua Li, (Mon Mar 29, 11:53 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, KOSAKI Motohiro, (Tue Mar 30, 12:31 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Minchan Kim, (Tue Mar 30, 3:17 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, KOSAKI Motohiro, (Tue Mar 30, 3:25 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Balbir Singh, (Tue Mar 30, 4:56 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, KOSAKI Motohiro, (Tue Mar 30, 10:38 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Wu Fengguang, (Tue Mar 30, 10:41 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Wu Fengguang, (Tue Mar 30, 10:51 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, KOSAKI Motohiro, (Tue Mar 30, 10:53 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, KOSAKI Motohiro, (Tue Mar 30, 11:00 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Wu Fengguang, (Tue Mar 30, 11:03 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Andrew Morton, (Thu Apr 1, 3:16 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, KOSAKI Motohiro, (Fri Apr 2, 2:13 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, KOSAKI Motohiro, (Fri Apr 2, 2:14 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Wu Fengguang, (Sat Apr 3, 5:48 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, KOSAKI Motohiro, (Sun Apr 4, 7:19 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Wu Fengguang, (Mon Apr 5, 6:22 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, KOSAKI Motohiro, (Mon Apr 5, 6:36 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Wu Fengguang, (Mon Apr 5, 6:50 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, KOSAKI Motohiro, (Mon Apr 5, 7:06 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Wu Fengguang, (Mon Apr 5, 7:30 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, KOSAKI Motohiro, (Mon Apr 5, 7:58 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Wu Fengguang, (Mon Apr 5, 8:31 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Rik van Riel, (Mon Apr 5, 8:36 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Rik van Riel, (Mon Apr 5, 8:40 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Wu Fengguang, (Mon Apr 5, 9:49 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Wu Fengguang, (Mon Apr 5, 10:03 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Andrew Morton, (Fri Apr 9, 2:20 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Rik van Riel, (Fri Apr 9, 2:25 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, KOSAKI Motohiro, (Mon Apr 12, 6:30 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, Rik van Riel, (Mon Apr 12, 7:42 pm)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, KOSAKI Motohiro, (Tue Apr 13, 12:55 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, KOSAKI Motohiro, (Tue Apr 13, 1:55 am)
Re: [PATCH]vmscan: handle underflow for get_scan_ratio, KOSAKI Motohiro, (Wed Apr 14, 8:25 pm)