From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 28BFA6BB80 for ; Mon, 14 Dec 2020 09:38:51 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 1D75513F9E for ; Mon, 14 Dec 2020 09:38:51 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id AA3F413F93 for ; Mon, 14 Dec 2020 09:38:50 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 78645450C6 for ; Mon, 14 Dec 2020 09:38:50 +0100 (CET) To: Proxmox Backup Server development discussion , Dominik Csapak References: <20201211120859.17323-1-d.csapak@proxmox.com> <20201211120859.17323-2-d.csapak@proxmox.com> From: Thomas Lamprecht Message-ID: Date: Mon, 14 Dec 2020 09:38:49 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Thunderbird/84.0 MIME-Version: 1.0 In-Reply-To: <20201211120859.17323-2-d.csapak@proxmox.com> Content-Type: text/plain; charset=UTF-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-SPAM-LEVEL: Spam detection results: 0 AWL -0.068 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment NICE_REPLY_A -0.001 Looks like a legit reply (A) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pbs-devel] [PATCH proxmox 1/2] add tools/zero: add fast zero comparison code X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2020 08:38:51 -0000 On 11.12.20 13:08, Dominik Csapak wrote: > that can make use of see/avx instructions where available >=20 maybe some performance numbers can help to argue why we should add that, maybe directly as small benchmark binary so different CPUs could be compared? > this is mostly a direct translation of qemu's util/bufferiszero.c >=20 > this is originally from Wolfgang Bumiller FYI, you could use the Originally-by: Wolfgang Bumiller git trailer for that, I saw it a few times used in other projects (e.g., kernel)