[Bug 1869885] [NEW] Improve performance of 10_linux_zfs

Jean-Baptiste Lallement jean-baptiste.lallement at ubuntu.com
Tue Mar 31 13:37:03 UTC 2020


Public bug reported:

Performance of 10_linux_zfs decreases with the number of datasets,
snapshot and clones.

2 parts can be improved:
  1. Cache repeating ZFS operations in the generation of the list of zfs entries and optimize the code path for the default layout on Ubuntu
  2. Grub menu operation executes lot of expensive "sed" operations just to add indentations which can be cached too.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: grub2 (not installed)
ProcVersionSignature: Ubuntu 5.4.0-18.22-generic 5.4.24
Uname: Linux 5.4.0-18-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu21
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Mar 31 15:32:10 2020
InstallationDate: Installed on 2014-07-15 (2086 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
SourcePackage: grub2
UpgradeStatus: Upgraded to focal on 2018-03-24 (737 days ago)

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1869885

Title:
  Improve performance of 10_linux_zfs

Status in grub2 package in Ubuntu:
  New

Bug description:
  Performance of 10_linux_zfs decreases with the number of datasets,
  snapshot and clones.

  2 parts can be improved:
    1. Cache repeating ZFS operations in the generation of the list of zfs entries and optimize the code path for the default layout on Ubuntu
    2. Grub menu operation executes lot of expensive "sed" operations just to add indentations which can be cached too.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: grub2 (not installed)
  ProcVersionSignature: Ubuntu 5.4.0-18.22-generic 5.4.24
  Uname: Linux 5.4.0-18-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu21
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Mar 31 15:32:10 2020
  InstallationDate: Installed on 2014-07-15 (2086 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
  SourcePackage: grub2
  UpgradeStatus: Upgraded to focal on 2018-03-24 (737 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1869885/+subscriptions



More information about the foundations-bugs mailing list