USB Flash Drive Quality

What works, and doesn't, for you. Be specific, and please include Puppy version.
Message
Author
User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#31 Post by rufwoof »

Using a cheap unbranded ?? (Integral) 32GB flash stick as I write this.

Incredibly slow to write. OK read.

Deleted original partitions and repartitioned as a single ext2 ... installed grub4dos bootloader.

I have the main Debian filesystem.squashfs (like puppy.sfs) extracted to the / partition and a empty filesystem.squashfs, with the USB label set as usbpersitence ... so when booted

persistence persistence-read-only persistence-label=usbpersistence

its like a frugal install with no changes preserved, with everything in the save space (parition save 'file') and nothing in the equivalent of puppy.sfs. 1.6GB of used space (uncompressed filesystem, with libre, firefox ... etc. installed) Booted that way runs great, as good as HDD. That set up however also means it can be booted as though a full install i.e. for applying updates (including kernel upgrades) ... but booted that way is slow (as its writing to USB rather than storing all writes in ram). Just about bearable, a bit like the ol-days and comparable to perhaps being internet connected at a 9600 baud rate type pain (ok, usable, but not good). Fortunately updates are a thing you can just kick off and leave via a single command ... and then return later to reboot back into faster read-only mode again (normal usage).

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#32 Post by slavvo67 »

Nice to see even the cheap USB's have some usability.

Just a quick note about my favorite, PNY... they seem to be increasing in price. I try to get the 64gb 3.0 at around the $20 U.S. price point. Every once in a while you can catch them near that price... that's when I stock up :lol:

They say there's a newer version than the one I usually buy on the link below but if the newer version means paying $10 to $20 more (50% to 100% increase), I'll just stick with what works good.

https://www.amazon.com/PNY-Turbo-64GB-F ... gb+3.0+usb

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#33 Post by rufwoof »

£10 (around US$7.50) for that 32GB ... and that's USB2. I don't use USB's that much and haven't even upgraded the PC's ports to having any USB3 yet, so I'm not really up on prices. Just a spontaneous purchase whilst in a shopping queue of a general store, one of those pick up and drop in the basket whilst you're waiting purchases.

Nice idea of stocking up when prices are lower. Similar to my general add-low/reduce-high investment strategy :)

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#34 Post by slavvo67 »

Just a quick FYI, USB 3.0 sticks still work faster than regular 2.0 sticks EVEN IN 2.0 USB PORTS!!! Really interesting so while you may not get the full 3.0 speed, it's still faster than the normal 2.0 stick.
Similar to my general add-low/reduce-high investment strategy.
- We call that dollar-cost averaging or averaging down. :wink: [/quote]

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#35 Post by tallboy »

slavvo67, I agree on PNY quality. I have one of their first 1Gb sticks, it has been with me for many years now, still used for temporary backup, never failed. The same for an old TDK 8Gb, it is the most visible of them, flashing led in a pale blue cover. I have 2 SanDisk Cruzer Edge 32Gb that I have been using for temporary backup for the last 3 years, and they seem stable enough. I also have 2 mini SanDisk 8Gb for music only, they are still OK. The one I most regret buying, is a SanDisk Ultra 16Gb, but not for bad performance. It is just too wide for allowing 2 USB-anything mounted side-by-side in a standard 4 port USB dock, simply stupid design!
My very first 128Mb stick in the photo below, along with the latest SanDisk 8Gb mini. The 128Mb is still used for backup, but I don't remember the make.

tallboy
Attachments
cd-and-flash.jpg
(53.79 KiB) Downloaded 349 times
True freedom is a live Puppy on a multisession CD/DVD.

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#36 Post by Mike Walsh »

Tallboy, I agree with you about the 'nano' design SanDisk drives.....and with slavvo67 about the USB 3.0s working faster, even in a USB 2.0 port.

I have a pair of SanDisk Ultra Fits in 32 GB, another four in 64 GB, and recently purchased a pair of 128 GB models. I use these latter two as 'external storage' in ye ancient Dell lappie (an original Inspiron 1100 from 2002). I upped the original 20 GB Hitachi hard drive to a 32 GB KingSpec IDE/PATA SSD, then to a 64 GB model.....currently triple-booting Slacko 560, Xenialpup 7081, and rg66's X-Slacko 232 (based on 570). The original Celeron was upgraded to a 2.6 GHz P4.

The pair of Ultra Fits occupy the rear two USB 2.0 ports. Don't need 'em for anything else, since everything else I pull across the network from the big Compaq PC in my bedroom. So from an original 18.5 GB (usable), I now have 320 GB on the old girl. The only snag with the Ultra Fits is that they do seem to run pretty hot.....but they haven't given any problems yet.

