From owner-freebsd-performance@FreeBSD.ORG Fri Jan 12 16:07:22 2007 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5F74C16A415 for ; Fri, 12 Jan 2007 16:07:22 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30312.mail.mud.yahoo.com (web30312.mail.mud.yahoo.com [209.191.69.74]) by mx1.freebsd.org (Postfix) with SMTP id 2908713C442 for ; Fri, 12 Jan 2007 16:07:22 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 40992 invoked by uid 60001); 12 Jan 2007 16:07:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=xM25fv3Hfu8s/Vf1pFZki9VokLyg6Yb8ltsicARHgORGi5Kxrp2R+zzrBiGQmRK0IYQ3gxPF8VC3z6flOW972KGENDY2C+vHENOXOvAhaO1/EJ9XAgCNvEcXIxZQDwVoB+/T7qR737app03Kr0Z5zaXogrnptkwtPOL/yTd9fS8=; X-YMail-OSG: XGJbyi8VM1lUbm86BkfOdeln0DJvscxxZ34BFv6ZtwoW9HlDxTsEZ3W4n0NhibTLhnEQcVdDtx1X7ucDMtP6jguBT3JOmxb5wrKEfH_utEUxZZzxc5cmpFre4nhcE.GB2_G69rCW.wy2mSs- Received: from [85.212.6.114] by web30312.mail.mud.yahoo.com via HTTP; Fri, 12 Jan 2007 08:07:21 PST Date: Fri, 12 Jan 2007 08:07:21 -0800 (PST) From: "R. B. Riddick" To: freebsd-performance@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <465799.40884.qm@web30312.mail.mud.yahoo.com> Subject: Re: network perf : em driver ? X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2007 16:07:22 -0000 --- Ivan Voras wrote: > R. B. Riddick wrote: > > We had that problem before: Some HTTP server implementations just dont > > bring it... :-) thttpd is quite efficient, I have heard... > > This is a red herring. The OP reports he transfers a single file - http > server performance cannot even approach to influence the performance in > his case (and he's using apache!). There's absolutely no reason to > replace apache here. > Soso... Those are words and no herrings (especially no red herrings); their colour should be black in most cases... As the "OP" (what is that exactly? again an animal?) mentioned: Apache performs worse than scp. My memory tells me similar things... Remember: Apache is optimized for LINUX not necessarily for FreeBSD... I am pretty sure, that I could write an http server, that does not use more than 1% of a Gigabit/connection... So there might be a very good reason to replace Apache (2.2 or what it was) by something, that is smarter on FreeBSD (like scp with http capability but without encryption)... So we want to conclude, that I do not apply tricks or feints, and that I do not have any reason to do so... I just reflect here, what I have learned... pro bono publico hopefully... > > You can try > > > 2. increase MTU (ifconfig em0 mtu 65536 or so; never tried that myself) > > Don't do that. His ifconfig output lists his card doesn't support jumbo > frames, and most ethernet card's will wedge if you use MTU > 1500, let > alone a nonstandard one as 65536. > > Even in 1999, standard 1500 byte frames could yield 400 Mbit/s > (http://sd.wareonearth.com/~phil/jumbo.html) > Oh OK... I wasnt aware that there are Gbit NICs, that cant do big mtu-s... > > 3. ports/benchmarks/tcpblast > > I've found iperf to be more useful. > Soso... Was it slower? Or what? -Arne ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367