disk cache is slow on average with dm-crypt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I would expect the cached read speeds to be the same as the cache is above the encryption device mapper layer.
Using dm-crypt read speeds are inconsistent averaging 380 MB/s, not using dm-crypt read speeds are consistently 1200 MB/s.
I used dd to test at least 12 times:
dd if=./test.file of=/dev/null bs=1M count=1024
lsb_release -rd:
Description: Ubuntu 10.04.3 LTS
Release: 10.04
apt-cache policy cryptsetup:
cryptsetup:
Installed: 2:1.1.0~
Candidate: 2:1.1.0~
Version table:
*** 2:1.1.0~
500 http://
100 /var/lib/
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
AplayDevices: Error: [Errno 2] No such file or directory
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info: Error: [Errno 2] No such file or directory
Card0.Amixer.
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=
MachineType: Dell Inc. Dell DV051
Package: linux (not installed)
ProcCmdLine: root=UUID=
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
Regression: No
RelatedPackageV
Reproducible: Yes
RfKill:
Tags: lucid filesystem needs-upstream-
Uname: Linux 2.6.32-
UserGroups:
WifiSyslog:
dmi.bios.date: 10/08/2005
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A03
dmi.board.name: 0JC474
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 6
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Dell DV051
dmi.sys.vendor: Dell Inc.
Cryptsetup only handles the initial setup of the devices; any performance problems will be in the kernel driver instead. Reassigning.