From nobody Tue Nov 19 00:32:32 2024 X-Original-To: freebsd-fs@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 4XsltL43Yfz5dGgK for ; Tue, 19 Nov 2024 00:36:42 +0000 (UTC) (envelope-from li-fbsd@citylink.dinoex.sub.org) Received: from uucp.dinoex.org (uucp.dinoex.org [IPv6:2a0b:f840::12]) (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 RSA-PSS (2048 bits) client-digest SHA256) (Client CN "uucp.dinoex.sub.de", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XsltJ5NKpz4jQp for ; Tue, 19 Nov 2024 00:36:39 +0000 (UTC) (envelope-from li-fbsd@citylink.dinoex.sub.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of li-fbsd@citylink.dinoex.sub.org designates 2a0b:f840::12 as permitted sender) smtp.mailfrom=li-fbsd@citylink.dinoex.sub.org; dmarc=none; arc=pass ("uucp.dinoex.org:s=M20221114:i=1") Received: from uucp.dinoex.org (uucp.dinoex.org [IPv6:2a0b:f840:0:0:0:0:0:12]) by uucp.dinoex.org (8.18.1/8.18.1) with ESMTPS id 4AJ0aCRY002931 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Tue, 19 Nov 2024 01:36:12 +0100 (CET) (envelope-from li-fbsd@citylink.dinoex.sub.org) ARC-Seal: i=1; a=rsa-sha256; d=uucp.dinoex.org; s=M20221114; t=1731976574; cv=none; b=GyXYTkUNJhV3uFp9rcqExU4nmUMOgQPORKYYtvsbZ9k6DlbwRUeYUTO8OImRAFRD4deEy9CCk5/X/Wg306F30Wcwwe+HYxCdpAN+T8zxd2FXrLj93LyeqXcsJ6Dhckm3ckinK0hsryXtlTQjU5RnAxJEp7HxrnQbNeothsJ9JvE= ARC-Message-Signature: i=1; a=rsa-sha256; d=uucp.dinoex.org; s=M20221114; t=1731976574; c=relaxed/simple; bh=w6+8rha7ZdppgbmJL9TujZoSoo1TKC53v1bRuzpPB4c=; h=Received:Received:Received:X-Authentication-Warning:From: X-Newsgroups:Subject:Date:Message-ID:References:MIME-Version: Content-Type:Content-Transfer-Encoding:Injection-Date: Injection-Info:User-Agent:To:X-Milter:X-Greylist; b=luOwFlvXslgR0rmjG2ZgbGG2DJ/jbv7HVh/m/n/4lmKxlDAGuyQM+FImNjQBxiGb/bLP9c6Ox44YE0JS3cVZR5V4jkCA+ZARayI08laqrEwJM2tuMSEML6pK1ojtmfNjeJnz7cpsOth5Py91q4azDhylcylATzgt1ylqMzoI0rw= ARC-Authentication-Results: i=1; uucp.dinoex.org X-MDaemon-Deliver-To: Received: (from uucp@localhost) by uucp.dinoex.org (8.18.1/8.18.1/Submit) with UUCP id 4AJ0aCjv002930 for freebsd-fs@freebsd.org; Tue, 19 Nov 2024 01:36:12 +0100 (CET) (envelope-from li-fbsd@citylink.dinoex.sub.org) Received: from admn.intra.daemon.contact (localhost [127.0.0.1]) by admn.intra.daemon.contact (8.18.1/8.18.1) with ESMTPS id 4AJ0X1i9033692 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Tue, 19 Nov 2024 01:33:01 +0100 (CET) (envelope-from li-fbsd@citylink.dinoex.sub.org) Received: from intra.daemon.contact (news@localhost) by admn.intra.daemon.contact (8.18.1/8.18.1/Submit) with NNTP id 4AJ0WWQA033494 for freebsd-fs@freebsd.org; Tue, 19 Nov 2024 01:32:32 +0100 (CET) (envelope-from li-fbsd@citylink.dinoex.sub.org) X-Authentication-Warning: admn.intra.daemon.contact: news set sender to li-fbsd@citylink.dinoex.sub.org using -f From: "Peter 'PMc' Much" X-Newsgroups: m2n.fbsd.fs Subject: Re: Can ZFS ARC be run with roundrobin policy? Date: Tue, 19 Nov 2024 00:32:32 -0000 (UTC) Message-ID: References: List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 19 Nov 2024 00:32:32 -0000 (UTC) Injection-Info: admn.intra.daemon.contact; logging-data="31693"; mail-complaints-to="usenet@citylink.dinoex.sub.org" User-Agent: slrn/1.0.3 (FreeBSD) To: freebsd-fs@freebsd.org X-Milter: Spamilter (Reciever: uucp.dinoex.org; Sender-ip: 0:0:2a0b:f840::; Sender-helo: uucp.dinoex.org;) X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (uucp.dinoex.org [IPv6:2a0b:f840:0:0:0:0:0:12]); Tue, 19 Nov 2024 01:36:14 +0100 (CET) X-Spamd-Result: default: False [-2.97 / 15.00]; ARC_ALLOW(-1.00)[uucp.dinoex.org:s=M20221114:i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.97)[-0.973]; FORGED_SENDER(0.30)[pmc@citylink.dinoex.sub.org,li-fbsd@citylink.dinoex.sub.org]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_XAW(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_NEQ_ENVFROM(0.00)[pmc@citylink.dinoex.sub.org,li-fbsd@citylink.dinoex.sub.org]; ASN(0.00)[asn:205376, ipnet:2a0b:f840::/32, country:DE]; RCVD_COUNT_THREE(0.00)[4]; R_DKIM_NA(0.00)[]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[sub.org]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org] X-Rspamd-Queue-Id: 4XsltJ5NKpz4jQp X-Spamd-Bar: -- On 2024-11-03, Graham Perrin wrote: > On 15/07/2024 12:23, Peter wrote: > >> Hi, >> from what I perceive, the ZFS ARC allocates in firsttouch >> policy, … > >> … not always to my liking. I would prefer roundrobin >> allocations here. But, I didn't easily find a switch, and, reading >> into the UMA allocator, it states that it can do roundrobin, but it is >> not so easily figured how that be made happen in practice. >> >> Pointers on where I might look into, are welcome. > > > Does (closed in 2023) help > to shape your thoughts? > >> Specify a balanced NUMA policy for kernel buffers on FreeBSD by >> markjdb · Pull Request #14437 · openzfs/zfs Wow, cool finding! It shows very much the same as what I already did in the meantime, while wondering why it is not even documented in the uma(9) manpage but then seems to work nevertheless.