USB + Encryption + Archiving File = SLOW AS A SNAIL
Tuesday, December 9, 2008 6:43:52 PM
Alright, another day, another update. I have my 160 Gig USB Drive connected to Intrepid, and it works great, I don't even get prompted for a password anymore when I plug it in (Luks Encrypted drive). Problem is, if I want to add a file to an archive (ie i want to tar and bzip it) it takes forever and a day. Today alone, I had about 6 files I wanted to do this with. I wrote a simple bash script to take care of doing them one at a time for me, because I know all at once with two of the files being over 3.0 Gigs and the other 3.4 Gigs it would take even longer. The script was simple, it cd's to my /media/disk directory (the USB Drive) and into the /ISOs folder, which is what I was zipping up, was a few ISOs. The next thing the script does is find all the ISOs in that directory and it's subdirectories. Next it starts one by one tarring the files, bzippiping them as it goes. After it finishes one file, it erases the starting ISO, and moves on to the next. Simple enough, right? Not really. The script has been running for almost an hour now, and it's still got the large 3.4 Gig file to go.
Lesson learned from all this is exactly what the title states. USB Drive + Encryption + Trying to archive a file = Slowness.
I mean, my system is running fine while it's compressing, so I guess I shouldn't complain, but still. I wish I knew a faster way.
As always,
Happy Hacking
PiklesOnFire
Lesson learned from all this is exactly what the title states. USB Drive + Encryption + Trying to archive a file = Slowness.
I mean, my system is running fine while it's compressing, so I guess I shouldn't complain, but still. I wish I knew a faster way.
As always,
Happy Hacking
PiklesOnFire















Unregistered user # Monday, December 15, 2008 1:39:02 PM
PiklesOnFire # Monday, December 15, 2008 4:15:09 PM
I haven't seen any bug reports or very many other reports of this issue.
I think I can at least get a boost in speed by trying different filesystems, with different tweaks set to them, hence further testing as described in one of my other posts.
I'm going to be posting those results pretty soon hopefully, at least within the next two weeks.