View previous topic :: View next topic |
Author |
Message |
CYPH4R n00b
Joined: 28 Mar 2022 Posts: 5
|
Posted: Mon Mar 28, 2022 9:29 pm Post subject: NFS3 vs NFS4 performance degradation |
|
|
So a few days ago I set up my first Gentoo server install and am planning on using it as a NAS (with ZFS running on the HDD's) and small server for cron jobs, hosting a small website etc..
Now before I installed Gentoo I had tried out TrueNAS Scale and set up a NFS share and there I was able to pretty much saturate my 1Gig network at about 98MB/s sustained writes to the same hardware as with my Gentoo installation. Now switching to Gentoo I set up NFS, and at first I was getting <1MB/s writes. WTH?! So I spent the day trying out different settings and reading up on NFS, and turns out, switching to NFS3 gave me some of the earlier performance back. Now I'm at about 70MB/s write.
So I'm kinda left with no clue what to search for or where that drastic reduction in speed is coming from. I would love to hear some suggestions.
P.S.: this is my first post so if anything is wrong with how im posting, please let me know |
|
Back to top |
|
|
musv Advocate
Joined: 01 Dec 2002 Posts: 3368 Location: de
|
Posted: Tue Mar 29, 2022 7:46 am Post subject: |
|
|
NFSv4 has less overhead than NFSv3. It should be faster.
Have you enabled security features like krb5? |
|
Back to top |
|
|
CYPH4R n00b
Joined: 28 Mar 2022 Posts: 5
|
Posted: Tue Mar 29, 2022 8:19 am Post subject: |
|
|
musv wrote: | Have you enabled security features like krb5? |
Nope, haven't done any big security measures such as kerberos, I have only set up a user that is the same as my user on my client machine. |
|
Back to top |
|
|
|