From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) by sourceware.org (Postfix) with ESMTPS id 5DF223836C45 for ; Fri, 22 Jan 2021 01:26:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5DF223836C45 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=wangshuo47@huawei.com Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4DMM5K0PhMzMN9r; Fri, 22 Jan 2021 09:25:25 +0800 (CST) Received: from huawei.com (10.174.176.87) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.498.0; Fri, 22 Jan 2021 09:26:43 +0800 From: Shuo Wang To: , CC: , Subject: [PATCH] aarch64: revert memcpy optimze for kunpeng to avoid performance degradation Date: Fri, 22 Jan 2021 09:26:32 +0800 Message-ID: <20210122012632.12380-1-wangshuo47@huawei.com> X-Mailer: git-send-email 2.19.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.174.176.87] X-CFilter-Loop: Reflected X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2021 01:26:57 -0000 Dear Wilco, Thanks for your reply. I will test the performance of __memcy_simd and generic on the latest glibc in the near future. Best Wishes, Shuo >Hi Shuo, > >Have you tried running the GLIBC memcpy benchmarks? These should give a >decent comparison between all the memcpy variants. It might be that the new >__memcy_simd is better than the generic variant (these are backported to 2.28). > >Note that 99% of memcpies are less than 1000 bytes, so it's best to focus on small >copy performance. > >Cheers, >Wilco