Help with performance / much faster using samba #1284
Unanswered
vikingloudmouth
asked this question in
Q&A
Replies: 1 comment 17 replies
-
I really have nothing to add to what I've already described in the docs. nullrw=true means it is literally doing nothing when doing reads and writes as I describe in the docs. It is purely for testing theoretical rw perf. If you only get 40MB/s then your system sounds pretty slow to begin with. It can easily be hundreds of MB/s on random lowend systems. The fastest it can possibly be is cache.files=off, nullrw=true, a 1MB or so readahead, and ensuring the software uses large buffer sizes. If that is slow... there is nothing I can do. |
Beta Was this translation helpful? Give feedback.
17 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an SSD, and two hard drives mounted as
/var/media/SSD
,/var/media/HDD1
, and/var/media/HDD2
and created a pool from the two HDDsmergerfs -o cache.files=partial,dropcacheonclose=true,category.create=mfs,fsname=media_pool_fs /var/media/HDD1/media:/var/media/HDD2/media/ /storage/media_pool
Without using the mergerfs mount, I can copy (using
cp
) large files (mkv's) from the SSD to the HDD's at ~90MB/s. My problem is when copying from the SDD to/storage/media_pool
I only get ~15MB/s. I have tried playing with the options listed here, and the only one I have found to help is enablingcache.writeback
which got me to ~30MB/s. This increased to ~40MB/s withnullrw=true
.I also have all of these folders accessible via a samba share. Using this samba share, I can copy from the SSD to
/storage/media_pool
and keep the original speed of ~90MB/s.What settings are suggested for me to try and get these speeds locally using
cp
? I haven't had luck looking up other suggestions, everyone else seems to have to opposite problem of the samba share being slowerBeta Was this translation helpful? Give feedback.
All reactions