Flashdrives die sooner than good quality SSDs, but in general are at least a bit more resilient than microSD cards. Even I’m considering starting to use a small USB pen as extra swap space for my Raspberry Pi 3; for what they cost, even if they will eventually break, they are good value.
Why is it slow for you? Here are some things to consider:
-
USB speeds: USB as a protocol is generally slower than SATA, even version 3. If your drive or your port are 2.0, then you will deal with a theoretical max bandwidth of 480 mbps (but the practical one is much lower!). If they are 3.x, check that the flashdrive makes proper contact in the port with not only the main big 4 pins, but also the small pins hidden deeper inside the connector (I have no idea how on Linux tho :/); most USB A 3.0 connectors and ports have issues connecting together for some reason, and it may happen that the SuperSpeed pins can’t get close and thus the connection will degrade to 2.0 speeds.
-
Cheap chips (pun intended): Cheap USB pen drives nowadays use both low-quality controller chips and memory chips. From experience I can say that some inexpensive modern flashdrives that are sold as USB 3.0, and get connected as 3.0 to an host system, actually work at around 2.0 speeds. Why? Sometimes it’s because low-quality memory chips are used, that won’t work properly if accessed with high speeds, and thus the controller chips in the drives are programmed to limit read/write speeds… some other times, the controller chip is also crappy, and transfers slow down because it overheats. Also, bandwidth is not the only thing that suffers: on cheap flashdrives you can experience high latency.
Both limited bandwidth and high latency impact a lot when you use any storage medium for OS or program storage, or even swap memory. If you want some decent but easy to read statistics to test those values (with graphs too), install GNOME Disks and use its disk benchmark tool. You can verify how well your USB pen drive performs, and even compare it to your SSD.
As a side note, from most of my flashdrives (including one which connects via USB 3.0) I always get no more than 15 MB/s read + 5 MB/s write… that’s a practical speed of 160 mbps, a mere 1/3 of the theoretical for 2.0.
On the Pi I already use an HDD for data and most of my programs, plus some megabytes (64 today, yesterday it was 32) of swap in addition to the 128 MB I have on my slow microSD, (which apart from that only holds the base system, really).
Considering that an SSD on the Pi3 is wasteful due to the USB 2.0 limit, that I don’t have any spare, and that the smallest SSD I can find (128 GB) is still at least twice the cost of my 320 GB HDD, guess what 2.5" external drive I’ll keep as main currently.
System and programs aren’t running slow right now, so, since I need more swap, I could try adding some more on the HDD, and only then actually try pendrives, just for 1 o 2 GB of swap at max. I can add them, since I have some spare and they are cheap to get anyways.
But yeah, if I had USB 3.0 on a SBC with 1 GB of RAM, I would get the SSD.