Not bad for what most folk call an old brick..!

----------------------------------------------------------

BTW, about the Transcend drives that were getting high praise earlier in the thread? Hardly surprising, since Transcend (until fairly recently) produced gear exclusively for the industrial sector.....where high reliability, along with bullet-proof build-quality, are almost a prerequisite if you want your product to sell.

There's some very demanding customers out there in industry...


Mike. :wink:

Pelo

Transcend is cheap and perfect,

#37 Post by Pelo »

Transcend is cheap and perfect, regarding to physical size, to stick labels. Cruzer is small, and expensive enough. But quality is Ok.
But they are many. Only a list of bad trade Marks would be enough.
I don't buy with rétractable system, this one breaks fast.
Attachments
410UXwRDHCL._SX100_.jpg.png
bad bad
(29.39 KiB) Downloaded 304 times
BOX.jpg
Santa-Claus offered me a Brother machine, last Christmas, for easy labels (... and expensive)
(35.19 KiB) Downloaded 312 times

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#38 Post by BarryK »

Hi guys,
I have just posted a comparison of Emtec and Lexar flash sticks that I purchased from BigW here in Australia.

I bought the Emtec 16GB USB2 drives, a pack of three, for AU$20, yesterday, but when I observed how slow it was, decided to do a simple write test, comparing with a Lexar 8GB USB2 stick also purchased from BigW.

Emtec: 1.6MB/s
Lexar: 5.3MB/s

This is how I tested:
http://barryk.org/news/?viewDetailed=00629

It is a simple technique, that bypasses caching.
[url]https://bkhome.org/news/[/url]

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

USB Flash Drive Quality

#39 Post by Billtoo »

I ran the test with a 32gb usb-3.0 Kingston Data Traveler 3.0 flash drive which
is plugged into a usb-2.0 port.

# sync
# #echo 3 > /proc/sys/vm/drop_caches
# dd if=/dev/zero of=/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 54.245 s, 19.8 MB/s
#

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#40 Post by Moat »

I've no idea about comparative speeds (never had a reason to test, as they subjectively seem just fine in relation to numerous others I've used) - but I love the Sandisk Cruzer Fits! My favorites, by far. So small you can just leave 'em in the port and forget about it - perfect for Puppies. I've a few 8GB's that I've had for years - re-formatted many times and ran numerous Pups on... still performing just as new, AFAICT.

The fact that the newer Ultra USB 3.0 versions exist in a 128GB size is simply mind blowing! :shock: If only I had a 3.0-ported computer...

Bob

scsijon
Posts: 1596
Joined: Thu 24 May 2007, 03:59
Location: the australian mallee
Contact:

#41 Post by scsijon »

I've a number of mixed brands but the best i've found are my TDK 64Gig Blue's, Toshiba Black's (19mbps read/4mbps write) for the largest files (without the need for rewriting multiple blocks as they all can, and do seem to loose their way transfering data) and the old Sandisk Cruser Edge series. My workhorses are Lexar 16gig dark grey Slides (most without case as it makes them capable of being used anywhere) which have been going since 2014.

Latest aquisition are a couple of sandisk usb adapters for microSD cards, great idea by sandisk adding them to their microDS to SD adapter range.

My oldest are some Sony 512Meg usb2.0 and even though they are 'chunky' they've not let me down and worked even in old usb 1.0 ports that have been classed as unuseable. It usually just meant the port hardware is the origonal 1.0 specification which the latest usb2/3 devices are too fast in their i/o buffering to handle.

I do have some Emtec, and if you read the specs you will see that they are for photo storage in cameras and smartphones/tablets and not 'constant data movement'. Also Emtec have a number of sub-types which are usually defined by their body color as far as write speed is concerned and gold is not the best write speed, some are ok and some not for what we use them for.

You also need to look at what Class they are.
for example with usb3 ...
Class 4 is:
Read speed Up to 30MB/s
Write speed Up to 6MB/s
Class is:
Read speed Up to 45 MB/s
Write speed Up to 14 MB/s
all the way up too..
Class 10 is:
Read speed Up to 95 MB/s
Write speed Up to 90 MB/s

