zswap is not enabled

Bug #1215379 reported by Eugene San
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Wishlist
Unassigned
Saucy
Fix Released
Wishlist
Tim Gardner

Bug Description

Please enable ZSWAP in Saucy's kernel config.
In runtime, module is not enabled by default so there no risk of regressions.

ZSWAP finally merged in Linux 3.11.
ZSWAP should replace previous solutions as ramzswap and zram and should provide a solution for SSD based or/and low RAM machines.

Detailed information can be found at:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2b2811178e85553405b86e3fe78357b9b95889ce
and
http://www.phoronix.com/scan.php?page=news_item&px=MTQwODI

Tags: saucy
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1215379

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu Saucy):
importance: Undecided → Medium
tags: added: saucy
Changed in linux (Ubuntu Saucy):
status: Incomplete → Triaged
importance: Medium → Wishlist
Revision history for this message
Tim Gardner (timg-tpi) wrote :

ZSWAP is still marked EXPERIMENTAL. There is no optional use of zswap once the config is enabled.

Changed in linux (Ubuntu Saucy):
assignee: nobody → Tim Gardner (timg-tpi)
status: Triaged → Won't Fix
Revision history for this message
AnAkIn (anakin-cs) wrote :

I would like this as well.
According to phoronix, "With the Kconfig ZSWAP support for Zswap enabled, it's just a matter of setting zswap.enabled=1 as a kernel module parameter.", so I guess Eugene is correct, it won't be enabled by default. We still need CONFIG_ZSWAP to be able to enable it though.

Revision history for this message
StoatWblr (stoatwblr) wrote :

Tim: AnAkin is correct, it's disabled by default and must be called at boot time.

You should also enable multiple kernel compression modules - lz4 is beter for most swaploads than gzip (less CPU consumed)

Currrently only gzip is used:

CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set

These should all be modularised.

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Ok, I enabled ZSWAP. The config options mentioned in #4 are all mutually exclusive, so I think we'll just leave gzip as the default.

Changed in linux (Ubuntu Saucy):
status: Won't Fix → Fix Committed
Revision history for this message
Pwnicorn (pwnicorndev) wrote :

I think LZ4 should be default. It provides a slightly lower compression, but is extremely fast, especially when decompressing.

Revision history for this message
pawloch (pawloch) wrote :

Hi, it would be nice to see kernel with ZSWAP enabled here:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/
would it be relased to mainline soon ?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 3.11.0-5.11

---------------
linux (3.11.0-5.11) saucy; urgency=low

  * Release tracker
    - LP: #1221886

  [ Adam Lee ]

  * SAUCE: Bluetooth: Add support for 04ca:2007
    - LP: #1153448
  * SAUCE: Bluetooth: Add support for 105b:e065
    - LP: #1161261

  [ Gavin Guo ]

  * SAUCE: Bluetooth: Add support for Broadcom 413c:8143
    - LP: #1166113

  [ Upstream Kernel Changes ]

  * igb: Reset the link when EEE setting changed
    - LP: #1219619
  * igb: Read register for latch_on without return value
    - LP: #1219619
  * igb: Added rcu_lock to avoid race
    - LP: #1219619
  * igb: don't allow SR-IOV without MSI-X
    - LP: #1219619
  * igb: Update MTU so that it is always at least a standard frame size
    - LP: #1219619
  * igb: Refactor of init_nvm_params
    - LP: #1219619
  * igb: Refactor NVM read functions to accommodate devices with no flash
    - LP: #1219619
  * igb: Add device support for flashless SKU of i210 device
    - LP: #1219619
  * igb: Fix get_fw_version function for all parts
    - LP: #1219619
  * igb: Add macro for size of RETA indirection table
    - LP: #1219619
  * igb: Expose RSS indirection table for ethtool
    - LP: #1219619
  * igb: Don't look for a PBA in the iNVM when flashless
    - LP: #1219619
  * igb: Implementation of 1-sec delay for i210 devices
    - LP: #1219619
  * igb: New PHY_ID for i354 device
    - LP: #1219619
  * igb: M88E1543 PHY downshift implementation
    - LP: #1219619
  * igb: No PHPM support in i354 devices
    - LP: #1219619
  * igb: Support to get 2_5G link status for appropriate media type
    - LP: #1219619
  * igb: Get speed and duplex for 1G non_copper devices
    - LP: #1219619
  * igb: Implementation to report advertised/supported link on i354 devices
    - LP: #1219619
  * igb: Update version number
    - LP: #1219619
  * Bluetooth: Take proper tty_struct references
    - LP: #1189998
  * Bluetooth: Remove the device from the list in the destructor
    - LP: #1189998
  * Bluetooth: Move the tty initialization and cleanup out of open/close
    - LP: #1189998
  * Bluetooth: Implement .activate, .shutdown and .carrier_raised methods
    - LP: #1189998
  * Bluetooth: Fix the reference counting of tty_port
    - LP: #1189998
  * Bluetooth: Purge the dlc->tx_queue to avoid circular dependency
    - LP: #1189998

  [ Wen-chien Jesse Sung ]

  * SAUCE: Bluetooth: Support for loading broadcom patchram firmware
    - LP: #1065400
  * SAUCE: Bluetooth: Add support for 13d3:3388 and 13d3:3389
    - LP: #1065400
 -- Tim Gardner <email address hidden> Thu, 05 Sep 2013 08:06:17 -0600

Changed in linux (Ubuntu Saucy):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.