From owner-freebsd-hackers@freebsd.org Fri Feb 28 16:35:02 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 67CAE266BA5 for ; Fri, 28 Feb 2020 16:35:02 +0000 (UTC) (envelope-from debdrup@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48TZrj38FKz3y2P for ; Fri, 28 Feb 2020 16:35:01 +0000 (UTC) (envelope-from debdrup@freebsd.org) Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com [209.85.167.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: debdrup) by smtp.freebsd.org (Postfix) with ESMTPSA id 32EE32C0C for ; Fri, 28 Feb 2020 16:35:01 +0000 (UTC) (envelope-from debdrup@freebsd.org) Received: by mail-oi1-f178.google.com with SMTP id p125so3390615oif.10 for ; Fri, 28 Feb 2020 08:35:01 -0800 (PST) X-Gm-Message-State: APjAAAW2Mt8tzINfHND/P48NgiLtkiQ7wvAKfAtq4xwjNZTHsrT40C+H Cx8vsku6rYiMXKkb1PFDwBn2vT1FUVfEKvQ3y3pFcw== X-Google-Smtp-Source: APXvYqyPvngcCRND7FjzNQVIRR3XEnsF0Z5IMzhNkiGpaQRvD3+xel50IeSdVP0xWgHA8w6zSZ7Tso0G6azuz8durWI= X-Received: by 2002:aca:c3d1:: with SMTP id t200mr1574470oif.41.1582907700441; Fri, 28 Feb 2020 08:35:00 -0800 (PST) MIME-Version: 1.0 References: <7cfc7c52-b548-19bd-343b-899aca45c654@selasky.org> In-Reply-To: <7cfc7c52-b548-19bd-343b-899aca45c654@selasky.org> From: Daniel Ebdrup Jensen Date: Fri, 28 Feb 2020 17:34:48 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Network throughput not reaching line rate. Need clarification on iflib. To: freebsd-drivers@freebsd.org, FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Feb 2020 16:35:02 -0000 Yes, iperf3 will default to single-threaded packet generation, et al. which favours fast cores with frequency boosting facilities. You might want to use iperf2 as that's properly multi-threaded, or you can use pkt-gen out of src/tools/tools/netmap/ or ports/net/pkt-gen. On Fri, Feb 28, 2020 at 10:35 AM Hans Petter Selasky wrote: > On 2020-02-28 10:03, Rajesh Kumar wrote: > > Hi FreeBSD team, > > > > I am writing a network driver using iflib framework and using "iperf3" > tool > > for performance testing. > > > > Is there any difference with "iperf" tool and using multiple threads? I > think iperf3 is single threaded ??? > > --HPS > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >