From patchwork Thu Nov 9 05:13:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddhesh Poyarekar X-Patchwork-Id: 836182 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-86926-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="esAX8GrL"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yXWYW6bgjz9s5L for ; Thu, 9 Nov 2017 16:14:23 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=t7622z4rRDc+dguLiH6neP61iCbdi8l T7cT95DdoDBWPKNAlwEdJ5rqYwx7d6jw2ZwNF5OyH+o1x6mXoAmVJboNsFheFmCq rdXUnR31S9oAtmDXTIMp/kXTkaRPmcEBTMfi4Y8gto9QGAfrGNeshDQ8BplnDPmw ENDlXAfibx7k= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; s=default; bh=wJ8plAEN0xxJmAE+AKEuEQZMKps=; b=esAX8 GrL/aXbzKCFUXZkS4DanO+2+OXY9fQ06Kb5zmvF3H3+psr3xPQlMl3QTNMzFwbHz N/viRdSWlDAETaYGrQIuGRp288ISheEEThlTk+F1w6f3s7yZdRCv1xYJjLMPWk6i rxD93LWqksFEJbLe7NtgIf20D/Tm6EBfqiVFFU= Received: (qmail 79061 invoked by alias); 9 Nov 2017 05:14:05 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 78930 invoked by uid 89); 9 Nov 2017 05:14:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy= X-HELO: homiemail-a52.g.dreamhost.com From: Siddhesh Poyarekar To: libc-alpha@sourceware.org Cc: Wilco.Dijkstra@arm.com, szabolcs.nagy@arm.com Subject: [PATCH 2/3] benchtests: Bump start size since smaller sizes are noisy Date: Thu, 9 Nov 2017 10:43:27 +0530 Message-Id: <1510204408-1739-3-git-send-email-siddhesh@sourceware.org> In-Reply-To: <1510204408-1739-1-git-send-email-siddhesh@sourceware.org> References: <1510204408-1739-1-git-send-email-siddhesh@sourceware.org> Numbers for very small sizes (< 128B) are much noisier for non-cached benchmarks like the walk benchmarks, so don't include them. * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128. * benchtests/bench-memmove-walk.c (START_SIZE): Likewise. * benchtests/bench-memset-walk.c (START_SIZE): Likewise. --- benchtests/bench-memcpy-walk.c | 2 +- benchtests/bench-memmove-walk.c | 2 +- benchtests/bench-memset-walk.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/benchtests/bench-memcpy-walk.c b/benchtests/bench-memcpy-walk.c index 5b56341..ef90a92 100644 --- a/benchtests/bench-memcpy-walk.c +++ b/benchtests/bench-memcpy-walk.c @@ -29,7 +29,7 @@ #ifndef MEMCPY_RESULT # define MEMCPY_RESULT(dst, len) dst -# define START_SIZE 1 +# define START_SIZE 128 # define MIN_PAGE_SIZE (getpagesize () + 32 * 1024 * 1024) # define TEST_MAIN # define TEST_NAME "memcpy" diff --git a/benchtests/bench-memmove-walk.c b/benchtests/bench-memmove-walk.c index 969ddd9..189ce64 100644 --- a/benchtests/bench-memmove-walk.c +++ b/benchtests/bench-memmove-walk.c @@ -29,7 +29,7 @@ #ifndef MEMMOVE_RESULT # define MEMMOVE_RESULT(dst, len) dst -# define START_SIZE 1 +# define START_SIZE 128 # define MIN_PAGE_SIZE (getpagesize () + 32 * 1024 * 1024) # define TEST_MAIN # define TEST_NAME "memmove" diff --git a/benchtests/bench-memset-walk.c b/benchtests/bench-memset-walk.c index 80fbe09..213bb60 100644 --- a/benchtests/bench-memset-walk.c +++ b/benchtests/bench-memset-walk.c @@ -22,7 +22,7 @@ #else # define TEST_NAME "wmemset" #endif /* WIDE */ -#define START_SIZE (1) +#define START_SIZE 128 #define MIN_PAGE_SIZE (getpagesize () + 32 * 1024 * 1024) #define TIMEOUT (20 * 60) #include "bench-string.h"