sebbacon / home-automation

5 stars 0 forks source link

Check performance of Samba share #9

Open sebbacon opened 5 years ago

sebbacon commented 5 years ago

It's a spinning platter disk over USB over SMB over wifi. It would be slow, but it feels painful. Check.

sebbacon commented 5 years ago

Writes

When copying a large file to the SD card (i.e. not the disk) over wifi + SMB we get a maximum write rate of about 10 M/s - 6m43s for a 3.6GB file - average 8.9M/s.

Copying the same file to the external disk over wifi + SMB is also about 10M/s, and completes marginally faster.

Reads

Same file over smb reads at the same rate viz 10M/s

sebbacon commented 5 years ago

Not sure what the bottleneck is. Apparently USB2.0 limits us to 60Mb/s. The above test didn't use the network. See also this. Returning to this now I'm not sure if I was confusing Mb with MB etc - need to recheck.

sebbacon commented 5 years ago

Here's an explanation of the issue: USB bus shared with network.