From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757780AbXHTKNW (ORCPT ); Mon, 20 Aug 2007 06:13:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753183AbXHTKNN (ORCPT ); Mon, 20 Aug 2007 06:13:13 -0400 Received: from cantor2.suse.de ([195.135.220.15]:33576 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751596AbXHTKNM (ORCPT ); Mon, 20 Aug 2007 06:13:12 -0400 To: "Felix Marti" Cc: "David Miller" , , , , , , Subject: Re: [ofa-general] Re: [PATCH RFC] RDMA/CMA: Allocate PS_TCPportsfrom the host TCP port space. References: <8A71B368A89016469F72CD08050AD334018E20BC@maui.asicdesigners.com> <20070819.174017.77241227.davem@davemloft.net> <8A71B368A89016469F72CD08050AD334018E20BE@maui.asicdesigners.com> <20070819.180540.74750322.davem@davemloft.net> <8A71B368A89016469F72CD08050AD334018E20C1@maui.asicdesigners.com> From: Andi Kleen Date: 20 Aug 2007 13:07:06 +0200 In-Reply-To: <8A71B368A89016469F72CD08050AD334018E20C1@maui.asicdesigners.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org "Felix Marti" writes: > > avoidance gains of TSO and LRO are still a very worthwhile savings. > So, i.e. with TSO, your saving about 16 headers (let us say 14 + 20 + > 20), 864B, when moving ~64KB of payload - looks like very much in the > noise to me. TSO is beneficial for the software again. The linux code currently takes several locks and does quite a few function calls for each packet and using larger packets lowers this overhead. At least with 10GbE saving CPU cycles is still quite important. > an option to get 'high performance' Shouldn't you qualify that? It is unlikely you really duplicated all the tuning for corner cases that went over many years into good software TCP stacks in your hardware. So e.g. for wide area networks with occasional packet loss the software might well perform better. -Andi