Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 16 Apr 2002 20:54:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 16 Apr 2002 20:54:53 -0400 Received: from x35.xmailserver.org ([208.129.208.51]:65177 "EHLO x35.xmailserver.org") by vger.kernel.org with ESMTP id ; Tue, 16 Apr 2002 20:54:53 -0400 X-AuthUser: davidel@xmailserver.org Date: Tue, 16 Apr 2002 18:02:17 -0700 (PDT) From: Davide Libenzi X-X-Sender: davide@blue1.dev.mcafeelabs.com To: "Chen, Kenneth W" cc: davidm@hpl.hp.com, Linus Torvalds , Linux Kernel Mailing List Subject: RE: Why HZ on i386 is 100 ? In-Reply-To: <794826DE8867D411BAB8009027AE9EB913D03D4C@FMSMSX38> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 16 Apr 2002, Chen, Kenneth W wrote: > If you change HZ to 1000, you need to change PROC_CHANGE_PENALTY > accordingly. Otherwise, process would get preempted before its time slice > gets expired. The net effect is more context switch than necessary, which > could explain the 10% difference. that might be the case. i was not running the latsched sampler during that test, that would have helped me in detecting extra task bounces/cs - Davide - 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/