What is the performance difference between live booting from a USB pen, and installed on an eMMC drive?

I am not quite ready to switch to a GNU/Linux yet, but I have live booted Linux Mint Xfce yesterday, with most things working, but much worse for launching times, etc. Would it be any different if I installed it on my eMMC drive? Since they are both based on NAND flash memory, I am clueless about it.

21 points · 10 comments · view on lemmy.world

10 Comments

MagicShel@lemmy.zip · 13 pts · 338d (4 replies)

Probably depends on the speed of your usb pen and port. If you know for a fact that everything USB side is 3.1, USB will be faster. Otherwise eMMC will be faster. If everything is USB3.1 gen 2, USB looks to be around 3x as fast. Gen 1 is about 25% faster.

What I found in a quick search:

  • eMMC: 400MB/s
  • USB 3.1 gen 1: 500MB/s
  • USB 3.1 gen 2: 1250MB/s

If any part of the USB chain is 2 or lower, it's slower.

fuckwit_mcbumcrumble@lemmy.dbzer0.com · 14 pts · 338d

That’s still theoretical speeds, I doubt any drive will be that fast.

Device ships with good emmc storage, it’s all pretty dire. The surface go my friend has got about 150MBps writes and 250 reads. That’s what I’d expect from a “good” emmc machine. I bought some $100 Walmart special a year ago and it gets like maybe 150 reads and 50 writes. Hard drives are fast than this.

Some USB drives are actually pretty good. I have a drive that sustains over 350MBps reads and 150 writes, and bursts almost up to full 400MBps.

That that drive is the exception, not the norm. Those micro center flash drives with white labels? You may get 1 gig of writes in before they crater to 20MBps or less. And the newer black ones? I’ve seen single digit MBps transfers. Putting an OS on there is suffering. Shit just writing the iso on there is bad.

Emmc will be consistently mediocre. If OP had an EMMC laptop then I’m going to guess they didn’t pay extra for a fancy flash drive so the experience is going to be DIRE. If you want to play with the live environment it’s fine.

traceur201@piefed.social · 3 pts · 338d

I suspect the usb storage has a much worse or at least much more variable latency profile. Control frames on usb3 are a whole .125ms apart

ClassyHatter@sopuli.xyz · 3 pts · 338d (1 reply)

And the easiest way to figure out the USB version is to look at the USB port and connector. If there is white or black plastic piece inside of them, it’s USB 1 and 2 respectively. If the plastic part is blue, red or some other color, it’s USB 3 or better.

Jumuta@sh.itjust.works · 3 pts · 338d

have you seen how atrocious the flash chips put on removable media is

sga@piefed.social · 9 pts · 338d (2 replies)
[ removed ]
thatonecoder@lemmy.ca · 1 pts · 338d (1 reply)

I have an Intel Celeron N3060. Is this the main reason for the bad loading times in the live boots?

sga@piefed.social · 2 pts · 338d
[ removed ]
frongt@lemmy.zip · 5 pts · 338d

Installed will be faster.

But you should note that emmc systems are not intended for heavy use. They have a much shorter wearout lifespan than SSDs. If you or your OS do a lot of writing to disk, you might end up with a failure.

Just be aware of that possibility, and have backups.

sylver_dragon@lemmy.world · 3 pts · 338d

I know that, during my own move from Windows to Linux, I found that the USB drive tended to lag under heavy read/write operations. I did not experienced that with Linux directly loaded on a SATA SSD. I also had some issues dealing with my storage drive (NVMe SSD) still using an NTFS file system. Once I went full Linux and ext4, it's been nothing but smooth sailing.

As @MagicShel@lemmy.zip pointed out, performance will depend heavily on the generation of USB device and port. I was using a USB 3.1 device and a USB 3.1 port (no idea on the generation). So, speeds were ok-ish. By comparison, SATA 2 can have a transfer rate of 2 GB/s. And while the SSD itself may not have saturated that bandwidth, it almost certainly blew the transfer rate of my USB device out of the water. When I later upgraded to an NVMe drive, things just got better.

Overall, load times from the USB drive is the one place I wouldn't trust testing Linux on USB. It's going to be slower and have lag compared to an SSD. Read/Write performance should be comparable to Windows. Though, taking the precaution of either dual booting or backing up your Windows install can certainly make sense to test things out.

cosmicrookie@lemmy.world · 1 pts · 338d

For me, even if it wasn't better, I'd be willing to sacrifice launching times, in order to get rid of windows

QuadDamage@kbin.earth · 1 pts · 338d

It would be faster, but note that eMMC is the worst kind of solid state drive out there and you should replace it as soon as possible, or at least don't store anything critical on it.