At 8:07 PM -0800 2006/03/21, David Shayer wrote:
>At 10:48 AM -0800 3/16/06, Chris Pepper wrote:
>> As I've stated here in the past, I run Eudora, with my Eudora
>>Folder on an iPod (previously it was on Zip disks, then on an
>>external 2.5" drive). This is convenient, because Eudora is exactly
>>the same at home or at work, and the 60gb iPod (photo, not video) is
>>much smaller and lighter to commute with than a laptop.
>>Unfortunately, it's still a bit awkward to carry around the house.
>>
>> I got a 2gb thumb drive (once I realized I didn't really need
>>an SD card) for $75 (Cruzer Mini), intending to mount an encrypted
>>filesystem in case I lost it. I back up the important data folder
>>every time I plug it into one of my Macs, so at least 10x/week. As a
>>result, I'm protected against data loss, but having someone pick up a
>>thumb drive with all my email on it would be bad. When the iPod
>>shuffle came out, I got one for the same purpose, but eventually sent
>>it back.
>>
>> Unfortunately, the experiment was a bust. I have a couple of
>>large files totalling 232mb. Copying them to my iPod takes 24-26
>>seconds. Copying them to the thumb drive (formatted as Journaled
>>HFS+) takes 56-64 seconds. Copying them to an encrypted .dmg
>>(AES-128) on the same thumb drive takes 95 to 120 seconds. Reading
>>from the thumb drive is faster, but Eudora writes to a mailbox file
>>every time a new message comes in, so the Cruzer Mini just isn't
>>feasible.
>>
>> On the other hand, read performance from unencrypted flash
>>was very similar to the iPod. Reading those two files from the iPod
>>took 24 seconds the first time, then 3 seconds for the second and
>>third (cached). Reading from the flash drive (unencrypted) took 21
>>seconds initially, then 3 seconds for the second and third times,
>>just like the iPod. I didn't test reading from an encrypted .dmg on
>>flash.
>>
>> A 2gb thumb drive is a neat thing to have (my first computer,
>>an Apple ][+, had 48k because I knew I wouldn't need 64k), but it's
>>not going to help with Eudora. I am now switched over to IMAP, but
>>not yet ready to give up my Eudora-on-iPod setup, where the same
>>windows are open at home and work (and I'm carrying the iPod to
>>listen to anyway...).
>
>A few notes about this. Most thumb drives are formatted FAT.
>Although the Mac supports FAT, it is slow. If you're only going to
>use it on a Mac, reformat it as HFS+ (with journalling). It will
>mount faster, file access will be faster, and journalling will
>automatically repair any directory corruption.
David,
Thanks. I did erase it and use Journaled HFS+. I had an
original shuffle, and learned that Apple's FAT implementation slows
the shuffle down. I wanted to use it as an MP3 player, and didn't
realize until after I'd returned it that the shuffle would apparently
play MP3s off an HFS+ file system (even if unsupported).
I would have preferred a shuffle for this purchase, if only
for the earbuds (although I'd probably listen to it sometimes too),
but I don't expect to see a 2 GB shuffle, and my Eudora Folder is
currently 875 MB.
>Writing to most flash drives is slow. This is because their memory
>is arranged in large physical blocks, often 128K, and the controller
>has to write to the whole block. Whereas FAT32 and HFS+ typically
>use 4K clusters (called allocation blocks on HFS).
>
>Unfortunately, the host computer OS doesn't know this. So when
>writing a file to a thumb drive, the OS will write out several 4K
>clusters to the thumb. The thumb's controller will read in an entire
>physical block, change the parts you wrote to, and write the entire
>physical block back out. If you're writing to a bunch of mail files,
>you're writing the same 128K block over and over, changing a
>different pieces of it each time. Highly inefficient.
>In the iPod nano we have an intelligent cache which tries to combine
>multiple writes to the same physical block into a single write. Of
>course the nano has 32M of RAM, and we can use a lot of it for
>cache. The thumb drive doesn't.
This is cool, but not relevant for me, since I have 43 GB of
music on my 60 GB iPod photo -- all of which I want with me. A nano
still needs a cable with each computer, and isn't so much smaller
than a full-size iPod that I'd want both, or to give up most of my
music.
>Whether it's FAT or HFS, for maximum performance you'd like the
>cluster size to be an even multiple of the physical block size, and
>the cluster boundaries to be aligned with the physical block
>boundaries. The iPod updater takes care of this when you restore an
>iPod nano. You can do this manually on a thumb drive by partitioning
>and formatting it from the command line, but it's not pretty.
Cool -- the relevant incantation would be welcome, if you
know it off-hand.
Separately, here's an update. Alex Hoffman bought the flash
drive, to replace a lost iPod shuffle (which is larger than the
Cruzer Mini, thus validating my fear of losing it).
I see M-Systems and Verbatim are addressing my concerns as
well. Verbatim sells the Store n Go Pro USB flash drive, based on
M-Systems technology. Verbatim claims the drive provides 23mbyte/s
reads & 14mbyte/s writes, compared to a little worse than 10mbyte/s
(both ways) for the 60gb iPod photo. The flash drive includes strong
AES256 encryption in silicon. Hopefully the speeds are with
encryption (the whole point of the drive), although I wouldn't put
money on it. Although <
http://www.d-silence.com/feature.php?id=1007>
claims Mac compatibility, I wonder if the encrypted area is really
accessible from a Mac. The V-Safe encryption engine is supposed to
securely delete the files after a configurable number of password
failures, which is very slick (I have good backups of this data).
I've asked Verbatim about Mac access to the encrypted portion
and encrypted read/write speed. If they say Macs can access the
encrypted portion at full iPod speeds, it might be time to spend some
more money.
I love technology. The 2gb drive was announced at $600 list,
and Amazon now offers the drive for $186, $238, and $258. No, I don't
know why Amazon offers 3 different pages & prices, and 2 different
photos, but I doubt Amazon does either.
--
Chris Pepper: <
http://www.reppep.com/~pepper/>
Rockefeller University: <
http://www.rockefeller.edu/>