On more recent kernels, these are now sysctl parameters. You can put the following in /etc/sysctl.conf (or a new .conf file in /etc/sysctl.d) and run sysctl -w (or reboot):
sunrpc.tcp_max_slot_table_entries = 128
sunrpc.tcp_slot_table_entries = 128
sunrpc.udp_slot_table_entries = 64
That being said, you might want to check your current settings. At least on CentOS 7, sunrpc.tcp_max_slot_table_entries defaults to 65536, which is greater than the NetApp tuning, and should be more than large enough to ensure good write performance.
Side note, hard has been the default for a while now, and intr has been ignored for over a decade, so you can skip those (though they're not harmful to provide).
Thanks,
Michael
From: Scott Eno <cse@hey.com>
Date: Tuesday, July 7, 2020 at 8:46 AM
To: tmac <tmacmd@gmail.com>, "Parisi, Justin" <justin.parisi@netapp.com>
Cc: Toasters <toasters@teaparty.net>
Subject: Re: Re:
NetApp docs talk about these settings:
udp_slot_table_entries=64
tcp_slot_table_entries=128
tcp_max_slot_table_entries=128
as being for RHEL 6.3 and above. The system I'm helping a user with is Ubuntu 18.04.3. Do these settings still apply (noting there's currently no sunrpc.co, or sunrpc.conf, under modprobe.d)."Parisi, Justin" <justin.parisi@netapp.com> wrote:
Just an FYI a new update to that TR is coming soon.
Get Outlook for iOS
From: Toasters <toasters-bounces@teaparty.net> on behalf of tmac <tmacmd@gmail.com>
Sent: Monday, July 6, 2020 9:51:07 PM
To: Scott Eno <cse@hey.com>
Cc: Toasters <toasters@teaparty.net>
Subject: Re:
NetApp Security WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe.
https://www.netapp.com/us/media/tr-4067.pdf
Hard, intr, nfsvers=3, rsize=65536,wsize=65536,proto=tcp,mountproto=tcp
Dont forget to modify the client to increase/set tcp_max_slot_table_entries to 128.
--tmac
Tim McCarthy, Principal ConsultantProud Member of the #NetAppATeam
I Blog at TMACsRack
On Mon, Jul 6, 2020 at 8:45 PM Scott Eno via Toasters <toasters@teaparty.net> wrote:
---------- Forwarded message ----------
From: Scott Eno <cse@hey.com>
To: Toasters <toasters@teaparty.net>
Cc:
Bcc:
Date: Tue, 07 Jul 2020 00:42:56 +0000
Subject: fstab nfsv3 mount favorites?Hi,
It’s been a number of years since I worked in a Linux/NFS shop, so while I search for my old fstab mount options for a one-off project, does anyone have their go-to fstab nfsv3 mount options handy? The exported volume is on an ONTAP 9.6 cluster if it matters.
---------- Forwarded message ----------
From: Scott Eno via Toasters <toasters@teaparty.net>
To: Toasters <toasters@teaparty.net>
Cc:
Bcc:
Date: Tue, 7 Jul 2020 01:43:01 +0100
Subject:
_______________________________________________
Toasters mailing list
Toasters@teaparty.net
https://www.teaparty.net/mailman/listinfo/toasters