From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 22 11:11:58 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0DCE1065779 for ; Mon, 22 Jun 2009 11:11:58 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::2]) by mx1.freebsd.org (Postfix) with ESMTP id C93C28FC0C for ; Mon, 22 Jun 2009 11:11:57 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id n5MBAxCJ028820; Mon, 22 Jun 2009 13:11:00 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id n5MBAtXo028799; Mon, 22 Jun 2009 13:10:57 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 22 Jun 2009 13:10:54 +0200 (CEST) From: Wojciech Puchar To: Sergey Babkin In-Reply-To: <4A3EC37B.F589EA09@verizon.net> Message-ID: References: <86eitdy4hl.fsf@ds4.des.no> <4A3EC37B.F589EA09@verizon.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: =?ISO-8859-15?Q?Dag-Erling_Sm=F8rgrav?= , freebsd-hackers@freebsd.org Subject: Re: is RTL8139 THAT bad? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2009 11:12:07 -0000 >> >> But - this computer can do memcpy at 80MB/s, so at 3.5MB/s it should be 5% >> CPU for memcpy, and one interrupt per one packet (2500 packets/s). >> >> Is something more that make it consume >50% CPU? > > Accessing the on-card memory through PCI is guaranteed to be > slower than the main memory, and depending on the particular > card it may be much slower. as comment say - this card do DMA to main memory then computer must copy. so PCI speed needs just to be faster than 100Mbit/s, certainly is