All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] [BUG] bad performance and system stalls when using dm-crypt
@ 2010-09-11  6:06 dave b
  2010-09-11  6:57 ` Heinz Diehl
  0 siblings, 1 reply; 15+ messages in thread
From: dave b @ 2010-09-11  6:06 UTC (permalink / raw)
  To: dm-crypt, bugme-daemon

I am not sure if this really is a bug or just expected behaviour with
ext3 in ordered mode with luks / dm-crypt adding some extra latency
...

----
I am experiencing really bad performance and a fair amount of system
stalls using dm-crypt(luks)  on debian lenny with  with an ext3
ordered mode  /

"
Version:       	1
Cipher name:   	aes
Cipher mode:   	cbc-essiv:sha256
Hash spec:     	sha1
"
/dev/mapper/foo-root on / type ext3 (rw,relatime,errors=remount-ro)
Swap is also within the luks partition.

The kernel version is 2.6.35.4.

A simple test is just to dd if=/dev/zero of=DELETEME for a short time
and the system will stall rather a lot - it is not a complete lock up
- just the entire system is unresponsive for large periods at a time
(from around 30seconds - to 2 minutes). This may be related to
http://thread.gmane.org/gmane.linux.kernel.mm/51444 .


The system is a 6 core amd phenom with 4gb of ram - the hard drive is
a WD 1TB sata 3 drive hooked up to a (sata 3 controller)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA
Controller [IDE mode] (rev 40)


00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA
Controller [IDE mode] (rev 40) (prog-if 01 [AHCI 1.0])
        Subsystem: ASUSTeK Computer Inc. Device 8443
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 42
        Region 0: I/O ports at c000 [size=8]
        Region 1: I/O ports at b000 [size=4]
        Region 2: I/O ports at a000 [size=8]
        Region 3: I/O ports at 9000 [size=4]
        Region 4: I/O ports at 8000 [size=16]
        Region 5: Memory at fe8ffc00 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+
Queue=0/2 Enable+
                Address: 00000000fee3f00c  Data: 4161
        Capabilities: [70] SATA HBA <?>
        Capabilities: [a4] PCIe advanced features <?>
        Kernel driver in use: ahci
        Kernel modules: ahci

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2010-10-24 17:05 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-11  6:06 [dm-crypt] [BUG] bad performance and system stalls when using dm-crypt dave b
2010-09-11  6:57 ` Heinz Diehl
2010-09-11  8:11   ` dave b
2010-09-11  9:02     ` dave b
2010-09-11  9:08       ` dave b
2010-09-12  8:36         ` dave b
2010-09-12  9:04           ` Heinz Diehl
2010-09-12  9:07           ` Milan Broz
2010-09-12 10:42             ` dave b
2010-09-12 10:45             ` dave b
2010-10-06 17:58               ` dave b
2010-10-24 15:32                 ` Fwd: " dave b
2010-10-24 16:31                   ` Milan Broz
2010-10-24 16:52                     ` dave b
2010-10-24 17:05                       ` Milan Broz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.