LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 12-11-2024, 01:21 AM   #1
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 723

Rep: Reputation: 8
SSD vs HDD transfer speed


We know SSD is so much faster than traditional HDD and there's no doubt about that, but in actual use it depends on cases. I was copying 100GB of files from a uSD to a Samsung T5 drive, and I can barely get 9MB/s, but the same thing with a 7200RPM HDD via USB adapter and a hub I can easily get 20MB/s. It was not the HDD caching as it sustains the speed and keep rising, was it the USB cable I used !?
 
Old 12-11-2024, 12:15 PM   #2
enorbet
LQ Guru
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 5,046

Rep: Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673
I've read that some cables, especially those with one end USB-A and the other, USB-C have issues in that not only do cables vary but the C end orientation has profound effects. If you use any cables of this sort try flipping the C end over.
 
Old 12-11-2024, 02:11 PM   #3
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 6,055

Rep: Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855
Quote:
Originally Posted by joboy View Post
We know SSD is so much faster than traditional HDD and there's no doubt about that, but in actual use it depends on cases. I was copying 100GB of files from a uSD to a Samsung T5 drive, and I can barely get 9MB/s, but the same thing with a 7200RPM HDD via USB adapter and a hub I can easily get 20MB/s. It was not the HDD caching as it sustains the speed and keep rising, was it the USB cable I used !?
The total speed of the transfer will depend upon teh drives, the drivers, the connections/controller, and how well the buffer space can stage in memory (with depends upon total free RAM and the CPU). USB4 is FAST, but USB3 has multiple speed levels depending upon other factors. (All USB3 is NOT the same!) USB2 is much slower, and USB1 should never be encountered. Proper SATA with a single device per channel is very fast, but ANY controller slows down if it has multiple devices fighting for bandwidth.

(The fastest enterprise F-W SCSI controllers I have ever used maxed out with 5 active drives. They could handle 15 easily, but any more than 5 SSDs and the total speed dropped.They could handle 12 rotating rust drives with no slowdown, but less maximum speed.)

The speed of your transfer will be the speed of the TIGHTEST bottleneck in the data flow path.

Last edited by wpeckham; 12-11-2024 at 02:13 PM.
 
Old 12-11-2024, 08:14 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,057
Blog Entries: 4

Rep: Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068
Physically speaking, a solid-state drive has none of the "mechanical latencies" that are associated with disks. The first, "seek time," is the time required to move the read/write mechanism to the proper track. The second, "rotational latency," is the time required for the desired piece of data to spin underneath it. Although these delays are measured in "mere milliseconds," they are significant.

I still have a box of unrecoverable "spinning platter" drives which contain data that I have now forever lost. It is for this reason alone that I no longer use that kind of drive. (And, why I now make multiple copies of my SSD's. Just in case.)
 
Old 12-11-2024, 08:37 PM   #5
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 593

Rep: Reputation: 211Reputation: 211Reputation: 211
Quote:
I still have a box of unrecoverable "spinning platter" drives which contain data that I have now forever lost. It is for this reason alone that I no longer use that kind of drive. (And, why I now make multiple copies of my SSD's. Just in case.)
Lesson learned then . Which reminds me. It is coming up on the time to do the 'yearly' backup and store off site.

On topic, it is hard to say where the problem lies for writing. Caches, cable, machine, port being used (like a 2.0 USB port), etc. Most times read time is the most important item when it comes to storage devices. Unless it is a backup in which case read/write time isn't so important.
 
Old 12-12-2024, 12:29 AM   #6
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 723

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by enorbet View Post
I've read that some cables, especially those with one end USB-A and the other, USB-C have issues in that not only do cables vary but the C end orientation has profound effects. If you use any cables of this sort try flipping the C end over.

Yeah, I found some such cables can't do quick charge until flipped !
 
Old 12-12-2024, 12:46 AM   #7
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 723

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by sundialsvcs View Post
... I still have a box of unrecoverable "spinning platter" drives which contain data that I have now forever lost. It is for this reason alone that I no longer use that kind of drive. (And, why I now make multiple copies of my SSD's. Just in case.)

As far as my experience goes, mechanical drives are more 'reliable' than SSD in a way, due to the use of magnetic media instead of electronics components. I too got many bad spinning drives, most of them are noisy clicking due to the head can't 'home', or some other mechanical problem. On most of the bad spinning drives I still managed to partially recover the data after retry reading, but on the SSD or flash drive, depends on which part it failed it may total lost. I've got both an early Sandisk flash and a SSD that randomly 'disappear', so that I would not go with too high capacity on one drive, and make multiple backup as well.
 
Old 12-12-2024, 01:07 AM   #8
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 723

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by rclark View Post
Lesson learned then . Which reminds me. It is coming up on the time to do the 'yearly' backup and store off site.

On topic, it is hard to say where the problem lies for writing. Caches, cable, machine, port being used (like a 2.0 USB port), etc. Most times read time is the most important item when it comes to storage devices. Unless it is a backup in which case read/write time isn't so important.
... I was backing up the cell phone uSD via card reader to a SSD, then retrying with a HDD, on a slow i3 Debian (Mint) box. I believed it wasn't caching to make the HDD do better, as the faster transfer speed lasted for over an hour, not just a burst. I also found that heat also affects the transfer speed, cooling down the HDD can indeed speed up the transfer. And 20MB/s is really nothing, in ideal condition USB 2.0 can go up to 480Mb/s or 60MB/s. Whenever I go buy a USB drive, the sales people will give me the one that supports the fastest USB spec., but little do they know, what really made a fast drive wasn't the USB spec. it supported, but the design of the flash memory, a 12 lanes highway will not make a snail run faster you see what I mean !
 
Old 12-12-2024, 08:04 AM   #9
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,057
Blog Entries: 4

Rep: Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068Reputation: 4068
It's important to distinguish between "memory sticks" and true "SSD drives." Memory sticks are based on "flash" technology, which causes them to be very slow to write information. However, their true purpose is to preserve information for future reading, with no power consumption and minimal cost.

The good news is: "'true' SSD technology is now 'dirt cheap.'" (And: "youuuge!")

(If you actually need "removability," the memory-cards used in digital cameras are also available, with appropriate USB interface devices. But the memory units are very small – heh, "no surprise there" – and thus very easily lost.)

Last edited by sundialsvcs; 12-12-2024 at 08:07 AM.
 
Old 12-12-2024, 09:42 AM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,459

Rep: Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216
FYI both memory sticks and SSD drives use flash memory. I am not sure what is true SSD technology... The cheap memory sticks might use older EEPROM technology but I would assume that USB 3 memory sticks use NAND as well. For T5 max transfer speeds you need to be plugged into a USB 3 port and have UASP mode enabled.

A quick search found a number of threads reporting T5 slow speeds and one thread where replacing the cable helped for awhile. One thread only showed 22MB/s when connected to a USB 2 bus.
 
Old 12-12-2024, 03:07 PM   #11
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 6,055

Rep: Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855
Quote:
Originally Posted by sundialsvcs View Post
I still have a box of unrecoverable "spinning platter" drives which contain data that I have now forever lost. It is for this reason alone that I no longer use that kind of drive. (And, why I now make multiple copies of my SSD's. Just in case.)
There is no DEVICE that is the solution for that. BACKUPS are the solution for that. Multiple copies is one form of backup.
 
Old 12-12-2024, 05:34 PM   #12
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,199
Blog Entries: 2

Rep: Reputation: 280Reputation: 280Reputation: 280
In my experience, when an HDD is dying, there will be signs. If you act soon enough, you should be able to recover most of, if not all of the data.

SSDs might be overall more reliable than HDDs, but when they're ready to die, they'll go without saying goodbye.


If your USB devices are bus-powered, use separate USB ports or a powered hub. Some devices will still work, but slower if they don't get enough power.
 
Old 12-13-2024, 12:44 AM   #13
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 723

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by michaelk View Post
FYI both memory sticks and SSD drives use flash memory. I am not sure what is true SSD technology...
Yeah that's what I said, depends on the type of flash in use and the bus design to result in different speed...
 
Old 12-13-2024, 12:46 AM   #14
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 723

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by replica9000 View Post
...
If your USB devices are bus-powered, use separate USB ports or a powered hub. Some devices will still work, but slower if they don't get enough power.
Right, I should have used separate power on the hub to get better speed.
 
Old 12-13-2024, 12:49 AM   #15
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 723

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by replica9000 View Post
In my experience, when an HDD is dying, there will be signs. If you act soon enough, you should be able to recover most of, if not all of the data.

SSDs might be overall more reliable than HDDs, but when they're ready to die, they'll go without saying goodbye...
Very true, especial early types of SSDs are not reliable enough to replace HDD. I got an early 60G one that suddenly 'disappeared' without saying goodbye !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Way to find out CPU speed and hard disk transfer speed? stf92 General 5 09-04-2017 10:38 AM
Install Linux in Toshiba u940 series with 32gb ssd and 750gb hdd I would like to have boot code in ssd only cvkchary Linux - Laptop and Netbook 4 08-31-2016 05:26 PM
RAID10 write speed decreased to normal SSD speed after rebuilding the array. mke2k Linux - Server 2 07-11-2014 05:15 AM
[SOLVED] Using both SSD/HDD for partitioning or is it better to just get external HDD? Switch7 Linux - Hardware 16 10-26-2009 01:23 PM
NIC transfer speed fast... receive speed slow landev Linux - Networking 5 11-07-2006 04:09 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 03:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration