From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8550AC433EF for ; Wed, 10 Nov 2021 13:57:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6A99A610FC for ; Wed, 10 Nov 2021 13:57:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231641AbhKJN7r (ORCPT ); Wed, 10 Nov 2021 08:59:47 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:50034 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231460AbhKJN7o (ORCPT ); Wed, 10 Nov 2021 08:59:44 -0500 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (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-out2.suse.de (Postfix) with ESMTPS id 7731E1FD63; Wed, 10 Nov 2021 13:56:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1636552615; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jqt2z7sKN4l4GAdAXxs3m4wrEVKXKmm1Vj0eGW+xqyg=; b=n5XqFDRHYOL0PjFz0tieqrIrYuiBsvCzxNHnR2Mjn9qopJ7gtFZjaWjQRXjG5ELp5uBzyv 5GXGsx3YQ0yqoBCEoJCqIVL2L42tgLG7f5wBqDp2iHHcYlo/rxG52qXctMY2uDVAsPH8xc ml+20N890xovCdvobm7CmkOkDTJhms0= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (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 imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 236A513BFF; Wed, 10 Nov 2021 13:56:55 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 87UNCKfPi2EHLgAAMHmgww (envelope-from ); Wed, 10 Nov 2021 13:56:55 +0000 Date: Wed, 10 Nov 2021 14:56:53 +0100 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: Felix Moessbauer Cc: longman@redhat.com, akpm@linux-foundation.org, cgroups@vger.kernel.org, corbet@lwn.net, frederic@kernel.org, guro@fb.com, hannes@cmpxchg.org, juri.lelli@redhat.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, lizefan.x@bytedance.com, mtosatti@redhat.com, pauld@redhat.com, peterz@infradead.org, shuah@kernel.org, tj@kernel.org, jan.kiszka@siemens.com, henning.schild@siemens.com Subject: Re: [PATCH v8 0/6] cgroup/cpuset: Add new cpuset partition type & empty effecitve cpus Message-ID: <20211110135653.GD20566@blackbody.suse.cz> References: <20211018143619.205065-1-longman@redhat.com> <20211110111357.17617-1-felix.moessbauer@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211110111357.17617-1-felix.moessbauer@siemens.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org Hello. On Wed, Nov 10, 2021 at 12:13:57PM +0100, Felix Moessbauer wrote: > However, I was not able to see any latency improvements when using > cpuset.cpus.partition=isolated. Interesting. What was the baseline against which you compared it (isolcpus, no cpusets,...)? > The test was performed with jitterdebugger on CPUs 1-3 and the following cmdline: > rcu_nocbs=1-4 nohz_full=1-4 irqaffinity=0,5-6,11 intel_pstate=disable > On the other cpus, stress-ng was executed to generate load. > [...] > This requires cgroup.type=threaded on both cgroups and changes to the application > (threads have to be born in non-rt group and moved to rt-group). But even with isolcpus the application would need to set affinity of threads to the selected CPUs (cf cgroup migrating). Do I miss anything? Thanks, Michal