Author Topic: why is sata faster than usb3  (Read 2399 times)

0 Members and 1 Guest are viewing this topic.

Offline tp4tissue

  • * Destiny Supporter
  • Thread Starter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
why is sata faster than usb3
« on: Sun, 01 January 2023, 21:12:04 »
Have yall noticed spin HDDs run ~ 270MB/s on sata, but only ~210MB/s on usb3.0  external ?

Even though both ports should have more then enough bandwidth to cover the drive's peak



Offline Coreda

  • Posts: 776
Re: why is sata faster than usb3
« Reply #1 on: Mon, 02 January 2023, 08:27:31 »
What kind of drives are you running to get 270MBps sequential speeds consistently?

I have some NAS-grade CMR 7200RPM drives that as per their specifications top out at 238MBps (which checks out with what I've seen over both SATA and USB depending on how I've had them connected). Though I feel like I've seen them creep a little above at times.

Offline tp4tissue

  • * Destiny Supporter
  • Thread Starter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Re: why is sata faster than usb3
« Reply #2 on: Mon, 02 January 2023, 09:08:19 »
wd 7200 redpro 18tb

it's not 270 across the whole disk, only the first 4-5TB. but it doesn't hit 270 at all on usb3

Offline Coreda

  • Posts: 776
Re: why is sata faster than usb3
« Reply #3 on: Mon, 02 January 2023, 09:42:38 »
wd 7200 redpro 18tb

it's not 270 across the whole disk, only the first 4-5TB. but it doesn't hit 270 at all on usb3

Maybe it's the USB controller being used. Quality can vary. I use AsMedia controllers for USB and haven't had issues with speed but then my Red Pros aren't the same capacity so haven't seen those much higher speeds to begin with.

Offline tp4tissue

  • * Destiny Supporter
  • Thread Starter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Re: why is sata faster than usb3
« Reply #4 on: Mon, 02 January 2023, 11:31:27 »
hrrrm, possible, would've thought 2020 controllers wouldn't have a limit on ubiquitous usb3.

Offline Leslieann

  • * Elevated Elder
  • Posts: 4519
Re: why is sata faster than usb3
« Reply #5 on: Mon, 02 January 2023, 12:13:00 »
Depending on USB version, chipset overhead can be as high as 20% (3-20%*) and if it's really old it can be single direction only (half duplex)**.

You have to go from usb to sata (3-20%), find the data, then convert back to usb (another 3-20%) and all of this depends on the sata implementation on that chipset. The SATA protocol itself is pretty well regulated, but how you get to that point is entirely open and USB is wiiiiide open (and manufacturers Lie). Don't forget drivers and cables also have an influence as does data size and platter location.

If you only lost 10% running sata over USB  versus direct, I'd be impressed.

* USB 3.0 is 20% overhead, 3.1 can be as low as  3%.
** USB 2.0 is only half duplex, USB 3.0 is full duplex but only if the drivers (for the USB device, not the chipset) are working properly.

« Last Edit: Mon, 02 January 2023, 12:16:44 by Leslieann »
Novelkeys NK65AE w/62g Zilents/39g springs
More
62g Zilents/lubed/Novelkeys 39g springs, HK Gaming Thick PBT caps, Netdot Gen10 magnetic cable, pic
| Filco MJ2 L.E. Vortex Case, Jailhouse Blues, heavily customized
More
Vortex case squared up/blasted finish removed/custom feet/paint/winkey blockoff plate, HID Liberator, stainless steel universal plate, 3d printed adapters, Type C, Netdot Gen10 magnetic cable, foam sound dampened, HK Gaming Thick PBT caps (o-ringed), Cherry Jailhouse Blues w/lubed/clipped Cherry light springs, 40g actuation
| GMMK TKL
More
w/ Kailh Purple Pros/lubed/Novelkeys 39g springs, HK Gaming Thick PBT caps, Netdot Gen10 Magnetic cable
| PF65 3d printed 65% w/LCD and hot swap
More
Box Jades, Interchangeable trim, mini lcd, QMK, underglow, HK Gaming Thick PBT caps, O-rings, Netdot Gen10 magnetic cable, in progress link
| Magicforce 68
More
MF68 pcb, Outemu Blues, in progress
| YMDK75 Jail Housed Gateron Blues
More
J-spacers, YMDK Thick PBT, O-rings, SIP sockets
| KBT Race S L.E.
More
Ergo Clears, custom WASD caps
| Das Pro
More
Costar model with browns
| GH60
More
Cherry Blacks, custom 3d printed case
| Logitech Illumininated | IBM Model M (x2)
Definitive Omron Guide. | 3d printed Keyboard FAQ/Discussion

