public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Horrible TrueCrypt performance
@ 2012-01-10  0:20 Alex Schuster
  2012-03-06 14:41 ` Alex Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Schuster @ 2012-01-10  0:20 UTC (permalink / raw
  To: gentoo-user

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 waayyyy 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



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

* Re: [gentoo-user] Horrible TrueCrypt performance
  2012-01-10  0:20 [gentoo-user] Horrible TrueCrypt performance Alex Schuster
@ 2012-03-06 14:41 ` Alex Schuster
  2012-03-06 21:44   ` Frank Steinmetzger
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Schuster @ 2012-03-06 14:41 UTC (permalink / raw
  To: gentoo-user

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 waayyyy 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



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

* Re: [gentoo-user] Horrible TrueCrypt performance
  2012-03-06 14:41 ` Alex Schuster
@ 2012-03-06 21:44   ` Frank Steinmetzger
  0 siblings, 0 replies; 3+ messages in thread
From: Frank Steinmetzger @ 2012-03-06 21:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 841 bytes --]

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!

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2012-03-06 21:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-10  0:20 [gentoo-user] Horrible TrueCrypt performance Alex Schuster
2012-03-06 14:41 ` Alex Schuster
2012-03-06 21:44   ` Frank Steinmetzger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox