Re: README losetup/mount-Parameter "offset" needs another note

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthias Schniedermeyer wrote:
> So i set the offset to 512 with "/dev/sd<x>" as the backing-store. But
> Performace fell to a crawl (relativly speaking) realative to a
> non-offseted loop.
> 
> So i increased the offset by 512 for a few times in the hope that the
> phaenomenom is "curable". And with an offset of 4096 performance was the
> same as without an offset.
> 
> As i have a IA32-System it appears to me that the offset has to be
> page-aligned, in case performance matters. So i suggest to put a note
> about that in the README.

What kernel version are you using?
What loop implementation are you using?

Mainline loop driver uses page cache for both file backed and device backed
setups. Loop-AES version of loop driver uses page cache only for file backed
setups. Your description sounds like you are using mainline loop.

-- 
Jari Ruusu  1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9  DB 1D EB E3 24 0E A9 DD

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux