Encrypted directory makes file operations for whole disk very slow

Posted by user1566277 on Super User See other posts from Super User or by user1566277
Published on 2012-10-12T08:46:36Z Indexed on 2012/10/12 9:41 UTC
Read the original article Hit count: 164

Filed under:
|

I am running an arm GNU/Linux and I have a SD-Card with three partitions on it. On one of the Partition I create an encfs file and then mount it on a directory which is in another partition to make that directory encrypted. Works fine. But now the writing speed on all the partitions are reduced drastically. I can understand that it should be slow for encrypted directory but why the its reducing write speed for all the partitions. E.g., if do not mount the encrypted directory 20MB is transferred in 2 Sec. roughly but with the encrypted directory mounted its like 20 Seconds for same file. I am using LUKS and all the partitons are ext3 except for the directory where /dev/mapper/encfs is mounted as type ext2. Any hints?

© Super User or respective owner

Related posts about encryption

Related posts about ext3