Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp267924pxt; Fri, 6 Aug 2021 01:17:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/gIy0QriVaETxjaQ+ChPeLSrGR8AIa/QgWtny8i8kJK5AsKOhLl8ko26DyuHQTcr9mSiU X-Received: by 2002:a17:906:1c81:: with SMTP id g1mr8809823ejh.361.1628237840276; Fri, 06 Aug 2021 01:17:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628237840; cv=none; d=google.com; s=arc-20160816; b=HUtm9fZnoVr1tkbwK9nXEmyZzTbn0EgaHrUNy4vikctoCFIlSEW0YC7SPQEYcb1hhR 3f5xR3d+qRtSr1TbDU4+kKOipZU0nGTaRyv9HS2rH1D9Ts7FWn3tDVrNTGJUa4s0nPd4 2JmofPOaATolfFCksmUHJynE+3qpzRG622fB0Dn+sy+BEOsCdMn1kf8YAQLJHiGW8NsI Rl+fsnJ9mwezdkaT2FDm8Z0qESUFYiwOzQVDb+zu3Oa0oJG0ff5wJB1P/JNDVjZnk+cA TB1/yuDx4wkz/jgqD/Mn7WD/Hfdkj9LjghLEutIFoVDOT+9KrEB0p04qCK/oo4+ayOXp Z/7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:subject:from :references:cc:to:dkim-signature:dkim-signature; bh=XydYnpc/ls5Im9aJguL/IFsvkaJWo5CzHRaUo1rP4fg=; b=0ZUEeLtImmNTTy107FKtKUOpZa4R36FZ2tlCnqBLvqks71nm6RykBmhPamuqD5dLTW fMm7qpRWSPuzjO+laLCYuLr6t29bu7E9IqSJoU3p7M/Yx8FY6bU+Zh/+qS4wgkgJioCj oZPYuG2r+50uh0zD06m+WtL4cZga6vNYMKfDz9IBy6n568cMKZm4iTU1iw2DuAYJa/0n yPaJ4cFggeMP+5ho/iKfFKngdwpH7v8sbGmUS0Miy/qAjDbiF6Fv+C5W7Xnns0mqgps/ dM7jlKDrs38yp1WIgOYcfSJ7NHfIa1uUTAhEyXaOjYFQrG52sHpmPRKWI5abZt0zWLwc WD+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=zs1SFy6z; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=+VrSlps7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y31si9369299edy.585.2021.08.06.01.16.51; Fri, 06 Aug 2021 01:17:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=zs1SFy6z; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=+VrSlps7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238682AbhHFHp2 (ORCPT + 99 others); Fri, 6 Aug 2021 03:45:28 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:45070 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238601AbhHFHp2 (ORCPT ); Fri, 6 Aug 2021 03:45:28 -0400 Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id BE6312236C; Fri, 6 Aug 2021 07:45:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1628235911; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XydYnpc/ls5Im9aJguL/IFsvkaJWo5CzHRaUo1rP4fg=; b=zs1SFy6zUm/lB9EgyDvbcRcfVvTba1V3FNEw8cjNvaFI82nmKYw7NRXbxruqQjxRMxpvXg s/KOlugwd1kTgFSV3maXoThKrIKqJ+eh+VyKY/I47Pe3zd+vYZBHGEKJaMk9gn3WE15Dzl +l3JifFaTsJhzwDf6KDAc1APQpE/XwU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1628235911; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XydYnpc/ls5Im9aJguL/IFsvkaJWo5CzHRaUo1rP4fg=; b=+VrSlps7ivv7Q7Bc4P0TErE0eBwkbpf2hTDCk9GEZN8pdpffvlizIK630SrQ8k76iFcZrw t+3HFgfFXW4+YwDw== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id 8560F13990; Fri, 6 Aug 2021 07:45:11 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id AR5FH4foDGGdGAAAGKfGzw (envelope-from ); Fri, 06 Aug 2021 07:45:11 +0000 To: Mike Galbraith , Sebastian Andrzej Siewior Cc: Andrew Morton , Christoph Lameter , David Rientjes , Pekka Enberg , Joonsoo Kim , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Mel Gorman , Jesper Dangaard Brouer , Jann Horn References: <20210805152000.12817-1-vbabka@suse.cz> <20210805164210.2zxpzn2sdogf4kx3@linutronix.de> From: Vlastimil Babka Subject: Re: [PATCH v4 00/35] SLUB: reduce irq disabled scope and make it RT compatible Message-ID: <918557ec-3d8c-3d54-bce9-730f3a9cdc2d@suse.cz> Date: Fri, 6 Aug 2021 09:45:11 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/6/21 7:14 AM, Mike Galbraith wrote: > On Thu, 2021-08-05 at 18:42 +0200, Sebastian Andrzej Siewior wrote: >> >> There was throughput regression in RT compared to previous releases >> (without this series). The regression was (based on my testing) only >> visible in hackbench and was addressed by adding adaptiv spinning to >> RT-mutex. With that we almost back to what we had before :) > > Numbers on my box say a throughput regression remains (silly fork bomb > scenario.. yawn), which can be recouped by either turning on all > SL[AU]B features or converting the list_lock to a raw lock. I'm surprised you can still do that raw lock in v3/v4 because there's now a path where get_partial_node() takes the list_lock and can call put_cpu_partial() which takes the local_lock. But seems your results below indicate that this was without CONFIG_SLUB_CPU_PARTIAL so that would still work. > They also > seem to be saying that if you turned on PREEMPT_RT because you care > about RT performance first and foremost (gee), you'll do neither of > those, because either will eliminate an RT performance progression. That was my assumption, that there would be some tradeoff and RT is willing to sacrifice some throughput here... which should be only visible if your benchmark is close to slab microbenchmark, as hackbench is. Thanks again!