Offline tp4tissue

  • * Destiny Supporter
  • Thread Starter
  • Posts: 13565
  • Location: Official Geekhack Public Defender..
  • OmniExpert of: Rice, Top-Ramen, Ergodox, n Females
Re: why is sata faster than usb3
« Reply #6 on: Mon, 02 January 2023, 13:57:18 »
but the usb3 should be 500mb/s no ? even half should be higher.

Offline Leslieann

  • * Elevated Elder
  • Posts: 4519
Re: why is sata faster than usb3
« Reply #7 on: Tue, 03 January 2023, 10:56:40 »
Per wikipedia....
"When flow control, packet framing and protocol overhead are considered, it is realistic for 400 MB/s (3.2 Gbit/s) or more to transmit to an application."

500 is peak, without bit verification and such.
Novelkeys NK65AE w/62g Zilents/39g springs
More
62g Zilents/lubed/Novelkeys 39g springs, HK Gaming Thick PBT caps, Netdot Gen10 magnetic cable, pic
| Filco MJ2 L.E. Vortex Case, Jailhouse Blues, heavily customized
More
Vortex case squared up/blasted finish removed/custom feet/paint/winkey blockoff plate, HID Liberator, stainless steel universal plate, 3d printed adapters, Type C, Netdot Gen10 magnetic cable, foam sound dampened, HK Gaming Thick PBT caps (o-ringed), Cherry Jailhouse Blues w/lubed/clipped Cherry light springs, 40g actuation
| GMMK TKL
More
w/ Kailh Purple Pros/lubed/Novelkeys 39g springs, HK Gaming Thick PBT caps, Netdot Gen10 Magnetic cable
| PF65 3d printed 65% w/LCD and hot swap
More
Box Jades, Interchangeable trim, mini lcd, QMK, underglow, HK Gaming Thick PBT caps, O-rings, Netdot Gen10 magnetic cable, in progress link
| Magicforce 68
More
MF68 pcb, Outemu Blues, in progress
| YMDK75 Jail Housed Gateron Blues
More
J-spacers, YMDK Thick PBT, O-rings, SIP sockets
| KBT Race S L.E.
More
Ergo Clears, custom WASD caps
| Das Pro
More
Costar model with browns
| GH60
More
Cherry Blacks, custom 3d printed case
| Logitech Illumininated | IBM Model M (x2)
Definitive Omron Guide. | 3d printed Keyboard FAQ/Discussion

Offline PlayBox

  • Posts: 199
Re: why is sata faster than usb3
« Reply #8 on: Tue, 03 January 2023, 15:53:16 »
i think i had the actual usb speeds somewhere in my handbook but i can't check at 11pm
propably sent from my amazon kindle 10th gen

Offline PlayBox

  • Posts: 199
Re: why is sata faster than usb3
« Reply #9 on: Tue, 03 January 2023, 15:57:38 »
well i did check an usb 2 is theoretically 60MB/s but is 30MB/s write and 42MB/s read usb 3 is 600MB/s theoretically and indeed 400MB/s in reality
propably sent from my amazon kindle 10th gen