Date: Wed, 22 Apr 2015 21:20:34 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 199189] SWAP on ZFS can crash server Message-ID: <bug-199189-3630-CfBjfppkOH@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-199189-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-199189-3630@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199189 marcus@blazingdot.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marcus@blazingdot.com --- Comment #8 from marcus@blazingdot.com --- For what it's worth, I've been doing swap on a zvol for a long time now on -CURRENT without problems. Using "-o checksum=off -o compression=off -o dedup=off -o sync=disabled -o primarycache=none" seems to be key. I've hammered on it quite a bit to try and get it to crash. My memory allocator looks different from yours; this one is faster but just sets the memory to zeroes with explicit_bzero(). #include <stdlib.h> #include <stdio.h> #include <strings.h> #define HUNK 1048576 int main(void) { unsigned long long i; for(i = 0 ; ; i++) { explicit_bzero(malloc(HUNK), HUNK); printf("\r%llu", i * HUNK); fflush(stdout); }; return(EXIT_SUCCESS); } -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199189-3630-CfBjfppkOH>