From owner-freebsd-stable@FreeBSD.ORG Tue Oct 7 20:53:09 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07978106564A; Tue, 7 Oct 2008 20:53:09 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id C263E8FC20; Tue, 7 Oct 2008 20:53:08 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KnJYJ-0001xk-2p; Tue, 07 Oct 2008 21:53:07 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KnJYJ-000Hut-1A; Tue, 07 Oct 2008 21:53:07 +0100 To: joe@osoft.us In-Reply-To: <48EBAB50.5000707@osoft.us> Message-Id: From: Pete French Date: Tue, 07 Oct 2008 21:53:07 +0100 Cc: antik@bsd.ee, koitsu@FreeBSD.org, freebsd-stable@freebsd.org Subject: Re: fxp performance with POLLING X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 20:53:09 -0000 > That was a rule of thumb in the heyday of async serial lines, which used > a start and stop bit per byte. > > However, ethernet at 100Mbit is 4B5B coded at a 125mhz rate. So the raw Errr, 4B5B *is* 10 bits per byte surely? > Even in the later days of modems this rule applied less and less, > because the modulation schemes became synchronous. Gig ether is mainly 8B10, as is Firewire, SATA, FibreChannel and a load of others I can't remember off the top of my head. I wouldn't stay it's a hard and fast rule, but it still gives a better estimate than dividing by eight which is what people naiively do. Mind you, it assumes that you know the real bit rate, which in the case of 100baseT is, as you say, actualy 125mbits/sec. -pete.