Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NFS3 vs NFS4 performance degradation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
CYPH4R
n00b
n00b


Joined: 28 Mar 2022
Posts: 5

PostPosted: Mon Mar 28, 2022 9:29 pm    Post subject: NFS3 vs NFS4 performance degradation Reply with quote

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 :D
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3368
Location: de

PostPosted: Tue Mar 29, 2022 7:46 am    Post subject: Reply with quote

NFSv4 has less overhead than NFSv3. It should be faster.

Have you enabled security features like krb5?
Back to top
View user's profile Send private message
CYPH4R
n00b
n00b


Joined: 28 Mar 2022
Posts: 5

PostPosted: Tue Mar 29, 2022 8:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum