Re: [gentoo-user] Horrible TrueCrypt performance

2012-03-06 Thread Frank Steinmetzger
On Tue, Mar 06, 2012 at 03:41:01PM +0100, Alex Schuster wrote:
> Whoops! I for got to write an update. Two months ago, I wrote:
> 
> > I have to copy some 100 G of files from one to another USB drive. Both
> > are formatted with NTFS, the destination drive already has a truecrypt
> > container file where I need to store the data into.
> [...]
> 
> The problem was the TrueCrypt container file. What I did instead was to
> format the whole drive as a TruCrypt volume, which took about two hours I
> think. When I mounted the partition, copying speed was as fast as it
> should be.

Yes, it is also my experience that write performance on NTFS is very
suboptimal for bigger files.
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

ATARI! We make top-notch toasters affordable!


pgpPjvRTaH1jE.pgp
Description: PGP signature


Re: [gentoo-user] Horrible TrueCrypt performance

2012-03-06 Thread Alex Schuster
Whoops! I for got to write an update. Two months ago, I wrote:

> I have to copy some 100 G of files from one to another USB drive. Both
> are formatted with NTFS, the destination drive already has a truecrypt
> container file where I need to store the data into.
> 
> This is sort of working, but the speed is waa too slow. After about
> four hours, only 8 G were copied.
[...]

The problem was the TrueCrypt container file. What I did instead was to
format the whole drive as a TruCrypt volume, which took about two hours I
think. When I mounted the partition, copying speed was as fast as it
should be.

Wonko



[gentoo-user] Horrible TrueCrypt performance

2012-01-09 Thread Alex Schuster
Hi there!

I have to copy some 100 G of files from one to another USB drive. Both
are formatted with NTFS, the destination drive already has a truecrypt
container file where I need to store the data into.

This is sort of working, but the speed is waa too slow. After about
four hours, only 8 G were copied.

Looking at the cp -r output shows I see a bunch of files being
processed, then the output stops for some minutes. Sometimes for half an
hour.

Top shows the mount.ntfs-3g process writing to the destination using all
resources of one of my two cores. iotop -d 10 shows this process mainly.
What I find strange is that this process is also reading from the drive
I am copying to, 1600 K/s compared to 260 K/s writing speed. Huh?? And
sometimes there is no I/O from this process during the ten seconds of
sampling time. I sampled for about half an hour, and iotop -oa shows
that only 20 MB were written. This will never finish.

I used this command to mount the truecrypt container:
truecrypt --fs-options=uid=1000,umask=0007 -k /home/wonko/my.key
/media/My USB Drive/my_container /mnt
Adding 'async' to the fs-options did not help.

Any ideas? I've never used TrueCrypt before.

Wonko