From owner-freebsd-questions Tue Dec 5 23: 7: 7 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 23:07:00 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id F371337B6A3 for ; Tue, 5 Dec 2000 23:03:49 -0800 (PST) Received: from [195.11.243.26] (helo=Debug) by post.mail.nl.demon.net with smtp (Exim 3.14 #2) id 143YcG-00004L-00; Wed, 06 Dec 2000 07:03:48 +0000 To: Alfred Perlstein , parkpark , questions@FreeBSD.ORG From: Cliff Sarginson Subject: Re: theoretical limit for TCP/IP connections Date: Wed, 6 Dec 2000 07:03:48 GMT X-Mailer: www.webmail.nl.demon.net X-Sender: postmaster@btvs.demon.nl X-Originating-IP: 192.250.24.58 Message-Id: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > * parkpark [001205 20:50] wrote: > > > > Pleaes Help me to investigate the theoretical limit for TCP/IP > > connections over a 100Mbps line. I like to know what the line > > capacity is for a client which does: connect(), write(), close(), > > and the server does: accept(), read(), close(). These calculations > > are complicated, but I'm sure soneone can find me some snaswers. > > Please hemp me to do the calculations as soon as possible as this > > will give me a better idea of how good my current performance is > > compared to the theoretical limit for Freebsd!. > > Please wrap lines at 70 characters. > > Er, I've gotten full 100mbit with not very fast pentium machines. > > I'm not sure what you mean exactly by your question though. > I presume what you are really asking is about the efficiency of the protocol implementations from FBSD. I guess there are programs out there. But what exactly are you comparing it with ? An easy test would be to do some large file transfers I would have thought. Maybe some NFS copying. Set up a controlled environment and try it out. On the other hand since you have heard of accept,connect and other socket level system calls you could write your own test program ! That is not very difficult to do. (if you want to pay me, I will write them for you :). Remember there are a lot of things going on here. 100Mbits is the hardware spec. of the ethernet, the raw bit transfer rate. There will also be the TCP/IP overhead. There will also be the application protocol overhead. The quality of your network hardware Etc. Let us know what you are comparing it with... Cliff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message