mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Justin Piszcz" <jpiszcz@lucidpixels.com>
To: <linux-kernel@vger.kernel.org>
Subject: kernel 5.2: crash with zswap+zram (x86_64)
Date: Tue, 9 Jul 2019 19:41:00 -0400	[thread overview]
Message-ID: <020901d536af$c39e0ef0$4ada2cd0$@lucidpixels.com> (raw)

Hello,

Going to be turning these options off for now (zswap+zram) under 5.2 and
hopefully this makes the machine stable again-but just wanted to point out
under 5.1.xx never had any issues but with 5.2 the kernel crashes fairly
quickly when performing heavy I/O with these options enabled: (note:
compressed ram is still marked as experimental in the kernel as of 5.2)

Append line used:
append="3w-sas.use_msi=1 nohugeiomap page_poison=1 pcie_aspm=off pti=on
rootfstype=ext4 slub_debug=P zram.enabled=1 zram.num_devices=12
zswap.enabled=1 zswap.compressor=lz4 zswap.zpool=z3fold"

$ diff -u .config .config-5.2.0-2
--- .config     2019-07-09 19:23:57.355550063 -0400
+++ .config-5.2.0-2     2019-07-09 12:44:31.803653032 -0400
@@ -790,10 +790,13 @@
 CONFIG_CLEANCACHE=y
 CONFIG_FRONTSWAP=y
 # CONFIG_CMA is not set

-# CONFIG_ZSWAP is not set
-# CONFIG_ZPOOL is not set
-# CONFIG_ZBUD is not set
-# CONFIG_ZSMALLOC is not set
+CONFIG_ZSWAP=y
+CONFIG_ZPOOL=y
+CONFIG_ZBUD=y
+CONFIG_Z3FOLD=y
+CONFIG_ZSMALLOC=y
+CONFIG_PGTABLE_MAPPING=y
+CONFIG_ZSMALLOC_STAT=y
 CONFIG_GENERIC_EARLY_IOREMAP=y
 # CONFIG_DEFERRED_STRUCT_PAGE_INIT is not set
 # CONFIG_IDLE_PAGE_TRACKING is not set
@@ -1309,6 +1312,9 @@
 # CONFIG_BLK_DEV_FD is not set
 CONFIG_CDROM=y
 # CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
+CONFIG_ZRAM=y
+CONFIG_ZRAM_WRITEBACK=y
+CONFIG_ZRAM_MEMORY_TRACKING=y
 # CONFIG_BLK_DEV_UMEM is not set
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_LOOP_MIN_COUNT=8

As it kills the machine, I could only take screenshots of the crashes:
http://installkernel.tripod.com/IMG_2068.jpg
http://installkernel.tripod.com/IMG_2069.jpg
http://installkernel.tripod.com/IMG_2070.jpg
http://installkernel.tripod.com/IMG_2071.jpg

Regards,

Justin.


                 reply	other threads:[~2019-07-09 23:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='020901d536af$c39e0ef0$4ada2cd0$@lucidpixels.com' \
    --to=jpiszcz@lucidpixels.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome