From nobody Tue Dec 14 13:55:51 2021 X-Original-To: bugs@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 0252618E5490 for ; Tue, 14 Dec 2021 13:55:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JD0Jk5bDCz4g6L for ; Tue, 14 Dec 2021 13:55:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9FFD41702 for ; Tue, 14 Dec 2021 13:55:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1BEDtor6002586 for ; Tue, 14 Dec 2021 13:55:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BEDto3g002585 for bugs@FreeBSD.org; Tue, 14 Dec 2021 13:55:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 258204] [geli] Extremely poor performance copying directory with lot of small files on nvme Date: Tue, 14 Dec 2021 13:55:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639490150; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EJEIs359aGeQ9EiTAPMTpnzGv3MIgc1wnSDL0dpiO2s=; b=c3bsR6rI2pFYa5i+dM8tVevevyWSAMayjkCvgpau6qpW8Bfgk3Xrw8miny9DxM/bT0ZFEF BGYMW+1RBDydZFy5VVf07Q/JQVTFtwugVv3xhHvCejJBHVxWUM8Guf0U3wHU+280vZWfNa oMRT9pwyzutZ3TIU2nhaPOzsM4hmAulftATZ0QDgs4K/6an7yGqPcZ+gZcrQE/J/GBVosX OcRqkC0VrKf3ghyGbNRobbzNOZRwvWZRne3ZCZ8V/VQr4n+tsQex9mlgqQ1wvcIWDTfEsd 2WM6UsOZCKELFTXPjd29WOa1FyCfs+2BLSIcKs4zxLTMHPi13qZ886SIzOSJKg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639490150; a=rsa-sha256; cv=none; b=C6dvnW9uG38Nz2p7SKcikS/QXUJ7OH6z06x0cSEkMFWd+Jn6uIFt8bqUr3B8crb1nZ1F9w 259qN0Q7Dlnw6OSzyZInyGB5WIa96mQQlrZRZv4r7m5z1LWEmiwQj398LQtWxoHYVWiefp 3ptPr60/NYG9oAM0GrraercK6dk0Hz7NryHOPbfM24WiCM9QmRbI42FCwgqwZpQxff+hiE kQLr1rSLvuTB2irCmWwgB/GaX3pQBIKducJ74EPdvHfszQKJP235wG0HRr56IT1JXmofAO nKXkUkoQzWET/p5NQo5ed2SsAK4x5TmGyz0RT1qz7pd80F/H2ByjmqoH6q8+6w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258204 --- Comment #19 from Eugene Grosbein --- (In reply to Ali Abdallah from comment #16) I've checked aesni(4) sources and it changed its type from "hardware" in 12= .x and earlier to "accelerated software" in 13, so it is OK. If you want to speedup GELI further, you may decrease its overhead: 1) Use command like "nvmecontrol identify nvme0ns1" to see if your NVMe namespace uses 512 byte-sized blocks or 4096 byte-sized. In former case, use command like "nvmecontrol format -f 1 nvme0ns1" to reformat the namespace f= or 4K "sectors" (all data will be lost for that namespace). 2) Use "geli init -s 8192 -l 128" to create ELI volume with 8K "sectors" and AES-XTS-128. 3) Use newfs -b 65536 -f 8192 to create UFS with biggest supported block/fragment sizes. --=20 You are receiving this mail because: You are the assignee for the bug.=