From nobody Sun Jan 25 16:15:20 2026 X-Original-To: hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dzcHN3rwLz6PkSQ for ; Sun, 25 Jan 2026 16:16:32 +0000 (UTC) (envelope-from dirkx@webweaving.org) Received: from weser.webweaving.org (weser.webweaving.org [148.251.234.232]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "weser.webweaving.org", Issuer "E7" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dzcHM30fzz3M2l for ; Sun, 25 Jan 2026 16:16:31 +0000 (UTC) (envelope-from dirkx@webweaving.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple ([10.11.0.147]) (authenticated bits=0) by weser.webweaving.org (8.18.1/8.18.1) with ESMTPSA id 60PGGLu7028198 (version=TLSv1.2 cipher=ECDHE-ECDSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 25 Jan 2026 17:16:21 +0100 (CET) (envelope-from dirkx@webweaving.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=webweaving.org; s=shared; t=1769357782; bh=hxrDc4XIzzfNA3BV/vPQ6FPi/083YF817bb820XjQ5M=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=N9Gl4hXMXfuLJvf4DUMOzcxOHTnMSx8kr3fTDPARfJZ6MV+JLByhyQR+OIavZBMVY AulY7pyjUD0gzL9Vda+gcPal1B+t+1jAEa/mOiTM5udUcPeC3aKo6Sk6VOtRKv+dRP v4YQPbHQ0I9k9lqpPeY5jvQ0AEHmMWrT+37aYiX4= X-Authentication-Warning: weser.webweaving.org: Host [10.11.0.147] claimed to be smtpclient.apple Content-Type: text/plain; charset=us-ascii List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.300.41.1.7\)) Subject: Re: practical experience of FreeBSD > 1TiB RAM From: Dirk-Willem van Gulik In-Reply-To: <06282d5d-c7a7-4bdc-843e-519e652472c2@app.fastmail.com> Date: Sun, 25 Jan 2026 17:15:20 +0100 Cc: questions@freebsd.org, hackers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <361611F0-271F-4F38-9001-3A13E68EECE1@webweaving.org> References: <06282d5d-c7a7-4bdc-843e-519e652472c2@app.fastmail.com> To: Dave Cottlehuber X-Mailer: Apple Mail (2.3864.300.41.1.7) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (weser.webweaving.org [148.251.234.232]); Sun, 25 Jan 2026 17:16:22 +0100 (CET) X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dzcHM30fzz3M2l On 25 Jan 2026, at 15:57, Dave Cottlehuber wrote: > Is anybody using production FreeBSD systems with 1-2 TiB+ RAM? > This is larger than most FreeBSD systems I've dealt with personally. >=20 > I'm interested in any aspects of tuning & performance you might have > encountered. >=20 > Workload is PostgreSQL on ZFS, possibly with co-located applications. Found this to work well out of the box. But we did increased kern.ipc.maxsockbuf, = net.inet.tcp.sendbuf_max/recvbuf_max to 64M (with auto tuning left on) = and increased vfs.zfs.arc_max to well over half the memory (basically = until zfs-stats gaven sensible ARC numbers (~77% in use; frequently used = is 86%; throttle always 0). But we have a lot of indexes and little = churn on this database. And lots of readers. And things never get near = swapping. Dw=