login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
23
Re: [RFC 1/2] deactive invalidated pages
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Minchan Kim
Subject:
Re: [RFC 1/2] deactive invalidated pages
Date: Tuesday, November 23, 2010 - 4:45 pm
On Wed, Nov 24, 2010 at 7:10 AM, Mel Gorman <mel@csn.ul.ie> wrote:
quoted text
> On Tue, Nov 23, 2010 at 12:35:35PM -0800, Andrew Morton wrote: >> On Tue, 23 Nov 2010 14:58:56 +0000 >> Mel Gorman <mel@csn.ul.ie> wrote: >> >> > On Tue, Nov 23, 2010 at 09:55:49AM -0500, Ben Gamari wrote: >> > > On Tue, 23 Nov 2010 09:38:59 +0000, Mel Gorman <mel@csn.ul.ie> wrote: >> > > > > If it's mapped pagecache then the user was being a bit silly (or didn't >> > > > > know that some other process had mapped the file). In which case we >> > > > > need to decide what to do - leave the page alone, deactivate it, or >> > > > > half-deactivate it as this patch does. >> > > > > >> > > > >> > > > What are the odds of an fadvise() user having used mincore() in advance >> > > > to determine if the page was in use by another process? I would guess >> > > > "low" so this half-deactivate gives a chance for the page to be promoted >> > > > again as well as a chance for the flusher threads to clean the page if >> > > > it really is to be reclaimed. >> > > > >> > > Do we really want to make the user jump through such hoops as using >> > > mincore() just to get the kernel to handle use-once pages properly? >> > >> > I would think "no" which is why I support half-deactivating pages so they won't >> > have to. >> >> If the page is page_mapped() then we can assume that some other process >> is using it and we leave it alone *altogether*. >> > > Agreed, that makes perfect sense. > >> If the page is dirty or under writeback (and !page_mapped()) then we >> should assume that we should free it asap. The PageReclaim() trick >> might help with that. >> > > Again agreed. > >> I just don't see any argument for moving the page to the head of the >> inactive LRU as a matter of policy. We can park it there because we >> can't think of anythnig else to do with it, but it's the wrong place >> for it. >> > > Is there a better alternative? One thing that springs to mind is that we are > not exactly tracking very well what effect these policy changes have. The > analysis scripts I have do a reasonable job on tracking reclaim activity > (although only as part of the mmtests tarball, I should split them out as > a standalone tool) but not the impact - namely minor and major faults. I > should sort that out so we can put better reclaim analysis in place.
It can help very much. :) Also, I need time since I am so busy.
quoted text
> > -- > Mel Gorman > Part-time Phd Student Linux Technology Center > University of Limerick IBM Dublin Software Lab >
-- Kind regards, Minchan Kim --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Sun Nov 21, 7:30 am)
[RFC 2/2] Prevent promotion of page in madvise_dontneed
, Minchan Kim
, (Sun Nov 21, 7:30 am)
Re: [RFC 2/2] Prevent promotion of page in madvise_dontneed
, Minchan Kim
, (Sun Nov 21, 7:38 am)
Re: [RFC 1/2] deactive invalidated pages
, Ben Gamari
, (Sun Nov 21, 8:21 am)
Re: [RFC 2/2] Prevent promotion of page in madvise_dontneed
, Ben Gamari
, (Sun Nov 21, 9:34 am)
Re: [RFC 2/2] Prevent promotion of page in madvise_dontneed
, Minchan Kim
, (Sun Nov 21, 5:31 pm)
Re: [RFC 1/2] deactive invalidated pages
, Rik van Riel
, (Sun Nov 21, 6:17 pm)
Re: [RFC 1/2] deactive invalidated pages
, Andrew Morton
, (Mon Nov 22, 3:14 pm)
Re: [RFC 2/2] Prevent promotion of page in madvise_dontneed
, Andrew Morton
, (Mon Nov 22, 3:21 pm)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Mon Nov 22, 9:52 pm)
Re: [RFC 2/2] Prevent promotion of page in madvise_dontneed
, Minchan Kim
, (Mon Nov 22, 9:57 pm)
Re: [RFC 1/2] deactive invalidated pages
, Andrew Morton
, (Mon Nov 22, 10:01 pm)
Re: [RFC 1/2] deactive invalidated pages
, Andrew Morton
, (Mon Nov 22, 10:22 pm)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Mon Nov 22, 10:23 pm)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Mon Nov 22, 10:45 pm)
Re: [RFC 1/2] deactive invalidated pages
, Andrew Morton
, (Mon Nov 22, 10:48 pm)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Mon Nov 22, 11:05 pm)
Re: [RFC 1/2] deactive invalidated pages
, Andrew Morton
, (Tue Nov 23, 12:15 am)
Re: [RFC 1/2] deactive invalidated pages
, KOSAKI Motohiro
, (Tue Nov 23, 12:16 am)
Re: [RFC 1/2] deactive invalidated pages
, KOSAKI Motohiro
, (Tue Nov 23, 12:16 am)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 12:40 am)
Re: [RFC 1/2] deactive invalidated pages
, Andrew Morton
, (Tue Nov 23, 12:42 am)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 12:44 am)
Re: [RFC 1/2] deactive invalidated pages
, Andrew Morton
, (Tue Nov 23, 12:53 am)
Re: [RFC 1/2] deactive invalidated pages
, KOSAKI Motohiro
, (Tue Nov 23, 1:01 am)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 1:02 am)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 1:44 am)
Re: [RFC 1/2] deactive invalidated pages
, KOSAKI Motohiro
, (Tue Nov 23, 2:02 am)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 2:05 am)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 2:07 am)
Re: [RFC 1/2] deactive invalidated pages
, Mel Gorman
, (Tue Nov 23, 2:28 am)
Re: [RFC 1/2] deactive invalidated pages
, Mel Gorman
, (Tue Nov 23, 2:38 am)
Re: [RFC 1/2] deactive invalidated pages
, Mel Gorman
, (Tue Nov 23, 2:43 am)
Re: [RFC 2/2] Prevent promotion of page in madvise_dontneed
, Mel Gorman
, (Tue Nov 23, 2:50 am)
Re: [RFC 1/2] deactive invalidated pages
, Ben Gamari
, (Tue Nov 23, 6:48 am)
[RFC PATCH] fadvise support in rsync
, Ben Gamari
, (Tue Nov 23, 7:49 am)
[PATCH 1/3] Add fadvise interface wrapper
, Ben Gamari
, (Tue Nov 23, 7:49 am)
[PATCH 2/3] Inform kernel of FADV_DONTNEED hint in sender
, Ben Gamari
, (Tue Nov 23, 7:49 am)
[PATCH 3/3] Inform kernel of FADV_DONTNEED hint in receiver
, Ben Gamari
, (Tue Nov 23, 7:49 am)
Re: [RFC 1/2] deactive invalidated pages
, Ben Gamari
, (Tue Nov 23, 7:55 am)
Re: [RFC 1/2] deactive invalidated pages
, Ben Gamari
, (Tue Nov 23, 7:57 am)
Re: [RFC 1/2] deactive invalidated pages
, Mel Gorman
, (Tue Nov 23, 7:58 am)
Re: [RFC PATCH] fadvise support in rsync
, Pádraig Brady
, (Tue Nov 23, 8:35 am)
Re: [RFC 1/2] deactive invalidated pages
, Andrew Morton
, (Tue Nov 23, 1:35 pm)
Re: [RFC 1/2] deactive invalidated pages
, Mel Gorman
, (Tue Nov 23, 3:10 pm)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 4:24 pm)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 4:32 pm)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 4:45 pm)
Re: [RFC 1/2] deactive invalidated pages
, Minchan Kim
, (Tue Nov 23, 4:48 pm)
Re: [RFC 2/2] Prevent promotion of page in madvise_dontneed
, Minchan Kim
, (Tue Nov 23, 4:49 pm)
Re: [RFC 1/2] deactive invalidated pages
, KOSAKI Motohiro
, (Tue Nov 23, 5:13 pm)
Re: [RFC PATCH] fadvise support in rsync
, KOSAKI Motohiro
, (Tue Nov 23, 5:17 pm)
Re: [RFC 1/2] deactive invalidated pages
, Mel Gorman
, (Wed Nov 24, 3:02 am)
Re: [RFC 1/2] deactive invalidated pages
, Mel Gorman
, (Wed Nov 24, 11:01 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Ingo Molnar
Re: [PATCH v3] x86: merge the simple bitops and move them to bitops.h
Linus Torvalds
Re: [PATCH -v2] rmap: make anon_vma_prepare link in all the anon_vmas of a mergeab...
Matthew Wilcox
Re: Pull request for semaphore include changes
Benjamin Herrenschmidt
Re: [RFC PATCH 03/11] ppc: Create ops to choose between direct window and iommu ba...
git
:
Junio C Hamano
Re: pack operation is thrashing my server
Tay Ray Chuan
Re: [PATCH 02/18] http-push, http-walker: style fixes
Chris Frey
whitespace checking in git-add?
Luben Tuikov
Re: New way of tracking remote branches -- question
Kirill Smelkov
[TopGit PATCH] tg help: <something>: improve readability
git-commits-head
:
Linux Kernel Mailing List
sony-laptop: Add support for extended hotkeys
Linux Kernel Mailing List
rtl8187: use DMA-aware buffers with usb_control_msg
Linux Kernel Mailing List
[ARM] pxa/em-x270: explicitly set .gpio_cs in TDO35S SPI chip data
Linux Kernel Mailing List
epoll: clean up ep_modify
Linux Kernel Mailing List
IB/core: Add support for masked atomic operations
linux-netdev
:
Inaky Perez-Gonzalez
[PATCH 40/40] wimax/i2400m: add CREDITS and MAINTAINERS entries
Karsten Keil
[mISDN PATCH v2 05/19] Reduce stack size in dsp_cmx_send()
Valentine Barshak
[PATCH 1/2] ibm_newemac: PowerPC 440GX EMAC PHY clock workaround
Hannes Eder
[PATCH 06/27] drivers/net/atlx: fix sparse warnings: make symbols static
Gerrit Renker
Re: [PATCH 16/37] dccp: API to query the current TX/RX CCID
freebsd-current
:
Boris Samorodov
Re: twa + dump = sbwait
Kamigishi Rei
Re: HEAD newfs/sysinstall issues
Julian Elischer
Re: reproducible panic in netisr
Bruce Cran
sctp panic in _mtx_lock_sleep when attempting to connect to a remote machine
韓家標 Bill Hacker
Re: ZFS honesty
Colocation donated by:
Syndicate