I'm sorry, but I've changed my setup in the meantime. Currently I'm using a RAID6 made of 9 Seagate Barracuda 7200.14 (3TB) and a single crypt device on top of the raid. I've also changed my CPU (AMD A8-5500) and am now using AES-NI to accelerate encryption.
I've done a raid grow last week, and my IOStats graph shows between 800K an 1.2M blocks per second. I've also done some quick performance tests using dd and get a write performance around 400MB/s using a blocksize of 4K. The IO graph show 300K blocks per second while my CPU is at 100% an all four cores. top shows also four different kworker processes, the dd and a _raid6 process. I guess this bug is fixes (at least for me). If I can provide any additional information, just let me know. -- 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 -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp