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: <e60ab548-f0be-4a75-a10b-1f2eb89247a7@default>
Date:	Sun, 12 Jul 2009 13:39:07 -0700 (PDT)
From:	Dan Magenheimer <dan.magenheimer@...cle.com>
To:	Avi Kivity <avi@...hat.com>
Cc:	npiggin@...e.de, akpm@...l.org, xen-devel@...ts.xensource.com,
	tmem-devel@....oracle.com, kurt.hackel@...cle.com,
	Rusty Russell <rusty@...tcorp.com.au>, jeremy@...p.org,
	linux-kernel@...r.kernel.org, linux-mm@...ck.org,
	sunil.mushran@...cle.com, chris.mason@...cle.com,
	Anthony Liguori <anthony@...emonkey.ws>,
	Schwidefsky <schwidefsky@...ibm.com>, dave.mccracken@...cle.com,
	Marcelo Tosatti <mtosatti@...hat.com>,
	alan@...rguk.ukuu.org.uk, Balbir Singh <balbir@...ux.vnet.ibm.com>
Subject: RE: [Xen-devel] Re: [RFC PATCH 0/4] (Take 2): transcendent memory
 ("tmem") for Linux

> CMM2 and tmem are not any different in this regard; both require OS 
> modification, and both make information available to the 
> hypervisor.  In 
> fact CMM2 is much more intrusive (but on the other hand provides much 
> more information).
>
> > For those that believe it will be pervasive in the
> > future, finding the right balance is a critical step
> > in operating system evolution.
> 
> You're arguing for CMM2 here IMO.

I'm arguing that both are a good thing and a step in
the right direction.  In some ways, tmem is a bigger
step and in some ways CMM2 is a bigger step.

> My take on this is that precache (predecache?) / preswap can be 
> implemented even without tmem by using write-through backing for the 
> virtual disk.  For swap this is actually slight;y more efficient than 
> tmem preswap, for preuncache slightly less efficient (since 
> there will 
> be some double caching).  So I'm more interested in other use 
> cases of tmem/CMM2.
> 
> Right, the transient uses of tmem when applied to disk objects 
> (swap/pagecache) are very similar to disk caches.  Which is 
> why you can 
> get a very similar effect when caching your virtual disks; 
> this can be 
> done without any guest modification.

Write-through backing and virtual disk cacheing offer a
similar effect, but it is far from the same.
--
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