From owner-freebsd-net@freebsd.org Sat Jan 23 15:29:39 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83E34A8EF85 for ; Sat, 23 Jan 2016 15:29:39 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 506E9107D for ; Sat, 23 Jan 2016 15:29:39 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-ig0-x22d.google.com with SMTP id h5so8741759igh.0 for ; Sat, 23 Jan 2016 07:29:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=e9q/kmiigzoL2qh80eM7ryMeNg4JocjTqzBY5gJj/nA=; b=KBdt/fUx3vnPtU1GZiMu6FTokoGA5VICqKt7a/y+J5GdUlcWztKma6W0rG4ZRs0CpR AI11daU9vAz8Aw+JUsVfKHu8zSyWgKjt/0GQFkrytBUaEo9N4LVmYcvWUbHlNLJibKLp 1GXPtfNDWidQE4TAfgZev/Hp5JKQC5K0jd7dDFpC0QRYkV7SpCNsxTygk3rnk8wGheIH YlsZBgwMgv7rI5BcbcBofrz/npXzTsXkrdDeDupPSZ+tLv9BhOnrlLNqJv7N0jCG+dkd EFlGHBOtJwCqxKzs0TdJPh+wMiyZm4mBj7ZXe38qr/awlaTsETASRcB8t4QMs0D+Rq1a Wh1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=e9q/kmiigzoL2qh80eM7ryMeNg4JocjTqzBY5gJj/nA=; b=cybeQidHole5Png0lWuKmY+UZ450uc2qAhZtJ0sQaKJORtP+jxivrs0MtuS89P+Bn+ AvtR5+dIv9y09FHJMWFMox9D+TbXr91hRt6Gf1miyz7BY8kvSRvXw6l+f2GQrbLZS8BM QqJRf5cgM2N4jCsKa+UOoa62xzp4nZ0UjX+0aKEejlcsT8tZmyE8wcvFFJTtf111a7e6 rtbW/Ayxk3brEN9DLaYXqjA7z7kA7zbRYVYbKfrqs5bKypYZUnGWXemBoq51Xk4RAZW/ HBIn861QceoEp/g8jUjnENTou/bmAc6CbSPXmft6xBmh4beSL6CMVcQc84BelRYzWrTw wApQ== X-Gm-Message-State: AG10YORnA/Ewf67Awl5euTC6NXk/x1cgVmD9dows86jVXEfTWfXIjIGc6E6/Miv1MidfGaYmkWL07Es6bM2CcQ== MIME-Version: 1.0 X-Received: by 10.50.150.36 with SMTP id uf4mr8539149igb.61.1453562978728; Sat, 23 Jan 2016 07:29:38 -0800 (PST) Received: by 10.36.121.16 with HTTP; Sat, 23 Jan 2016 07:29:38 -0800 (PST) In-Reply-To: <20160123053428.2091EA0121@smtp.hushmail.com> References: <20160123053428.2091EA0121@smtp.hushmail.com> Date: Sat, 23 Jan 2016 07:29:38 -0800 Message-ID: Subject: Re: Chelsio T520-SO-CR low performance (netmap tested) for RX From: Adrian Chadd To: Marcus Cenzatti Cc: FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2016 15:29:39 -0000 What are you doing for RX? More netmap? Or the normal stack? -a On 22 January 2016 at 21:34, Marcus Cenzatti wrote: > hello, > > I am testing a chelsio t520-so-cr connected to a Intel card with ix(4) driver, I can get the ncxl0 interface to transmit at 14Mpps to another chelsio or to a Intel card. However I can only get 800Kpps-1Mpps for RX tests from both chelsio or Intel. > > I have test with both FreeBSD 11 and FreeBSD 10.3-PRERELEASE. > > I tested it untuned first and later I have applied tuning recommendations I found on BSDRP[1] website. Results still ranging from 800Kpps to 1Mpps for RX. > > Tests are done w/ with pkt-gen in netmap mode on ncxl interface with both IP address and MAC address source/dest. > > I have tested ix-ix and I can confirm 14Mpps for both RX and TX directions. I have tested with two different chelsio T520 and both have the very same results. > > What particular loader/sysctl or ifconfig options I should investigate? > > I also tested disabling txcsum, rxcsum and TSO. Results are different but still on the much lower mentioned 800K-1M pps rate. > > thank you > > [1]http://bsdrp.net/documentation/examples/forwarding_performance_lab_of_a_hp_proliant_dl360p_gen8_with_10-gigabit_with_10-gigabit_chelsio_t540-cr > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"