Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030232AbWEDRmE (ORCPT ); Thu, 4 May 2006 13:42:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030254AbWEDRmE (ORCPT ); Thu, 4 May 2006 13:42:04 -0400 Received: from linux01.gwdg.de ([134.76.13.21]:26578 "EHLO linux01.gwdg.de") by vger.kernel.org with ESMTP id S1030232AbWEDRmD (ORCPT ); Thu, 4 May 2006 13:42:03 -0400 Date: Thu, 4 May 2006 19:41:29 +0200 (MEST) From: Jan Engelhardt To: Roy Rietveld cc: linux-kernel@vger.kernel.org Subject: Re: TCP/IP send, sendfile, RAW In-Reply-To: Message-ID: References: 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 Content-Length: 700 Lines: 19 > I would like to send ethernet packets with 1400 bytes payload. > I wrote a small program witch sends a buffer of 1400 bytes in a endless loop. > The problem is that a would like 100Mbits throughtput but when i check this > with ethereal. > I only get 40 MBits. I tried sending with an UDP socket and RAW socket. I also > tried sendfile. > The RAW socket gives the best result till now 50 MBits throughtput. Limitation of Ethernet. Jan Engelhardt -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/