← Back to team overview

kernel-packages team mailing list archive

[Bug 997695] Re: severe performance issue using mdadm raid5 on top of LUKS

 

Bianco Veigel, this bug was reported a while ago and there hasn't been
any activity in it recently. We were wondering if this is still an
issue? If so, could you please test for this with the latest development
release of Ubuntu? ISO images are available from
http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in
the development release from a Terminal
(Applications->Accessories->Terminal), as it will automatically gather
and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.11-rc6

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's
Status as Confirmed. Please let us know your results. Thank you for your
understanding.

** Tags added: latest-bios-2.30 needs-upstream-testing regression-
release

** Changed in: linux (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/997695

Title:
  severe performance issue using mdadm raid5 on top of LUKS

Status in “cryptsetup” package in Ubuntu:
  Invalid
Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  I've upgraded to 12.04 a few days ago and since this, the performance
  of my crypto-drive is limited by CPU.

  I'm running an MDADM RAID5 on top of 7 independendtly encrypted drives
  (Seagate Barracuda XT 7200.12 2TB each encrypted using crypsetup /
  LUKS).

  The problem seems to be, that in 12.04 all encryption is done using
  only a single CPU core. In 10.04 each crypt-device used its own thread
  (kcrypt), that was the reason to encrypt each device independently and
  build a raid on top of the crypto devices.

  I'll attach a screenshot of munins iostat and CPU graph to illustrate the difference before and after the upgrade
  --- 
  AlsaDevices:
   total 0
   crw-rw---T 1 root audio 116,  1 Mai  1 15:52 seq
   crw-rw---T 1 root audio 116, 33 Mai  1 15:52 timer
  AplayDevices: aplay: device_list:252: no soundcards found...
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  ArecordDevices: arecord: device_list:252: no soundcards found...
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
  DistroRelease: Ubuntu 12.04
  HibernationDevice: RESUME=
  IwConfig:
   lo        no wireless extensions.
   
   virbr0    no wireless extensions.
   
   eth0      no wireless extensions.
  Lsusb:
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 004 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  Package: linux (not installed)
  ProcEnviron:
   LANGUAGE=de_DE:de:en_US:en
   TERM=xterm
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 nouveaufb
  ProcKernelCmdLine: root=/dev/mapper/md1_crypt ro quiet splash
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  RelatedPackageVersions:
   linux-restricted-modules-3.2.0-24-generic N/A
   linux-backports-modules-3.2.0-24-generic  N/A
   linux-firmware                            1.79
  RfKill: Error: [Errno 2] No such file or directory
  StagingDrivers: cxd2099
  Tags:  precise staging
  Uname: Linux 3.2.0-24-generic x86_64
  UpgradeStatus: Upgraded to precise on 2012-04-30 (10 days ago)
  UserGroups: mythtv
  dmi.bios.date: 04/30/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P2.30
  dmi.board.name: K10N78FullHD-hSLI..
  dmi.board.vendor: ASRock
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP2.30:bd04/30/2010:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnK10N78FullHD-hSLI..:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To Be Filled By O.E.M.
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.

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