2

I installed ubuntu 22.10 on my USB stick and then boot it, but it seems to be very slow. I use USB 3.0 and the read/write speed is more than 100MB/s, however, the system boot very slow and when running apt install or apt remove, it seems to be very slow too.

Then I tried to create a VMWare machine with the VMDK file on the USB stick and reinstall ubuntu on VMware, it runs much faster than installing the full system on USB, it is so strange. Is that the Linux USB 3.0 driver slower than windows?

I also find this: What actually slows down Ubuntu running from USB stick

Rishon_JR
  • 1,028
untitled
  • 131

1 Answers1

1

I am now fixed this problem after changing a lot of parms in this post: https://unix.stackexchange.com/questions/30286/can-i-configure-my-linux-system-for-more-aggressive-file-system-caching

Now running apt install/remove is super fast. I am not sure which parm work. I will try later. I now find it, I use zfs filesystem, when I set sync to disabled, it seens to be fast:

zfs set sync=disabled rpool
reboot

However, I don't know how to deal with ext4. On ext4 can mount with nobarrier options, and it will be fast.

untitled
  • 131