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 smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B7503CA0FED for ; Wed, 27 Aug 2025 13:57:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 7D70380E10; Wed, 27 Aug 2025 13:57:23 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id DGG9b1QCPglk; Wed, 27 Aug 2025 13:57:23 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org E36A780E79 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1756303042; bh=lARuK9/oHAO5hZ8DSoFp95Tj5e5SnDh8mVdcAdZjl6k=; h=Date:From:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=aaZnaZM5d5ljqXCPMlotogNZlfkFCpLeEE7CFBMXxBNR3b63nvs/4Twp4w+R8elY+ 8GuGOX9TDsJu63B2WlCGvKbiEO4MhP6UOBOwZjvaqF48Hai8luph+pN4PjJLcm5H/n 8QnNZgXuC40lKSKGJbkemyLd/fy7Qm1wQsHirTZxugHBW26oyB3w1NwrVqMqmhcXT+ ruFF9xRRwSznEqtgiBYcx+twZJYlfZWtQJ09U1gEOJ6oS4wz1Nrv+9MfcR+3Xro/Vj X568l/zGmPFa7rRYFG99EMolUCTwSRRayZkbbsv01iSyhebyJY5/JaRSI6URckAXEl Eupxm+3nrscrQ== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id E36A780E79; Wed, 27 Aug 2025 13:57:22 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists1.osuosl.org (Postfix) with ESMTP id C0B72114 for ; Wed, 27 Aug 2025 13:57:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id A587280E79 for ; Wed, 27 Aug 2025 13:57:21 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id plx4CL4oDXul for ; Wed, 27 Aug 2025 13:57:21 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=170.10.133.124; helo=us-smtp-delivery-124.mimecast.com; envelope-from=mlichvar@redhat.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org CEA3480E12 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org CEA3480E12 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by smtp1.osuosl.org (Postfix) with ESMTPS id CEA3480E12 for ; Wed, 27 Aug 2025 13:57:20 +0000 (UTC) Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-298-0T7Pay7yObSdBY8dPXStcg-1; Wed, 27 Aug 2025 09:57:13 -0400 X-MC-Unique: 0T7Pay7yObSdBY8dPXStcg-1 X-Mimecast-MFC-AGG-ID: 0T7Pay7yObSdBY8dPXStcg_1756303031 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 8FD4219541A0; Wed, 27 Aug 2025 13:57:09 +0000 (UTC) Received: from localhost (unknown [10.43.135.229]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id D6017180044F; Wed, 27 Aug 2025 13:57:03 +0000 (UTC) Date: Wed, 27 Aug 2025 15:57:01 +0200 From: Miroslav Lichvar To: Sebastian Andrzej Siewior Cc: Jacob Keller , Kurt Kanzenbach , Tony Nguyen , Przemek Kitszel , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Richard Cochran , Vinicius Costa Gomes , Paul Menzel , Vadim Fedorenko , intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org Message-ID: References: <20250822-igb_irq_ts-v2-1-1ac37078a7a4@linutronix.de> <20250822075200.L8_GUnk_@linutronix.de> <87ldna7axr.fsf@jax.kurt.home> <02d40de4-5447-45bf-b839-f22a8f062388@intel.com> <20250826125912.q0OhVCZJ@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250826125912.q0OhVCZJ@linutronix.de> X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1756303039; h=from:from:reply-to:subject:subject: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=lARuK9/oHAO5hZ8DSoFp95Tj5e5SnDh8mVdcAdZjl6k=; b=hFsick+TokFUgtcBzY9KwFUiyOqdwWkc/sM2xn/4W9iaq2p3/hNYvcPcUR8rB1AAyaxLpW HgjHngO5w0H6khpleINQ84/zzsTiQi29YHxx7YWghLf3zWLpziF1str1DdkPRW46KZ1rB9 R2vfIA1RAC+l/rymOzkzaMB1C5xGePE= X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=hFsick+T Subject: Re: [Intel-wired-lan] [PATCH iwl-next v2] igb: Convert Tx timestamping to PTP aux worker X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Tue, Aug 26, 2025 at 02:59:12PM +0200, Sebastian Andrzej Siewior wrote: > The benchmark is about > 1k packets/ second while in reality you have > less than 20 packets a second. I don't want to argue about which use case is more important, but it's normal for NTP servers to receive requests at much higher rates than that. In some countries, public servers get hundreds of thousands of packets per second. A server in a local network may have clients polling 128 times per second each. Anyway, if anyone is still interested in finding out the cause of the regression, there is a thing I forgot to mention for the reproducer using ntpperf. chronyd needs to be configured with a larger clientloglimit (e.g. clientloglimit 100000000), otherwise it won't be able to respond to the large number of clients in interleaved mode with a HW TX timestamp. The chronyc serverstats report would show that. It should look like the outputs I posted here before. -- Miroslav Lichvar From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D0E1F347C3 for ; Wed, 27 Aug 2025 13:57:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756303040; cv=none; b=tu64F7KoMI6ZLZDlakQnXB8/69uZfXo3PzfaMMlA2N1h7BjO2VcDz/sTGSRCRxp4Pggd/iAKcgFdOtS08lpwWC8fT00YcBq+miirHmtCP1f+HDG5admeHsX7J+ziy7nZbXz9MsmBYTfa2RYDHqk/GM+SSOvgg73dDhRYMAFQNQg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756303040; c=relaxed/simple; bh=BqgZJxx+QonWw78Co1P5PiUeYPc60JbLj+sBSfPQM8Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cLbntwW5QZzogBVnTFk1Y+wE/S7qOFX26Jei6r0DN4NsCxjBQ+2K20gupE5+rvpMNZ9QNoHWSF1e3PkHJ7F5IzV8qi4txDzCR0TKJTyExrCDTf/O0RlIWdVfsvczACtyr+8HCnhFDE9WCgu//fGnZH5NGmJZ7gceDMdeKBu0P8A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=JW3Nm5bd; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="JW3Nm5bd" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1756303037; h=from:from:reply-to:subject:subject: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=lARuK9/oHAO5hZ8DSoFp95Tj5e5SnDh8mVdcAdZjl6k=; b=JW3Nm5bdtFdEIeXNO5t9tq3Spyfr/lzyn4D63lO+pgOTrhKjlMpNHSp/7XxN8YTfNPnjcL hM5SZ/T1fP3Pka+IdagOpT6bDUGBjbYkBCemGb+THnysnyT4fID04JdSJvFbcncwRdMpeu PbHiGL85u04dCKaB2lKn+SXenEs3taA= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-298-0T7Pay7yObSdBY8dPXStcg-1; Wed, 27 Aug 2025 09:57:13 -0400 X-MC-Unique: 0T7Pay7yObSdBY8dPXStcg-1 X-Mimecast-MFC-AGG-ID: 0T7Pay7yObSdBY8dPXStcg_1756303031 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 8FD4219541A0; Wed, 27 Aug 2025 13:57:09 +0000 (UTC) Received: from localhost (unknown [10.43.135.229]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id D6017180044F; Wed, 27 Aug 2025 13:57:03 +0000 (UTC) Date: Wed, 27 Aug 2025 15:57:01 +0200 From: Miroslav Lichvar To: Sebastian Andrzej Siewior Cc: Jacob Keller , Kurt Kanzenbach , Tony Nguyen , Przemek Kitszel , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Richard Cochran , Vinicius Costa Gomes , Paul Menzel , Vadim Fedorenko , intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org Subject: Re: [PATCH iwl-next v2] igb: Convert Tx timestamping to PTP aux worker Message-ID: References: <20250822-igb_irq_ts-v2-1-1ac37078a7a4@linutronix.de> <20250822075200.L8_GUnk_@linutronix.de> <87ldna7axr.fsf@jax.kurt.home> <02d40de4-5447-45bf-b839-f22a8f062388@intel.com> <20250826125912.q0OhVCZJ@linutronix.de> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250826125912.q0OhVCZJ@linutronix.de> X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 On Tue, Aug 26, 2025 at 02:59:12PM +0200, Sebastian Andrzej Siewior wrote: > The benchmark is about > 1k packets/ second while in reality you have > less than 20 packets a second. I don't want to argue about which use case is more important, but it's normal for NTP servers to receive requests at much higher rates than that. In some countries, public servers get hundreds of thousands of packets per second. A server in a local network may have clients polling 128 times per second each. Anyway, if anyone is still interested in finding out the cause of the regression, there is a thing I forgot to mention for the reproducer using ntpperf. chronyd needs to be configured with a larger clientloglimit (e.g. clientloglimit 100000000), otherwise it won't be able to respond to the large number of clients in interleaved mode with a HW TX timestamp. The chronyc serverstats report would show that. It should look like the outputs I posted here before. -- Miroslav Lichvar