Re: [OT] Verschlüsseltes Laufwerk Performanceunterschied?
Hallo alle,
On Fri, 27 Mar 2009 07:20:06 +0100
Klaus Umbach <treibholz@sozial-inkompetent.de> wrote:
> also das ist jetzt nochmal mein Netbook (SSD), mit der richtigen
> Partition, aber auch hier bemerkt man den Unterschied leider
> drastisch.
Nachfolgend meine "benchmarks". crypttest_sd* ist jeweils ein file auf
der jeweiligen Platte. Verschlüsselt mit aes-cbc-essiv:sha256.
sda ist eine SSD, sdb eine normale 2.5" Platte.
Gruß,
Patrick
hdparm -tT /dev/...
/dev/sda:
Timing cached reads: 502 MB in 2.00 seconds = 250.93 MB/sec
Timing buffered disk reads: 244 MB in 3.00 seconds = 81.25 MB/sec
/dev/mapper/crypttest_sda:
Timing cached reads: 492 MB in 2.00 seconds = 245.71 MB/sec
Timing buffered disk reads: 98 MB in 1.59 seconds = 61.74 MB/sec
/dev/sdb:
Timing cached reads: 502 MB in 2.01 seconds = 250.35 MB/sec
Timing buffered disk reads: 180 MB in 3.03 seconds = 59.40 MB/sec
/dev/mapper/crypttest_sdb:
Timing cached reads: 492 MB in 2.01 seconds = 245.23 MB/sec
Timing buffered disk reads: 98 MB in 2.64 seconds = 37.13 MB/sec
-----
$ cat /proc/cpuinfo
processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 10
model name : VIA Esther processor 1200MHz
stepping : 9
cpu MHz : 1197.018
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
cmov pat clflush acpi mmx fxsr sse sse2 tm pni est tm2 rng rng_en ace
ace_en ace2 ace2_en phe phe_en pmm pmm_en bogomips : 2397.26
clflush size : 64 power management:
-----
$ lsmod | grep padlock
padlock_sha 3584 0
padlock_aes 4608 2
crypto_blkcipher 14724 3 dm_crypt,padlock_aes
aes_generic 29224 1 padlock_aes
-----
$ hdparm -Id /dev/sda
/dev/sda:
HDIO_GET_DMA failed: Inappropriate ioctl for device
ATA device, with non-removable media
Model Number: OCZ CORE_SSD
Serial Number: DC32300000B8
Firmware Revision: 02.10104
Standards:
Used: ATA/ATAPI-7 T13 1532D revision 4a
Supported: 8 7 6 5 & some of 8
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 62586880
device size with M = 1024*1024: 30560 MBytes
device size with M = 1000*1000: 32044 MBytes (32 GB)
Capabilities:
LBA, IORDY(can be disabled)
Standby timer values: spec'd by Standard, no device specific
minimum R/W multiple sector transfer: Max = 1 Current = ?
Recommended acoustic management value: 128, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
* Power Management feature set
Write cache
Look-ahead
* Mandatory FLUSH_CACHE
* SATA-I signaling speed (1.5Gb/s)
* SATA-II signaling speed (3.0Gb/s)
* Host-initiated interface power management
* Phy event counters
Checksum: correct
-----
$ hdparm -Id /dev/sdb
/dev/sdb:
HDIO_GET_DMA failed: Inappropriate ioctl for device
ATA device, with non-removable media
Model Number: SAMSUNG HM250JI
Serial Number: S0TVJD0PB06943
Firmware Revision: HS100-08
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II
Extensions, SATA Rev 2.5 Standards:
Used: ATA/ATAPI-7 T13 1532D revision 0
Supported: 8 7 6 5 & some of 8
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 488397168
device size with M = 1024*1024: 238475 MBytes
device size with M = 1000*1000: 250059 MBytes (250 GB)
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific
minimum R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: 254
Recommended acoustic management value: 254, current value: 128
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5
*udma6 udma7 Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
* Advanced Power Management feature set
SET_MAX security extension
* Automatic Acoustic Management feature set
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* 64-bit World wide name
* IDLE_IMMEDIATE with UNLOAD
* Write-Read-Verify feature set
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* SATA-I signaling speed (1.5Gb/s)
* Native Command Queueing (NCQ)
* Host-initiated interface power management
* Phy event counters
DMA Setup Auto-Activate optimization
Device-initiated interface power management
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Long Sector Access (AC1)
* SCT LBA Segment Access (AC2)
* SCT Error Recovery Control (AC3)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
supported: enhanced erase
100min for SECURITY ERASE UNIT. 100min for ENHANCED SECURITY
ERASE UNIT. Logical Unit WWN Device Identifier: 50f00206943
NAA : 5
IEEE OUI : f0000
Unique ID : 0206943
Checksum: correct
Reply to: