Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2865279pxb; Mon, 1 Nov 2021 03:30:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtDN/QvFJ9DqyME/1h9PZhCR/pBTXWm/GghfJ2hGLJr4HepzlMC5hkSxy4waQ8wPZKZuwW X-Received: by 2002:a5d:9145:: with SMTP id y5mr20033319ioq.200.1635762623800; Mon, 01 Nov 2021 03:30:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635762623; cv=none; d=google.com; s=arc-20160816; b=LM1k3YwaSV/9NaOKgNFtVW4fePKFYsPea0tRzqFzB56SwsCkJv3Gs6xNm11i4RKUyC 885VYE8XM2lGzAA5uam3XXyZ4aHI/j1HkUNUM8j3x2KNNxZ7phPB8iWaxcM3XUdfUEHG Wzrotd/T7AuJ3DQwCVCghCNpdxSpYmQLnq1KrKLuHvO8V+yqGQaMZk/CSwzM/tjBN2xv DLsUY3RCGzldiqyxXf1HeUzhT2JLLrbmpvVbIgYg4+rwqUnGR1ICTL4WO4pgePYUOL2e lSgZTrUUFnUOAC2dw9tl3wumWEDBOA/gCutg8ILFgwOUlpKMTEJURbLKeKaKX2o1yXVx jhHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=usVlcm16rD4WtoGbsEUNqTyTpA7Ux47Pw/hhZhArBGY=; b=YhAFy0CLwoS/tX3lciHXsxUEdxsooqutHrokzEsyjkSpXJvRPU29HowTYnnuiL7ann QcBX8X3pG751WH/Ml/XGOSKsykisrUwJgt+vdXVpfLXOY755MipZi3fyLuQi6kADzclW QICcHTkuT16oJeJFb/KS4U7Pxz48zHJZDULCRKQ9ltlV2qEyT0t9De/lR0R9Ks9A5vVr 1+VzzN+IPlQLob/SaDEPUeUkScimkpR+fCpoGob0hbmRGoTA7+bwQ6lYmW+qx8WnO8Vt 9BRpCSrCp246PxTi62UzaAk7bFyxm8ffqBircqwb2ikDhX4RT610X1aGROnxxvhtebpc u25A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=tFJ5sBD3; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=dAwN2+J3; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r7si27459319ill.82.2021.11.01.03.30.12; Mon, 01 Nov 2021 03:30:23 -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.de header.s=susede2_rsa header.b=tFJ5sBD3; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=dAwN2+J3; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232020AbhKAKap (ORCPT + 99 others); Mon, 1 Nov 2021 06:30:45 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:47394 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231946AbhKAKam (ORCPT ); Mon, 1 Nov 2021 06:30:42 -0400 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-out1.suse.de (Postfix) with ESMTPS id D10CB21941; Mon, 1 Nov 2021 10:28:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1635762488; 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=usVlcm16rD4WtoGbsEUNqTyTpA7Ux47Pw/hhZhArBGY=; b=tFJ5sBD3FBPtAw9MezQg7it8KhjmqH8K5z0bz2dIpVE8R2vGTfN06vUsgs9JfEGQ7FXrzt 8mGqrz26LMEeO4jOoneRA4DgfxtgWq1H+CH67cpshO3AFKMGOIvjGIRLA1DxLB8dceqXy+ LLWuKSNAb+U0rfVwbvY+77iznZnOARM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1635762488; 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=usVlcm16rD4WtoGbsEUNqTyTpA7Ux47Pw/hhZhArBGY=; b=dAwN2+J3gaHn1fuz1paoHW7kVdJdiP0wnJ4n5Yax8OIZdPBQ7QWvI2+ya5+0uGx8XRnwR9 85aQcPoKfFFDFkAg== 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 C325113AA9; Mon, 1 Nov 2021 10:28:08 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id BlubLzjBf2EsTgAAMHmgww (envelope-from ); Mon, 01 Nov 2021 10:28:08 +0000 Received: by incl.suse.cz (Postfix, from userid 1000) id 56A415956F; Mon, 1 Nov 2021 11:28:03 +0100 (CET) Date: Mon, 1 Nov 2021 11:28:03 +0100 From: Jiri Wiesner To: "Paul E. McKenney" Cc: Thomas Gleixner , Mel Gorman , LKML , Linux-Net Subject: Re: [RFC PATCH] clocksource: increase watchdog retries Message-ID: <20211101102803.GA16089@incl> References: <20211027164352.GA23273@incl> <20211027213829.GB880162@paulmck-ThinkPad-P17-Gen-1> <20211028162025.GA1068@incl> <20211028184209.GH880162@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211028184209.GH880162@paulmck-ThinkPad-P17-Gen-1> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 28, 2021 at 11:42:09AM -0700, Paul E. McKenney wrote: > On Thu, Oct 28, 2021 at 06:20:25PM +0200, Jiri Wiesner wrote: > > On Wed, Oct 27, 2021 at 02:38:29PM -0700, Paul E. McKenney wrote: > > > I had something like this pending, but people came up with other workloads > > > that resulted in repeated delays. In those cases, it does not make sense > > > to ever mark the affected clocksource unstable. This led me to the patch > > > shown below, which splats after about 100 consecutive long-delay retries, > > > but which avoids marking the clocksource unstable. This is queued on -rcu. > > > > > > Does this work for you? > > > > > > commit 9ec2a03bbf4bee3d9fbc02a402dee36efafc5a2d > > > Author: Paul E. McKenney > > > Date: Thu May 27 11:03:28 2021 -0700 > > > > > > clocksource: Forgive repeated long-latency watchdog clocksource reads > > > > Yes, it does. I have done 100 reboots of the testing machine (running > > 5.15-rc5 with the above patch applied) and TSC was stable every time. I > > am going to start a longer test of 300 reboots for good measure and > > report back next week. J. > > Very good, and thank you for giving it a go! Thank you for the fix! It resolves several strange results we got in our performance testing. > If it passes the upcoming tests I have done 300 reboots of the testing machine. Again, TSC was stable every time. > may I have your Tested-by? Absolutely: Tested-by: Jiri Wiesner