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?

BombOmOm
link
fedilink
English
10
edit-2
5M

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.

@spez_@lemmy.world
link
fedilink
English
25M

removed by mod

@nopersonalspace@lemmy.world
creator
link
fedilink
English
25M

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.

@Cort@lemmy.world
link
fedilink
English
35M

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.

@TCB13@lemmy.world
link
fedilink
English
1
edit-2
5M

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.

@Peffse@lemmy.world
link
fedilink
English
15M

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.

@nopersonalspace@lemmy.world
creator
link
fedilink
English
15M

How would I check that?

@Paragone@lemmy.world
link
fedilink
English
-15M

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.

@hperrin@lemmy.world
link
fedilink
English
45M

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.

Create a post

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:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 30 users / day
  • 79 users / week
  • 215 users / month
  • 844 users / 6 months
  • 1 subscriber
  • 1.42K Posts
  • 8.13K Comments
  • Modlog