From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762166AbZCaRh0 (ORCPT ); Tue, 31 Mar 2009 13:37:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757033AbZCaRhL (ORCPT ); Tue, 31 Mar 2009 13:37:11 -0400 Received: from smtp-out.google.com ([216.239.45.13]:22898 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756982AbZCaRhK (ORCPT ); Tue, 31 Mar 2009 13:37:10 -0400 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id: references:user-agent:mime-version:content-type:x-system-of-record; b=jIskWb35kJurJFY2rNz8Gh0sJ0MxbbxZxPA1ApBZ1aSPCdpnDwIHb5/BN61Q/rpLZ VO6IMRREUKkIKkuBbXCqw== Date: Tue, 31 Mar 2009 10:35:55 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Christoph Lameter cc: Pekka Enberg , Nick Piggin , Martin Bligh , linux-kernel@vger.kernel.org Subject: Re: [patch 1/3] slub: add per-cache slab thrash ratio In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 31 Mar 2009, Christoph Lameter wrote: > > I'd agree that it should be cleared if the tunable had object units > > instead of a ratio, but the ratio simply applies to any given order. > > Right but resetting the order usually has a significant impact on the > threashing behavior (if it exists). Why would we keep the threshing ratio > that was calculated for another slab configuration? > Either the default thrashing ratio is being used and is unchanged from boot time in which case it will still apply to the new order, or the ratio has already been changed and userspace is responsible for tuning it again as the result of the new slab size.