lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A09B46D.9010705@redhat.com>
Date:	Tue, 12 May 2009 13:39:57 -0400
From:	Rik van Riel <riel@...hat.com>
To:	Christoph Lameter <cl@...ux-foundation.org>
CC:	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
	Wu Fengguang <fengguang.wu@...el.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	"hannes@...xchg.org" <hannes@...xchg.org>,
	"peterz@...radead.org" <peterz@...radead.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"tytso@....edu" <tytso@....edu>,
	"linux-mm@...ck.org" <linux-mm@...ck.org>,
	"elladan@...imo.com" <elladan@...imo.com>,
	"npiggin@...e.de" <npiggin@...e.de>,
	"minchan.kim@...il.com" <minchan.kim@...il.com>
Subject: Re: [PATCH -mm] vmscan: protect a fraction of file backed mapped
 pages from reclaim

Christoph Lameter wrote:
> On Tue, 12 May 2009, Rik van Riel wrote:
> 
>> The patch that only allows active file pages to be deactivated
>> if the active file LRU is larger than the inactive file LRU should
>> protect the working set from being evicted due to streaming IO.
> 
> Streaming I/O means access once? 

Yeah, "used-once pages" would be a better criteria, since
you could go through a gigantic set of used-once pages without
doing linear IO.

I expect that some databases might do that.

> What exactly are the criteria for a page
> to be part of streaming I/O? AFAICT the definition is more dependent on
> the software running than on a certain usage pattern discernible to the
> VM. Software may after all perform multiple scans over a stream of data or
> go back to prior locations in the file.


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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