USB Hub V2.1

Discussion of official MiSTer Project addons. (https://github.com/MiSTer-devel/Hardware_MiSTer)


User avatar
adamchevy
Posts: 10
Joined: Thu Jul 07, 2022 8:48 pm
Has thanked: 4 times

USB Hub V2.1

Unread post by adamchevy »

I'm trying to find some documentation on the speed of the USB on this hub. What USB revision is it using? I'm generally curious because of the Sata hard drive adapter I recently purchased.

Thanks!
MostroW
Posts: 344
Joined: Tue Aug 18, 2020 3:32 pm
Has thanked: 150 times
Been thanked: 57 times

Re: USB Hub V2.1

Unread post by MostroW »

Assuming it has the FE2.1 controller it's USB2 so in theory 480Mbp/s (60MB/s).
C-R-T
Posts: 205
Joined: Wed Mar 03, 2021 5:10 pm
Has thanked: 21 times
Been thanked: 92 times

Re: USB Hub V2.1

Unread post by C-R-T »

The DE10 nano itself is the bottle neck here, with its usb 2.0. You’ll never get anything faster.
User avatar
adamchevy
Posts: 10
Joined: Thu Jul 07, 2022 8:48 pm
Has thanked: 4 times

Re: USB Hub V2.1

Unread post by adamchevy »

Thanks for your help. I guess the Sata enclosure I just purchased will be pretty slow. That’s ok atleast I can cheaply get some storage.

https://www.ebay.com/itm/154987031909
MostroW
Posts: 344
Joined: Tue Aug 18, 2020 3:32 pm
Has thanked: 150 times
Been thanked: 57 times

Re: USB Hub V2.1

Unread post by MostroW »

i'm using an external ssd with a usb3 storage adapter but the throughput and seek times are more than enough for the cores i believe.
Malor
Top Contributor
Posts: 860
Joined: Wed Feb 09, 2022 11:50 pm
Has thanked: 64 times
Been thanked: 195 times

Re: USB Hub V2.1

Unread post by Malor »

The Ethernet port has more bandwidth than the USB ports do, so a network share can be the fastest overall option.
MostroW
Posts: 344
Joined: Tue Aug 18, 2020 3:32 pm
Has thanked: 150 times
Been thanked: 57 times

Re: USB Hub V2.1

Unread post by MostroW »

That would mean you would need to spin up and potentially keep an external device powered on 24/7 just to service the MiSTer with a high availability option for systems that didn't even need this?

To each his / her own i guess but to fire up a NAS just for this is not really efficient in my humble opinion, but if you've got one running already then it could be a option.

In short currently there's no system besides maybe the 486 core that could benefit from these higher potential speeds?
akeley
Top Contributor
Posts: 1441
Joined: Mon May 25, 2020 7:54 pm
Has thanked: 497 times
Been thanked: 467 times

Re: USB Hub V2.1

Unread post by akeley »

MostroW wrote: Fri Jul 08, 2022 12:37 pm That would mean you would need to spin up and potentially keep an external device powered on 24/7 just to service the MiSTer with a high availability option for systems that didn't even need this?
That's the reason I eventually switched to an external hdd for the bigger collections (CDs and vhds). I did consider the Ethernet but that would mean maintaining another PC or some other thing, and it's just not worth it imo, though, as you say, if somebody already has one set up then of course it makes sense.

One thing to remember when going the hdd route is to make sure it's formatted in FAT32, otherwise the write speeds will be very slow.

CRT SCR$ Project - building a collection of high-quality photos of CRT displays
CRT ART Books - retro-gaming books with authentic CRT photos

MostroW
Posts: 344
Joined: Tue Aug 18, 2020 3:32 pm
Has thanked: 150 times
Been thanked: 57 times

Re: USB Hub V2.1

Unread post by MostroW »

using exFAT here, haven't really noticed anything out of the ordinary as of yet, but then again i'm not using Amiga or 486 core at this point so it might be an existing "non existant" problem for me. (weirdly phrased i'm aware. ;) )
akeley
Top Contributor
Posts: 1441
Joined: Mon May 25, 2020 7:54 pm
Has thanked: 497 times
Been thanked: 467 times

Re: USB Hub V2.1

Unread post by akeley »

Yeah, read speeds were fine when I was on exFAT (or maybe it was NTFS), or at least the difference too small for me to notice. You can probably even use Amiga & ao486 with some existing collections too (like MegaAGS) and not be affected by this. I just like to install my own games, and the write speeds were unbearable for that.

CRT SCR$ Project - building a collection of high-quality photos of CRT displays
CRT ART Books - retro-gaming books with authentic CRT photos

C-R-T
Posts: 205
Joined: Wed Mar 03, 2021 5:10 pm
Has thanked: 21 times
Been thanked: 92 times

Re: USB Hub V2.1

Unread post by C-R-T »

Why would you want a hard drive, anyway? I put a 256 GB micro SD card in my Mister and it can fit a lot of stuff. It was really cheap, too. Even the 512 GB memory cards are quite reasonable.

I transfer all my stuff through the network, that way there's no plugging and unplugging the card.
akeley
Top Contributor
Posts: 1441
Joined: Mon May 25, 2020 7:54 pm
Has thanked: 497 times
Been thanked: 467 times

Re: USB Hub V2.1

Unread post by akeley »

If you look at the CD-media cores + ao486, the complete collections count in terabytes, and transferring big files over WiFi is rather slow. So if you want to try new CD games or move big vhds back and forth it's not ideal. To use Ethernet I'd have to have an extra machine running (my main PC is used for online work so I'm not fiddling with network on it) which would be overkill imo.

Hence HDD being the best solution for me. I bought 2 longer USB-HDD cables for this setup and now the HDD resides on my desk, so I just have to swap the plugs whenever I want to transfer big stuff.

CRT SCR$ Project - building a collection of high-quality photos of CRT displays
CRT ART Books - retro-gaming books with authentic CRT photos

User avatar
aberu
Core Developer
Posts: 1192
Joined: Tue Jun 09, 2020 8:34 pm
Location: Longmont, CO
Has thanked: 247 times
Been thanked: 411 times
Contact:

Re: USB Hub V2.1

Unread post by aberu »

adamchevy wrote: Fri Jul 08, 2022 3:57 am Thanks for your help. I guess the Sata enclosure I just purchased will be pretty slow. That’s ok atleast I can cheaply get some storage.

https://www.ebay.com/itm/154987031909
Yes USB SATA is going to be slower than the MicroSD itself, and is as slow as WiFi to a CIFS share. The fastest speed is Ethernet to a CIFS share.

https://misteraddons.com/blogs/news/mis ... d-shootout

But yes, your situation may vary, ethernet isn't always the solution, and in general the slower read times won't really impact gameplay at all, typically.
Attachments
Read_and_Write_Performance_per_Device_Type_in_MB_s_-2_600x600.jpg
Read_and_Write_Performance_per_Device_Type_in_MB_s_-2_600x600.jpg (33.43 KiB) Viewed 2563 times
birdybro~
Malor
Top Contributor
Posts: 860
Joined: Wed Feb 09, 2022 11:50 pm
Has thanked: 64 times
Been thanked: 195 times

Re: USB Hub V2.1

Unread post by Malor »

MostroW wrote: Fri Jul 08, 2022 12:37 pm That would mean you would need to spin up and potentially keep an external device powered on 24/7 just to service the MiSTer with a high availability option for systems that didn't even need this?

To each his / her own i guess but to fire up a NAS just for this is not really efficient in my humble opinion, but if you've got one running already then it could be a option.

In short currently there's no system besides maybe the 486 core that could benefit from these higher potential speeds?
I'm running a ZFS-based NAS anyway, so adding a share for the Mister just took a few minutes. The real reason I'm running it there is for the reliability, since SD cards are notoriously fragile. Speed is a nice secondary benefit, and then I'm also doing hourly/daily/weekly/monthly checkpointing on all the files, so that save files and save states end up with lots of automatic backups.

It's a pretty sweet setup. I really like ZFS. But you'd want a dedicated small computer and at least a pair of mirrored drives to do this, so particularly if you live where power is expensive, this might be a wildly unrealistic scenario, creating more problems than it solves.
Post Reply