I do note that most of the sites now state something like (and I quote from transMemory's) :
* The terms ‘Super Speed USB 3.0’ and 'Hi-Speed USB 2.0' used herein are the name of a specification upon which this product is based, it does not guarantee the speed of its operation.
** e.g. Read and write speeds may vary depending on the read and write conditions, such as devices you use and file sizes you read and/or write.

Oh, and for those with dead usb units you can try recharging the internal capacitor/solid-state battery by leaving them plugged in to a powered up not just turned on (I don't have to say why do I) old workstation (not a notebook or too modern a pc) that's doing nothing for a day or two and see what happens. They will usually come up enough to get your data off if they don't come up to be usefull again. The old 1.0 specification did say they should be plugged in at least once every 90 days for an hour to 're-stabalise their internals'.

Oh and just something for your minds:
There are usb3.1 256gig models with up to class 12 speeds (140/140) due out there for public release this year. Will we need SSD's soon?

anyway have fun

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

Re: USB Flash Drive Quality

#42 Post by BarryK »

Billtoo wrote:I ran the test with a 32gb usb-3.0 Kingston Data Traveler 3.0 flash drive which
is plugged into a usb-2.0 port.

# sync
# #echo 3 > /proc/sys/vm/drop_caches
# dd if=/dev/zero of=/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 54.245 s, 19.8 MB/s
#
Don't forget to put the path to where the partition is mounted, for example of drive sdb and partition sdb2 mounted at /mnt/sdb2:

Code: Select all

#  sync
# echo 3 > /proc/sys/vm/drop_caches
#  dd if=/dev/zero of=/mnt/sdb2/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
Oh, and don't forget to delete 'dummyfile' afterward, if you don't want a 1GB file left on the usb stick!
[url]https://bkhome.org/news/[/url]

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

Re: USB Flash Drive Quality

#43 Post by Billtoo »

BarryK wrote:
Billtoo wrote:I ran the test with a 32gb usb-3.0 Kingston Data Traveler 3.0 flash drive which
is plugged into a usb-2.0 port.

# sync
# #echo 3 > /proc/sys/vm/drop_caches
# dd if=/dev/zero of=/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 54.245 s, 19.8 MB/s
#
Don't forget to put the path to where the partition is mounted, for example of drive sdb and partition sdb2 mounted at /mnt/sdb2:


Code: Select all

#  sync
# echo 3 > /proc/sys/vm/drop_caches
#  dd if=/dev/zero of=/mnt/sdb2/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
Oh, and don't forget to delete 'dummyfile' afterward, if you don't want a 1GB file left on the usb stick!
There was a 1gb dummyfile on the drive after the test that I did which I have deleted.
I can't get the following to work:

Code: Select all

#  sync
# echo 3 > /proc/sys/vm/drop_caches
#  dd if=/dev/zero of=/mnt/sdb2/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
Gets an error and quits.

# sync
# echo 3 > /proc/sys/vm/drop_caches
# dd if=/dev/zero of=/mnt/sdb2/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
dd: failed to open '/mnt/sdb2/dummyfile': No such file or directory
#

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#44 Post by tallboy »

Barry, will the FS on the drive have any influence on the result? You have played around with these flash drives for some years now, do you prefer to format the drives to another FS, like ext-something, and in that case, which?

tallboy

Oh, and /proc/sys/vm/drop_caches, should it be set back to 0?
True freedom is a live Puppy on a multisession CD/DVD.

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#45 Post by tallboy »

Hmmm...
The stick is the SanDisk Ultra 16Gb that I dislike because it is too wide to mount side-by-side with anything.

# dd if=/dev/zero of=/mnt/sdb1/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 117.339 s, 9.2 MB/s

CPU is a 2.6GHz P4, USB2.0, not very impressive....

I take that back, my results are extremely good compared to these!:
Barry wrote:Emtec: 1.6MB/s
Lexar: 5.3MB/s
:D
tallboy
True freedom is a live Puppy on a multisession CD/DVD.

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#46 Post by tallboy »

Interesting, because I don't know why it is so slow! The SanDisk Ultra 16Gb in the former test had never been used. Can the FS mean anything, or is it defragmentation?

SanDisk Cruzer Edge 32 Gb with 15 Gb free space, format ext2:

Code: Select all

# cat /proc/sys/vm/drop_caches
3
# sync
# dd if=/dev/zero of=/mnt/sdb1/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 327.375 s, 3.3 MB/s
# echo 0 > /proc/sys/vm/drop_caches
# rm /mnt/sdb1/dummyfile 
Ok. let's do a clean-up:

Code: Select all

# fsck.ext2 /dev/sdb1
e2fsck 1.41.14 (22-Dec-2010)
/dev/sdb1 has gone 196 days without being checked, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 3A: Optimizing directories
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/sdb1: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sdb1: 56233/1908736 files (0.3% non-contiguous), 3432721/7631616 blocks
And try again:

Code: Select all

# echo 3 > /proc/sys/vm/drop_caches 
# sync
# dd if=/dev/zero of=/mnt/sdb1/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 331.832 s, 3.2 MB/s
# echo 0 > /proc/sys/vm/drop_caches
# rm /mnt/sdb1/dummyfile 
It actually slowed down??

tallboy
True freedom is a live Puppy on a multisession CD/DVD.

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#47 Post by smokey01 »

I thought I would try a few tests as well. Below are my results.

SanDisk Cruzer Blade 4GB USB2 in USB2 Port vfat
dd if=/dev/zero of=/mnt/sdd1/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct 1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 279.549 s, 3.8 MB/s

Verbatim 4GB USB2 in a USB2 port ext4
dd if=/dev/zero of=/mnt/sdd2/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 112.667 s, 9.5 MB/s

Verbatim 4GB USB2 in a USB2 port vfat
dd if=/dev/zero of=/mnt/sdd1/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 113.166 s, 9.5 MB/s


Lexar 8GB USB2 in USB2 Port vfat
# dd if=/dev/zero of=/mnt/sdd1/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 171.287 s, 6.3 MB/s

Lexar 8GB USB2 in USB3 Port vfat
dd if=/dev/zero of=/mnt/sdd1/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 164.466 s, 6.5 MB/s

SanDisk 16 GB Ultra USB3 in a USB2 Port vfat
dd if=/dev/zero of=/mnt/sdd1/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 90.3283 s, 11.9 MB/s

SanDisk 16 GB Ultra USB3 in a USB3 Port vfat
dd if=/dev/zero of=/mnt/sdd1/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 83.074 s, 12.9 MB/s

SanDisk 16 GB Ultra USB3 in a USB3 Port f2fs
dd if=/dev/zero of=/mnt/sdd2/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 68.8602 s, 15.6 MB/s

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

Re: USB Flash Drive Quality

#48 Post by BarryK »

Billtoo wrote:
BarryK wrote:
Billtoo wrote:I ran the test with a 32gb usb-3.0 Kingston Data Traveler 3.0 flash drive which
is plugged into a usb-2.0 port.

# sync
# #echo 3 > /proc/sys/vm/drop_caches
# dd if=/dev/zero of=/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 54.245 s, 19.8 MB/s
#
Don't forget to put the path to where the partition is mounted, for example of drive sdb and partition sdb2 mounted at /mnt/sdb2:


Code: Select all

#  sync
# echo 3 > /proc/sys/vm/drop_caches
#  dd if=/dev/zero of=/mnt/sdb2/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
Oh, and don't forget to delete 'dummyfile' afterward, if you don't want a 1GB file left on the usb stick!
There was a 1gb dummyfile on the drive after the test that I did which I have deleted.
I can't get the following to work:

Code: Select all

#  sync
# echo 3 > /proc/sys/vm/drop_caches
#  dd if=/dev/zero of=/mnt/sdb2/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
Gets an error and quits.

# sync
# echo 3 > /proc/sys/vm/drop_caches
# dd if=/dev/zero of=/mnt/sdb2/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
dd: failed to open '/mnt/sdb2/dummyfile': No such file or directory
#
Click on the flash drive partition and it will be mounted. "/mnt/sdb2" was just an example, you have to put the path to where your partition is mounted.

Ah, it has just occurred to me, I have misunderstood. If you booted up on the Kingston flash drive, full install of Quirky, then, yes, "of=/dummyfile" is correct.

My comment about mount path is if you plug in a flash stick while already running Linux.
Sorry, your original test is ok.
[url]https://bkhome.org/news/[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#49 Post by BarryK »

tallboy wrote:Barry, will the FS on the drive have any influence on the result? You have played around with these flash drives for some years now, do you prefer to format the drives to another FS, like ext-something, and in that case, which?

tallboy

Oh, and /proc/sys/vm/drop_caches, should it be set back to 0?
My testing is with ext4 no-journal.

I don't know about other filesystems, but I would expect fuse-based driver such as ntfs-3g to be slower.

That last question, I don't know. It was something that I read about, but there was no advice to change it back afterward.
[url]https://bkhome.org/news/[/url]

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

Re: USB Flash Drive Quality

#50 Post by Billtoo »

BarryK wrote:
Ah, it has just occurred to me, I have misunderstood. If you booted up on the Kingston flash drive, full install of Quirky, then, yes, "of=/dummyfile" is correct.

My comment about mount path is if you plug in a flash stick while already running Linux.
Sorry, your original test is ok.
I ran the speed test in my Quirky 8.3 with a Kingston Datatraveler 3.0 plugged into a usb-3.0 port:

# sync
# #echo 3 > /proc/sys/vm/drop_caches
# dd if=/dev/zero of=/dummyfile bs=1M count=1024 conv=fdatasync oflag=direct
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 13.504 s, 79.5 MB/s
#

That's about 4 times faster than when plugged into a usb-2.0 port.

Post Reply