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: <4B9F49F1.70202@redhat.com>
Date:	Tue, 16 Mar 2010 11:05:53 +0200
From:	Avi Kivity <avi@...hat.com>
To:	Anthony Liguori <anthony@...emonkey.ws>
CC:	balbir@...ux.vnet.ibm.com,
	KVM development list <kvm@...r.kernel.org>,
	Rik van Riel <riel@...riel.com>,
	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
	"linux-mm@...ck.org" <linux-mm@...ck.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH][RF C/T/D] Unmapped page cache control - via boot parameter

On 03/15/2010 08:48 PM, Anthony Liguori wrote:
> On 03/15/2010 04:27 AM, Avi Kivity wrote:
>>
>> That's only beneficial if the cache is shared.  Otherwise, you could 
>> use the balloon to evict cache when memory is tight.
>>
>> Shared cache is mostly a desktop thing where users run similar 
>> workloads.  For servers, it's much less likely.  So a modified-guest 
>> doesn't help a lot here.
>
> Not really.  In many cloud environments, there's a set of common 
> images that are instantiated on each node.  Usually this is because 
> you're running a horizontally scalable application or because you're 
> supporting an ephemeral storage model.

But will these servers actually benefit from shared cache?  So the 
images are shared, they boot up, what then?

- apache really won't like serving static files from the host pagecache
- dynamic content (java, cgi) will be mostly in anonymous memory, not 
pagecache
- ditto for application servers
- what else are people doing?

> In fact, with ephemeral storage, you typically want to use 
> cache=writeback since you aren't providing data guarantees across 
> shutdown/failure.

Interesting point.

We'd need a cache=volatile for this use case to avoid the fdatasync()s 
we do now.  Also useful for -snapshot.  In fact I have a patch for this 
somewhere I can dig out.

-- 
error compiling committee.c: too many arguments to function

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