> on the encrypted partition : Time: 134 seconds , cpu iowait about 40-50 %
> on the unencrypted partition : Time: 72 seconds , cpu iowait about 10 %

You see the huge difference with my results of testing 8.04 -generic kernel 
(whose results are not good too). 
It seems things become worse.

Just for fun I tested old host still running 2.4.25 uniprocessor kernel on 
Seagete Barracuda SATA drive (no RAID cards):
    not encrypted device: 15 seconds
    encrypted (cryptoloop) device: 18 seconds
iostat shows about 750 reads/sec!

Its definitely something wrong with modern 2.6 kernels.
The kind of IO load that I try to reproduce with testing script is typical 
database reading workload (random access, small blocks). Modern kernels perfoms 
bad with this kind of IO (at least Ubuntu kernels).
I hope kernel maintainers/developers will find time to discover and resolve the 
issue.

-- 
Random access read speed from encrypted device is very slow compared with other 
linux distributions
https://bugs.launchpad.net/bugs/363763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to