This is a bit sad to say, but I found a 5-year old bug in USBHDFSD, which might explain the strange, low performance when reading small amounts of data, that we've been getting for a long time.

On the bright side, it doesn't put anybody's data at risk, just that the cache has been more or less useless since the day the mistake was made. Due to this mistake, the cache could not evict the least recently used block. In fact, it sometimes selected a recently used block, causing cache thrashing.
All because of this little boi that spawned in commit
53385fb, made in late 2014:
As for why this extra "unsigned" became a problem, the explanation goes
deep, deep within the C standard, to what happens when we assign a signed value to an unsigned variable and interpret it. @_@
Some numbers, when deleting a 128MB file on my 4GB thumb drive (more hits = reduced reading/writing from the USB device):
Bugged:
Fixed:
EDIT: as USBHDFSD will only use the cache for reading & writing very small amounts of data, "small amounts" refers to 1 <= n <= sector size (typ. 512 bytes). It's also used for filesystem-level operations, hence why its problems haven't really been too obvious (until we delete/rename files).
So in the case of POPS, perhaps it doesn't really matter. But still good FYI, I suppose.