On Thu, May 19, 2011 at 10:51 AM, Wu Fengguang <fengguang.wu@xxxxxxxxx> wrote: >> > I had 6GB swap available, so there shouldn't have >> > been any OOM. >> >> Yes. It's strange but we have seen such case several times, AFAIR. > > I noticed that the test script mounted a "ramfs" not "tmpfs", hence > the 1.4G pages won't be swapped? That's intentional. I run LVM over dm-crypt on an SSD, and I thought that might be part of the problem. I wanted a script that would see if I could reproduce the problem without stressing that system too much, so I created a second backing store on dm-crypt over ramfs so that no real I/O will happen. The script is quite effective at bringing down my system, so I haven't changed it. (I have 6GB of "real" swap on the LVM, so pinning 1500MB into RAM ought to cause some thrashing but not take the system down. And this script with a larger ramfs does not take down my desktop, which is an 8GB Sandy Bridge box. But whatever the underlying bug is seems to mainly affect Sandy Bridge *laptops*, so maybe that's expected.) --Andy > > Thanks, > Fengguang > -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>