Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S275062AbTHGFML (ORCPT ); Thu, 7 Aug 2003 01:12:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S275066AbTHGFML (ORCPT ); Thu, 7 Aug 2003 01:12:11 -0400 Received: from anumail2.anu.edu.au ([150.203.2.42]:31107 "EHLO anu.edu.au") by vger.kernel.org with ESMTP id S275062AbTHGFMK (ORCPT ); Thu, 7 Aug 2003 01:12:10 -0400 Message-ID: <3F31DF98.6020908@cyberone.com.au> Date: Thu, 07 Aug 2003 15:11:52 +1000 From: Nick Piggin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 MIME-Version: 1.0 To: Con Kolivas CC: Cliff White , Andrew Morton , linux-kernel@vger.kernel.org, Ingo Molnar Subject: Re: 2.6.0-test2-mm3 osdl-aim-7 regression References: <200308061910.h76JAYw16323@mail.osdl.org> <200308071240.54863.kernel@kolivas.org> In-Reply-To: <200308071240.54863.kernel@kolivas.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Sender-Domain: cyberone.com.au X-Spam-Score: (-2.8) X-Spam-Tests: DATE_IN_PAST_06_12,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MOZILLA_UA Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1235 Lines: 29 Con Kolivas wrote: >On Thu, 7 Aug 2003 05:10, Cliff White wrote: > >>>Binary searching (insert gratuitous rant about benchmarks that take more >>>than two minutes to complete) reveals that the slowdown is due to >>>sched-2.6.0-test2-mm2-A3. >>> > >This is most likely the round robinning of tasks every 25ms. The extra >overhead of nanosecond timing I doubt could make that size difference (but I >could be wrong). There is some tweaking of this round robinning in my code >which may help this, but it won't bring it back up to original performance I >believe. Two things to try are add my patches up to O12.3int first to see how >much (if at all!) it helps, and change TIMESLICE_GRANULARITY in sched.c to >(MAX_TIMESLICE) which basically disables it completely. If there is still a >drop in performance with this, the remainder is the extra locking/overhead in >nanosecond timing. > > What is the need for this round robining? Don't processes get a calculated timeslice anyway? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/