From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id A306A3858404 for ; Tue, 9 Nov 2021 19:28:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A306A3858404 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1A9Ifxfg010383; Tue, 9 Nov 2021 19:28:04 GMT Received: from ppma01dal.us.ibm.com (83.d6.3fa9.ip4.static.sl-reverse.com [169.63.214.131]) by mx0a-001b2d01.pphosted.com with ESMTP id 3c7xg68ww1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Nov 2021 19:28:04 +0000 Received: from pps.filterd (ppma01dal.us.ibm.com [127.0.0.1]) by ppma01dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 1A9JMjv9017075; Tue, 9 Nov 2021 19:28:03 GMT Received: from b01cxnp22035.gho.pok.ibm.com (b01cxnp22035.gho.pok.ibm.com [9.57.198.25]) by ppma01dal.us.ibm.com with ESMTP id 3c5hbc1w5f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Nov 2021 19:28:03 +0000 Received: from b01ledav004.gho.pok.ibm.com (b01ledav004.gho.pok.ibm.com [9.57.199.109]) by b01cxnp22035.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 1A9JS2xR60948776 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 9 Nov 2021 19:28:02 GMT Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 647CA112066; Tue, 9 Nov 2021 19:28:02 +0000 (GMT) Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E36CD112063; Tue, 9 Nov 2021 19:28:01 +0000 (GMT) Received: from li-24c3614c-2adc-11b2-a85c-85f334518bdb.ibm.com (unknown [9.160.122.124]) by b01ledav004.gho.pok.ibm.com (Postfix) with ESMTPS; Tue, 9 Nov 2021 19:28:01 +0000 (GMT) Date: Tue, 9 Nov 2021 13:28:00 -0600 From: "Paul A. Clarke" To: Adhemerval Zanella Cc: libc-alpha@sourceware.org, Wilco Dijkstra , Tulio Magno Quites Machado Filho Subject: Re: [PATCH v3 5/7] math: Remove powerpc e_hypot Message-ID: <20211109192800.GA4930@li-24c3614c-2adc-11b2-a85c-85f334518bdb.ibm.com> References: <20211101202059.1026032-1-adhemerval.zanella@linaro.org> <20211101202059.1026032-6-adhemerval.zanella@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211101202059.1026032-6-adhemerval.zanella@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-TM-AS-GCONF: 00 X-Proofpoint-GUID: SEXDcCntoDUQ7YNdVJaD30ZDj7crVOgV X-Proofpoint-ORIG-GUID: SEXDcCntoDUQ7YNdVJaD30ZDj7crVOgV X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-09_05,2021-11-08_02,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 priorityscore=1501 adultscore=0 clxscore=1011 impostorscore=0 mlxlogscore=828 suspectscore=0 lowpriorityscore=0 spamscore=0 mlxscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111090108 X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TVD_SUBJ_WIPE_DEBT, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: Tue, 09 Nov 2021 19:28:11 -0000 On Mon, Nov 01, 2021 at 05:20:57PM -0300, Adhemerval Zanella via Libc-alpha wrote: > The powerpc64 does show a big difference (which is mitigated slightly > by the last path): > > power9 master: > > "hypot": { > "workload-random": { > "duration": 5.41027e+08, > "iterations": 3.6e+07, > "reciprocal-throughput": 14.6467, > "latency": 15.4103, > "max-throughput": 6.82746e+07, > "min-throughput": 6.48916e+07 > } > } > > power9 patched: > > "hypot": { > "workload-random": { > "duration": 5.37776e+08, > "iterations": 2.4e+07, > "reciprocal-throughput": 19.915, > "latency": 24.8997, > "max-throughput": 5.02135e+07, > "min-throughput": 4.01612e+07 > } > } > > power8 master: > > "hypot": { > "workload-random": { > "duration": 5.27104e+08, > "iterations": 3.2e+07, > "reciprocal-throughput": 15.872, > "latency": 17.072, > "max-throughput": 6.3004e+07, > "min-throughput": 5.85755e+07 > } > } > > power8 patched: > > "hypot": { > "workload-random": { > "duration": 5.21972e+08, > "iterations": 2.2e+07, > "reciprocal-throughput": 21.8583, > "latency": 25.5937, > "max-throughput": 4.57493e+07, > "min-throughput": 3.9072e+07 > } > } The patches see poorer performance on Power10, also: Power10 unpatched: "hypot": { "workload-random": { "duration": 5.33875e+08, "iterations": 4.8e+07, "reciprocal-throughput": 8.47089, "latency": 13.7739, "max-throughput": 1.18051e+08, "min-throughput": 7.2601e+07 } } Power10 patched: "hypot": { "workload-random": { "duration": 5.34469e+08, "iterations": 3.8e+07, "reciprocal-throughput": 9.80905, "latency": 18.3209, "max-throughput": 1.01947e+08, "min-throughput": 5.45825e+07 } } PC