From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755363Ab1KCKa2 (ORCPT ); Thu, 3 Nov 2011 06:30:28 -0400 Received: from DMZ-MAILSEC-SCANNER-5.MIT.EDU ([18.7.68.34]:51769 "EHLO dmz-mailsec-scanner-5.mit.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752652Ab1KCKaV convert rfc822-to-8bit (ORCPT ); Thu, 3 Nov 2011 06:30:21 -0400 X-AuditID: 12074422-b7ff56d00000092f-10-4eb26d3b85aa Subject: Re: [GIT PULL] mm: frontswap (for 3.2 window) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=windows-1252 From: Theodore Tso X-Priority: 3 In-Reply-To: <2baa4c1a-1fe0-4395-a428-f30703e8c435@default> Date: Thu, 3 Nov 2011 06:30:07 -0400 Cc: Theodore Tso , James Bottomley , Andrea Arcangeli , Pekka Enberg , Cyclonus J , Sasha Levin , Christoph Hellwig , David Rientjes , Linus Torvalds , linux-mm@kvack.org, LKML , Andrew Morton , Konrad Wilk , Jeremy Fitzhardinge , Seth Jennings , ngupta@vflare.org, Chris Mason , JBeulich@novell.com, Dave Hansen , Jonathan Corbet Content-Transfer-Encoding: 8BIT Message-Id: <86F488BC-2F99-4397-9467-A52AE1511FE0@mit.edu> References: <75efb251-7a5e-4aca-91e2-f85627090363@default> <20111027215243.GA31644@infradead.org> <1319785956.3235.7.camel@lappy> <552d2067-474d-4aef-a9a4-89e5fd8ef84f@default> <20111031181651.GF3466@redhat.com> <1320142590.7701.64.camel@dabdike> <49255b17-02bb-4a4a-b85a-cd5a879beb98@default 1320221686.3091.40.camel@dabdike> <2baa4c1a-1fe0-4395-a428-f30703e8c435@default> To: Dan Magenheimer X-Mailer: Apple Mail (2.1251.1) X-Brightmail-Tracker: H4sIAAAAAAAAA02Se2xLYRjG8537mh2Obuwzl8VxSyabYeTLDMP+OJEotkTEdWd6r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ner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Nov 2, 2011, at 4:08 PM, Dan Magenheimer wrote: > By "infinite" I am glibly describing any environment where the > data centre administrator positively knows the maximum working > set of every machine (physical or virtual) and can ensure in > advance that the physical RAM always exceeds that maximum > working set. As you say, these machines need not be configured > with a swap device as they, by definition, will never swap. > > The point of tmem is to use RAM more efficiently by taking > advantage of all the unused RAM when the current working set > size is less than the maximum working set size. This is very > common in many data centers too, especially virtualized. That doesn't match with my experience, especially with "cloud" deployments, where in order to make the business plans work, the machines tend to be memory constrained, since you want to pack a large number of jobs/VM's onto a single machine, and high density memory is expensive and/or you are DIMM slot constrained. Of course, if you are running multiple Java runtimes in each guest OS (i.e., an J2EE server, and another Java VM for management, and yet another Java VM for the backup manager, etc. --- really, I've seen cloud architectures that work that way), things get worst even faster…. -- Ted