From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755605AbcFQN7n (ORCPT ); Fri, 17 Jun 2016 09:59:43 -0400 Received: from www.linutronix.de ([62.245.132.108]:51378 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753233AbcFQN7m (ORCPT ); Fri, 17 Jun 2016 09:59:42 -0400 Date: Fri, 17 Jun 2016 15:57:41 +0200 (CEST) From: Thomas Gleixner To: Eric Dumazet cc: LKML , Ingo Molnar , Peter Zijlstra , "Paul E. McKenney" , Frederic Weisbecker , Chris Mason , Arjan van de Ven , rt@linutronix.de, Rik van Riel , Linus Torvalds , George Spelvin , Len Brown Subject: Re: [patch V2 00/20] timer: Refactor the timer wheel In-Reply-To: Message-ID: References: <20160617121134.417319325@linutronix.de> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 17 Jun 2016, Eric Dumazet wrote: > > > > To achieve this capacity with HZ=1000 without increasing the storage size > > by another level, we reduced the granularity of the first wheel level from > > 1ms to 4ms. According to our data, there is no user which relies on that > > 1ms granularity and 99% of those timers are canceled before expiry. > > > > Ah... This might be a problem for people using small TCP RTO timers in > datacenters (order of 5 ms) > (and small delay ack timers as well, in the order of 4 ms) > > TCP/pacing uses high resolution timer in sch_fq.c so no problem there. > > If we arm a timer for 5 ms, what are the exact consequences ? The worst case expiry time is 8ms on HZ=1000 as it is on HZ=250 > I fear we might trigger lot more of spurious retransmits. > > Or maybe I should read the patch series. I'll take some time today. Maybe just throw it at such a workload and see what happens :) Thanks, tglx