🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92961

Re: Kernel tweaking

#92961
From: The Doctor
Date: Sat, 18 Jul 2026 00:02
47 lines
2922 bytes
In article <113e7jk$34cfh$1@dont-email.me>,
Steven G. Kargl <sgk@REMOVEtroutmask.apl.washington.edu> wrote:
>On Fri, 17 Jul 2026 03:18:23 -0000 (UTC), The Doctor wrote:
>
>> In article <113bmo6$dtb$1@omnios-inn.blueworldhosting.com>,
>> Jesse Rehmer  <jesse.rehmer@blueworldhosting.com> wrote:
>> 
>>>I've never had to tune FreeBSD for web, database, SMTP, or NNTP. I did mess
>>>around with a lot of suggestions for making NFS and Samba/SMB faster, but none
>>>of it worked. Unsure the technical reason, but Linux beats the pants off
>>>FreeBSD for NFS and SMB performance. Could never get more than ~55Mbps
>>>throughput with FreeBSD, but can get near wire-speed from Linux. If anyone
>>>happens to read this and has suggestions, I'm all ears.
>> 
>> I recall tuning my BSD/OS server.  Same method should apply.
>
>It's been a long time since I adjusted kernel knobs, but
>you may want to look into one or more of
>
>% sysctl -a | grep -E recv | more
>net.local.stream.recvspace: 65536
>net.local.dgram.recvspace: 16384
>net.local.seqpacket.recvspace: 65536
>net.inet.igmp.recvifkludge: 1
>net.inet.tcp.recvspace: 65536
>net.inet.tcp.recvbuf_max: 8388608
>net.inet.tcp.recvbuf_auto: 1
>net.inet.udp.recvspace: 42080
>net.inet.raw.recvspace: 9216
>net.key.recvspace: 8192
>net.netlink.recvspace: 65536
>net.wlan.recv_bar: 1
>net.rtsock.recvspace: 8192
>
>There may also be a few NIC specific tunable to look
>at.  For I have re0, so 'sysctl -a | grep dev.re'.
>This NIC's driver seems to not have any relevant knobs
>to tweak.
>
>-- 
>steve

I use igb .  Will post later.
-- 
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism ; 31 years in the ISP business!
Technical Details
Message-ID: <113efqn$1jn8$26@gallifrey.nk.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer05.iad!feed-me.highwinds-media.com!news.highwinds-media.com!nntp.club.cc.cmu.edu!news.nk.ca!.POSTED.doctor.nl2k.ab.ca!not-for-mail
References: <113anvi$klt$13@gallifrey.nk.ca> <113bmo6$dtb$1@omnios-inn.blueworldhosting.com> <113c6tv$qs3$5@gallifrey.nk.ca> <113e7jk$34cfh$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer05.iad!feed-me.highwinds-media.com!news.highwinds-media.com!nntp.club.cc.cmu.edu!news.nk.ca!.POSTED.doctor.nl2k.ab.ca!not-for-mail
From: doctor@doctor.nl2k.ab.ca (The Doctor)
Newsgroups: comp.unix.bsd.freebsd.misc,news.software.nntp
Subject: Re: Kernel tweaking
Date: Sat, 18 Jul 2026 00:02:31 -0000 (UTC)
Organization: NetKnow News
Message-ID: <113efqn$1jn8$26@gallifrey.nk.ca>
References: <113anvi$klt$13@gallifrey.nk.ca> <113bmo6$dtb$1@omnios-inn.blueworldhosting.com> <113c6tv$qs3$5@gallifrey.nk.ca> <113e7jk$34cfh$1@dont-email.me>
Injection-Date: Sat, 18 Jul 2026 00:02:31 -0000 (UTC)
Injection-Info: gallifrey.nk.ca; posting-host="doctor.nl2k.ab.ca:204.209.81.1";
	logging-data="52968"; mail-complaints-to="usenet@gallifrey.nk.ca"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: doctor@doctor.nl2k.ab.ca (The Doctor)
X-Received-Bytes: 2635