From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752260AbbCZLcj (ORCPT ); Thu, 26 Mar 2015 07:32:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60781 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751278AbbCZLch (ORCPT ); Thu, 26 Mar 2015 07:32:37 -0400 Message-ID: <5513EE54.5090203@redhat.com> Date: Thu, 26 Mar 2015 07:32:36 -0400 From: Prarit Bhargava User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131028 Thunderbird/17.0.10 MIME-Version: 1.0 To: John Stultz CC: lkml , Shuah Khan , Thomas Gleixner , Richard Cochran Subject: Re: [PATCH 2/2] kselftests: timers: Reduce default runtime on inconsistency-check and set-timer-lat References: <1427327073-19011-1-git-send-email-john.stultz@linaro.org> <1427327073-19011-2-git-send-email-john.stultz@linaro.org> In-Reply-To: <1427327073-19011-2-git-send-email-john.stultz@linaro.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/25/2015 07:44 PM, John Stultz wrote: > For the default run_timers target, the timers tests takes the > majority of kselftests runtime. > > So this patch reduces the default runtime for inconsistentcy-check > and set-timer-lat, which reduced the runtime almost in half. > > Before: 11m48.629s > After: 6m47.723s > > Cc: Shuah Khan > Cc: Prarit Bhargava > Cc: Thomas Gleixner > Cc: Richard Cochran > Signed-off-by: John Stultz > Signed-off-by: John Stultz > --- > tools/testing/selftests/timers/inconsistency-check.c | 2 +- > tools/testing/selftests/timers/set-timer-lat.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tools/testing/selftests/timers/inconsistency-check.c b/tools/testing/selftests/timers/inconsistency-check.c > index 578e423a..caf1bc9 100644 > --- a/tools/testing/selftests/timers/inconsistency-check.c > +++ b/tools/testing/selftests/timers/inconsistency-check.c > @@ -166,7 +166,7 @@ int main(int argc, char *argv[]) > int clockid, opt; > int userclock = CLOCK_REALTIME; > int maxclocks = NR_CLOCKIDS; > - int runtime = 30; > + int runtime = 10; > struct timespec ts; > Oops ... left everyone off :) What was the reason that this was originally 30? Or was that overkill? P.