Re: [ippm] ippm Digest, Vol 235, Issue 45

rjmcmahon <rjmcmahon@rjmcmahon.com> Thu, 28 December 2023 20:21 UTC

Return-Path: <rjmcmahon@rjmcmahon.com>
X-Original-To: ippm@ietfa.amsl.com
Delivered-To: ippm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F3AA7C14F700; Thu, 28 Dec 2023 12:21:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=rjmcmahon.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AlkTPWAsy6du; Thu, 28 Dec 2023 12:21:06 -0800 (PST)
Received: from bobcat.rjmcmahon.com (bobcat.rjmcmahon.com [45.33.58.123]) (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 ietfa.amsl.com (Postfix) with ESMTPS id E7FA7C14F6E9; Thu, 28 Dec 2023 12:21:05 -0800 (PST)
Received: from mail.rjmcmahon.com (bobcat.rjmcmahon.com [45.33.58.123]) by bobcat.rjmcmahon.com (Postfix) with ESMTPA id 7953E1EEE5; Thu, 28 Dec 2023 12:21:05 -0800 (PST)
DKIM-Filter: OpenDKIM Filter v2.11.0 bobcat.rjmcmahon.com 7953E1EEE5
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rjmcmahon.com; s=bobcat; t=1703794865; bh=yfl+2yKhDO3iXLdv+wGSFAwAHpP954TmUls0uHbneYI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Nw6tligw5guwxXWz3uDPX1WCKbLow9rLMQSKJN7VIVrQZO5IhhfXLDg47cooqFl91 J9T1HNASrudXUUWzErAr56gGodRutDuNdtwRvQbnDCLeLKsMILqoUGdMau+ayIGNT8 vrq1CsIFWox+frUg53/0SGyepnT0rdcORXu0aQT8=
MIME-Version: 1.0
Date: Thu, 28 Dec 2023 12:21:05 -0800
From: rjmcmahon <rjmcmahon@rjmcmahon.com>
To: ippm@ietf.org
Cc: ippm-request@ietf.org
In-Reply-To: <mailman.21.1703793602.52580.ippm@ietf.org>
References: <mailman.21.1703793602.52580.ippm@ietf.org>
Message-ID: <e4954d35bea8ab2a7b75c241c88b220a@rjmcmahon.com>
X-Sender: rjmcmahon@rjmcmahon.com
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/BxpfwCJTbgS_fDTFqUcVgnCVWZM>
Subject: Re: [ippm] ippm Digest, Vol 235, Issue 45
X-BeenThere: ippm@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF IP Performance Metrics Working Group <ippm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ippm>, <mailto:ippm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ippm/>
List-Post: <mailto:ippm@ietf.org>
List-Help: <mailto:ippm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ippm>, <mailto:ippm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Dec 2023 20:21:10 -0000

>> 
>> 4.1.1.  Single-flow vs multi-flow
>> 
>> .....
>> 
>>    One of the configuration parameters for the test is an upper bound 
>> on
>>    the number of parallel load-generating connections.  We recommend a
>>    default value for this parameter of 16.
>> 
>> 
>> Question: What is the rationale for choosing 16 as the upper bound?
> 
> 
> Thank you for the question! I will defer to Christoph and Stuart for
> their answer re: the upper bound. I have heard them explain the
> rationale in the past but cannot seem to recall the specifics! I don't
> want to say something incorrect.
> 

A bit of a tangent but for iperf 2 multi-thread testing the suggestion 
is one thread per core. Iperf 2 thread design is one thread per socket 
per direction so a full-duplex socket will have two traffic threads. A 
thread per core for 8 cores would be 4 full-duplex sockets or 8 one-way 
sockets.  (The ack direction w/o data doesn't count towards this 
thread/code optimization.)

Bob