Slow download, fast upload

ltilley

New Member
Jan 15, 2018
3
0
1
35
Hi,

I recently set up my home server with proxmox to consolidate a couple different machines into one. I set up openmediavault and passed through a couple disks and noticed that when I was downloading from SMB shares.

When I did some troubleshooting I found that I was only getting 42 MB/s downloading from the server, but 130 MB/s when uploading. I dug a little further and found that this is true when I download/upload both to the OMV virtual machine as well as directly to the proxmox server both with SMB as well as trying scp.

what I can't figure out is that when I run iperf it reads ~930mbps connecting to both the promxox server directly and connecting to omv. Thinking it might be a disk issue I double checked disk access speeds directly on the proxmox server and was getting 150MB/s read/write consistently.

where should I start to troubleshoot this further?
 
Last edited:
So it turns out that I assumed that there was no way my laptop (the client) could be the bottleneck since it has an ssd and my server has spinning disks. After further investigation, I found out that TRIM had been turned off at some point on my laptop which had slowed overall write performance to 50 MB/s (which somehow I hadn't noticed in day to day use of my laptop). Enabled TRIM on the drive so its write speed is back up to 200 MB/s and now I can easily get 100+ MB/s up and down on both SMB and scp