From nobody Sun Nov 3 06:52:28 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 4Xh4zN6s3mz5bymC for ; Sun, 03 Nov 2024 06:52:32 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xh4zN1H7kz4Cv5 for ; Sun, 3 Nov 2024 06:52:32 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=ZOlwS7ef; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::332 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4315f24a6bbso24809655e9.1 for ; Sat, 02 Nov 2024 23:52:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730616750; x=1731221550; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=r/ZSyUpYc0YSnEtLVNfe1kJnOsddEBWV5yw2Jh2F8ZU=; b=ZOlwS7efwKnoVe9DKT0tcT27Oq7bQ5P7xuKbiqBCYm4stopaZzVHmwFoPlU8NWuoxh FODXWVLuHt6aqQ1Fp8UnKVHV8IdQ9USA/HEDE3jv/pIUARIKiNe6SHFAXNfk3gcxgHZW y9neKETSzmqGCAocV4IlnaUpsfnmM8+cWT7vW/Xs3sKzFmbmydlUngWCwEQGDuMVX5zP aDNfoYfphl5FQE0S9VAqV1dsGsio+44T//55GbD1i20sIFiPj1Rdc4dPrmF0/S1gWvGU iJMcWRW8lNt/tactC+mgbuZiERbzkTTMW2HIs7Fn1fRBzwg7QzTmnl4EnS+Yq172fkeS DsVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730616750; x=1731221550; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=r/ZSyUpYc0YSnEtLVNfe1kJnOsddEBWV5yw2Jh2F8ZU=; b=IZQ+kaqGeq/j/l+WtD0wLPMUZTEzTM3LrRTjes98tCznyZzAwRU7adzyKiw+cFPqrN 6Qmlb0pYDyFDrxufk07zzkAFEAqHFSx81gnuX4ltDVTZ2anVOrmlX8jxFW0facTVr9ef m8gFPmnKflWLxL1HGaE0ftaGrPGjZRUYHjqgrW9iL6uMFnuewtnjrGKIX/OuroQBfqPi TVYEMZ79LKRb382AwPgPRB5vLt6WyGaTYevrVJFGiG3HFJ1pHzxwn6i72xBeSyFinw4p 8tJFCOwdFbKG8JmUOHYvaExvozTEXkCKxMJVNqlyHxvD9MK8WgdpoA6OsEWKdR5rHDqC aTdw== X-Gm-Message-State: AOJu0YzzXopyxPc8NCPjRNBosB5CV5CGoMC8cws55dhXk7DSIAuU0sWW NTWpavL6H944PjaoOouP3znQurdxSbVrI+tETftJZ1O6QWgNw9Eb0B8SR+mEumE= X-Google-Smtp-Source: AGHT+IFKOnjifA3qs4hz4jz5nX9acZBJ0fbzJbkBUOjvHF4vFrfFs3A4KIq0bMxUwPOt+iUuPVVmKw== X-Received: by 2002:a05:600c:524c:b0:426:5e91:3920 with SMTP id 5b1f17b1804b1-4319ad24a7fmr274747885e9.29.1730616750050; Sat, 02 Nov 2024 23:52:30 -0700 (PDT) Received: from [192.168.1.10] (host-78-147-83-34.as13285.net. [78.147.83.34]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4327d5ab297sm115485885e9.8.2024.11.02.23.52.29 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 Nov 2024 23:52:29 -0700 (PDT) Message-ID: Date: Sun, 3 Nov 2024 06:52:28 +0000 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 User-Agent: Mozilla Thunderbird Subject: Re: Can ZFS ARC be run with roundrobin policy? To: freebsd-fs@freebsd.org References: From: Graham Perrin Content-Language: en-GB Autocrypt: addr=grahamperrin@gmail.com; keydata= xsFNBGKYt7ABEAClu83dJ3ZKfVgPOk9YKRv0Z+dl2b88+k9R4vwAmElgguYdKE7yhnQNhhWM v9vi6AFrBMc2oJdVHJ2OrXfwpELBFIgiSMEWNsC4e+Z3HtSajcl+pFZsP7ciiSoycj/w3wIV kAZoVGbhyIbNG7fbCEJ8q81TbfsGypV3bRmbZVvGNecBguYiooBtz2Qht1p3itXMkIA6P9pS YDl+6QddZLyUUAjAnFv2QDoYSHLnaDUWw4oONZsB0SKVu8jMIBh4uJZoYEOvdvc9jQQdOpA2 CAgA6ulfm42Ikr9lKBUUCtjqiWAhJ7iXOTyHAIdR4Mf8alCE6tdTq6dHdIt+GktTY7oYNyL2 3aD3C7I5waU0SFXvJcOMG10QLfwYQMOQoYQ9XJ0U5A28WYiDcylDdUWT7SappP1e1ZMeJWWO y14mxxNzHaJSI4rK8P/p5tp3Q7SSC4k5gMh9zKba3K2ApCWNbVLGvXsJeQkZZNvu70tE81ey AHI5iZcB6D7WaHysBUmsKaEpbcmm1ZThTnGL0SHEl5to5Jab5Fg6O+Cnly5sVz5lX/v8Aosx k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ULV1rSE TQwMrBEQt84Tw5W5rHsvXKr4ZEsJUpbPLWYTISsp23nHR+vZtL/Ug+OWCmHC7X7D21xk/xVJ 4sA1RLJBKdCHtnyA4Unv/kNS1KVGxHnITVyw1a71QJADu4qsdtM5u6CyYUhqhM1oseWtV6j+ Qi8KC/G4C3AgZf06fe2fVl42z2grTabL4bC6FQXMwTX2dsm5NakWjUCmUL8uwsQE7ZA4zKxo EYI1YV9q1birpzncYRupr1qnMoggMUHWq0IBYshFQrEO8PeVUZBw7/GfAeh3argdw2Qu748T Cyw= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-2.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.992]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[grahamperrin]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::332:from] X-Rspamd-Queue-Id: 4Xh4zN1H7kz4Cv5 X-Spamd-Bar: -- 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