From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F0DD8158020 for ; Sun, 18 Dec 2022 20:06:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2DCBEE0900; Sun, 18 Dec 2022 20:06:54 +0000 (UTC) Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com [209.85.219.181]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D9838E08AD for ; Sun, 18 Dec 2022 20:06:53 +0000 (UTC) Received: by mail-yb1-f181.google.com with SMTP id y135so7491965yby.12 for ; Sun, 18 Dec 2022 12:06:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=sKbg09B8t7jv8Zp5f5VbrvVZ8TZxVDIez0Q3HSsSXAo=; b=xsiFPx7wAq+sxxnr/HgMAYpuNrzHhTo6cxLjCueVRT01aXGl4lO4rI1jMZm9/BlhGy Rk9OQ/APrG0pActaxNakFziy0J8nuL1M2oRwMT2/P4yvUXfY8dQtLVzOC2HrpgYzeSkm 7DtTmjnECjIOyD/mHAv/rgCqRchPst3uqfc6O+hdaYwCNjQzro873e1sAbo7nLG7TU0M MzfFpiKOST4rAOT/I1lxlb8rIpJdbY0UJiKRuFt9ueVQn+m7SX9OCw1z+I75vwErLOTa MSIRUp1WOXX5M1lWfiwgpyK+VpuJZltHaQysqkRiB9JgT6BkiZ9ScOsaCLk2AeKv43mi 1D5A== X-Gm-Message-State: ANoB5pnQn36kq1rZ7yfXyMV/PaUBu4ftNIOFY4buq/3rWEV1eoGhQRwr 3My6BIqTporf6KENAdfdNayEgxXTddeYHnKWEDL4sgDRhZk= X-Google-Smtp-Source: AA0mqf60Nvzh3gXnojvTX9LCvuIeN1ez1gJ6B+zRkRZf5Dd9VDX9pT/iO6tIAk7ZIxeMDup+tReVLO9Y70x5ruYyJio= X-Received: by 2002:a25:add1:0:b0:6f6:366c:f47c with SMTP id d17-20020a25add1000000b006f6366cf47cmr51811285ybe.19.1671394012948; Sun, 18 Dec 2022 12:06:52 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <7a8384d4-4213-b2df-df28-2b56a8b2d030@youngman.org.uk> <4206127f-0a76-4957-d6e1-11ab383ce205@users.sourceforge.net> <2969e3b8-eb12-1236-282f-5debea83439e@gmail.com> In-Reply-To: From: Rich Freeman Date: Sun, 18 Dec 2022 15:06:43 -0500 Message-ID: Subject: Re: Living in NGL: was: [gentoo-user] NAS and replacing with larger drives To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 8ac49150-2498-403b-940c-b16b71a6f24c X-Archives-Hash: 308ece4dea3280971afe18eed21ac7ae On Sun, Dec 18, 2022 at 2:30 PM Frank Steinmetzger wrote: > > Am Sun, Dec 18, 2022 at 01:07:43PM -0600 schrieb Dale: > > > Mostly, I need a better CPU. If I encrypt anyway. > > Did you ever tell us the exact CPU you have in there? All I can remember is > it has 4 cores. And some AMD processor with a II in its name, but that was > you main rig, right? What encryption algorithm are you using? You should see if this is hardware-accelerated in the kernel for your CPU, or if not if there is another strong algorithm which is. Most newer CPUs will tend to have hardware support for algorithms like AES, and the kernel will use this. This will greatly improve CPU performance. I've run into this issue with zfs on Raspberry Pis. ZFS does the encryption internally, and the openzfs code didn't have support for ARM hardware encryption the last time I checked (this could have changed). I found that dm-crypt works MUCH better on Pis as a result, as the kernel does have ARM encryption hardware support. Again, this all depends on the algorithm. If you're using something exotic odds are the hardware won't handle it natively. -- Rich