I’ve been using some cheap flash drives for things like installing OSs and the like, but now I’ve picked up a Dell Wyse 3040 system to play with which only has 8gb of storage. So I’m installing the OS onto a flash drive permanently (don’t worry, just for messing with, nothing of value will be lost if/when the drive craps out).
However, the performance of my cheap flash drive is terrible and installing packages & transferring files is so slow. My question is: Would getting a better drive make a meaningful difference here? If so, anyone have some recommendations of drives they like that are fast?
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.
Rules:
Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
For running an OS off a USB drive, I would recommend getting a USB to M.2 enclosure and putting an M.2 drive in it. This will give you better performance than any flash drive out there. The memory they put into normal flash drives is just slow slow slow for the use case of an OS.
M.2 Enclosure
M.2 Drive to go in it
Now, the only negative there is that is kinda expensive. If you really want to stick to a normal USB drive, maybe try this one out. But I would really like to stress that running an OS off a normal USB drive is going to be slow.
removed by mod
Yeah, I have one of those and it’s great but I need very little storage for this system (64g max) so I didn’t feel like it made sense in this case.
You could go with a 2.5in SSD in a USB enclosure. I think OP was just suggesting this as the highest performance option.
The M.2 enclosure I have gets extremely hot during periods of extended use like installing an OS or transferring large amounts of data. Not sure if it’s a problem with other enclosures, but it’s something to consider.
You can always grab a USB 3.0 disk case + NVME drive or 2.5 SSD, those will give you better performance for sure. Don’t buy pre-made drives, they’re usually slower than just getting a case and picking a desktop drive.
I’m curious, the current flash drive you are using… does it allow paging files? I would figure flash media would be marked portable to the OS and not allow page files to be used.
How would I check that?
SanDisk usb-keys work.
You really want to use the thing for read-only, though, if you can:
the writes it takes to kill some portion of a filesystem, vs the writes you get before corrupting things, on a USB driver, don’t line-up.
Use NVMe as your 1st-choice for storage ( future purchases, obviously ), the fastest you can get, and be stunned by how much faster the same motherboard is, with superfast OS storage…
I’d stick /home, not /usr, on the USB.
Yes, getting a better flash drive will get you better performance. Make sure you get a good USB 3 drive, and plug it into a USB 3 port. I’ve always had good experiences with SanDisk drives. Avoid the off brand drives. They’re often really bad or even fake.