-
Notifications
You must be signed in to change notification settings - Fork 196
Description
Reddit user /u/bdpna reports that PicoShare is taking 10 hours to upload a 7 GB file to a well-resourced server (Supermicro 4u, dual XEON CPU, 64 GB RAM). PicoShare doesn't seem to be pegging the CPU or RAM.
They tried increasing the buffer size of SQLite data entries, but that had negligible or negative impact on performance.
Other ideas:
- Run Go profiling tools during a large file upload (similar to what I did for memory exhaustion)
- Try tuning SQLite via different pragmas (full list)
From another year of using PicoShare on a 1x shared CPU, 256 MB RAM Fly.io instance, PicoShare seems to perform well on files below 1 GB. Above that, it sometimes crashes when receiving or serving those files.
Update (2024-03-16)
As a test to see whether there was an inherent size limit in PicoShare, I spun up a Scaleway PRO2-L (32 CPU / 128 GB RAM), and I was able to upload an 11 GB file fine:
I'm sure there are ways to make PicoShare more efficient so that larger files work on smaller servers, but PicoShare demonstrably supports files up to 11 GB.
Update (2026-02-01)
I ran some tests using AI, but they were inconclusive. I can run a new suite when I have time:
