From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A8313A00C4; Wed, 27 Jul 2022 21:12:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 56D2B4021F; Wed, 27 Jul 2022 21:12:16 +0200 (CEST) Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) by mails.dpdk.org (Postfix) with ESMTP id 6E15240141 for ; Wed, 27 Jul 2022 21:12:15 +0200 (CEST) Received: by mail-ed1-f54.google.com with SMTP id p5so11660823edi.12 for ; Wed, 27 Jul 2022 12:12:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o8xR5E22wDVAyNhdiA11ACOSodX4yYsBKKaDc+MdwZs=; b=b3LRAAPAVlTMsECwps8sEaALHWqtLV692BG9H9FmNwRcpcv961O+lFe8KErhePomTw /9rcZOjvwkZaRtKzZ6YbDOFI6p8GTPlAEf2v8T4AqQpho6NXRh4uma3LHgK0bdsdh56N lpkmWI6pw39uoiIugxnWh6kHOkW0SjrY4rKuj3Vfs1sul9zsqLODSJshl/Uqaw1ck0Vt 04bE6lb27LJ6MFMYK47AK2xhTmpeVQwdtn2/bmS4ZbDFzEyH2/lxTzzMm6PIRHSOLXlo VyiDVckWliMqOUibjN100jqi7+kn6Qj0fy/z0fPW2aVjGGuURnRAtdqDcUmO4KmZYRZg w3dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=o8xR5E22wDVAyNhdiA11ACOSodX4yYsBKKaDc+MdwZs=; b=jqHakzMaYOioxVd50Q3NB7FGwAMdWPqjQVWXiDGcE8c7VMdoaz8zSJAA+FAYdXLK90 XXeSxH8VyjhtqWjGrNGelaQ8wJ4aD55uP2rhRi6hOuMmwNnyGCXA1IsgUGeEbPTjXBSD 6qEYO+lun2P8I83q2Xw8qFVzMSqPZ5ZaerBoGp/JNPawBeX+Romy688YnHyYnIy5gKVv KQ8sPeec0UknU7cnQX2ndPPYY14jF6jPGsjZbTA7oghoet6hE+YIn8+qeQkvPAFNGiNk 0Lu/+YOzXpYOFrMLeR520AJbNqUAp0p9kDIvG8XlMQZAHcNettCce87Hpptite6XYBXN 7Bhg== X-Gm-Message-State: AJIora+R0sfYv4A8VE+7fOoY3nKKTIr6APZiOP0ZX4ssVGB1gtJUZmJo bv362YYke/Bq4/Ob9IF11g+78Q== X-Google-Smtp-Source: AGRyM1sRBnvBGIcAkD90uh0/3YPFiWLnV/Hc6diqdekaNca4t5+c1PhAZD6W+0rEdFVdtrnxtC1QQA== X-Received: by 2002:a05:6402:5c8:b0:433:545f:a811 with SMTP id n8-20020a05640205c800b00433545fa811mr24686534edx.101.1658949135050; Wed, 27 Jul 2022 12:12:15 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id e14-20020a056402088e00b0043ccd4d15eesm742831edy.64.2022.07.27.12.12.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jul 2022 12:12:14 -0700 (PDT) Date: Wed, 27 Jul 2022 12:12:07 -0700 From: Stephen Hemminger To: Morten =?UTF-8?B?QnLDuHJ1cA==?= Cc: "Honnappa Nagarahalli" , "Konstantin Ananyev" , , "Bruce Richardson" , "Jan Viktorin" , "Ruifeng Wang" , "David Christensen" , "Stanislaw Kardach" , "nd" Subject: Re: [RFC v2] non-temporal memcpy Message-ID: <20220727121207.0814169b@hermes.local> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35D871FD@smartserver.smartshare.dk> References: <98CBD80474FA8B44BF855DF32C47DC35D871D4@smartserver.smartshare.dk> <98CBD80474FA8B44BF855DF32C47DC35D871DB@smartserver.smartshare.dk> <262c214b-7870-a221-2621-6684dce42823@yandex.ru> <98CBD80474FA8B44BF855DF32C47DC35D871F7@smartserver.smartshare.dk> <98CBD80474FA8B44BF855DF32C47DC35D871FD@smartserver.smartshare.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, 27 Jul 2022 20:49:59 +0200 Morten Br=C3=B8rup wrote: > I'm considering rte_memcpy_nt() a performance optimized variant of memcpy= (), where the performance gain is less cache pollution. Thus, silent fallba= ck to memcpy() should suffice. Have you looked at existing Glibc code? last time I checked it was already = doing non-temporal instructions on several architectures.