[Lustre-discuss] Swap over lustre

2011-08-17 Thread John Hanks
Hi, I've been trying to get swap on lustre to work with not much success using blockdev_attach and the resulting lloop0 device and using losetup and the resulting loop device. This thread (http://www.mail-archive.com/lustre-discuss@lists.lustre.org/msg00856.html) claims that it works, but in all

Re: [Lustre-discuss] Swap over lustre

2011-08-17 Thread Joe Landman
On 08/17/2011 10:43 PM, John Hanks wrote: Hi, I've been trying to get swap on lustre to work with not much success using blockdev_attach and the resulting lloop0 device and using losetup and the resulting loop device. This thread

Re: [Lustre-discuss] Swap over lustre

2011-08-17 Thread David Dillow
On Wed, 2011-08-17 at 22:57 -0400, Joe Landman wrote: The lustre client (and most NFS or even network block devices) all do memory allocation of buffers ... which is anathema to migrating pages out to disk. You can easily wind up in a death spiral race condition (and it sounds like you are

Re: [Lustre-discuss] Swap over lustre

2011-08-17 Thread John Hanks
On Wed, Aug 17, 2011 at 8:57 PM, Joe Landman land...@scalableinformatics.com wrote: On 08/17/2011 10:43 PM, John Hanks wrote: As a rule of thumb, you should try to keep the path to swap as simple as possible.  No memory/buffer allocations on the way to a paging event if you can possibly do

Re: [Lustre-discuss] Swap over lustre

2011-08-17 Thread Joe Landman
On 08/17/2011 11:42 PM, David Dillow wrote: On Wed, 2011-08-17 at 22:57 -0400, Joe Landman wrote: The lustre client (and most NFS or even network block devices) all do memory allocation of buffers ... which is anathema to migrating pages out to disk. You can easily wind up in a death spiral

Re: [Lustre-discuss] Swap over lustre

2011-08-17 Thread Andreas Dilger
On 2011-08-17, at 8:43 PM, John Hanks wrote: I've been trying to get swap on lustre to work with not much success using blockdev_attach and the resulting lloop0 device and using losetup and the resulting loop device. This thread