From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 21 15:16:03 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 DB7591065674 for ; Sun, 21 Jun 2009 15:16:03 +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 5D6118FC18 for ; Sun, 21 Jun 2009 15:15:52 +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 n5LFEgoA001292 for ; Sun, 21 Jun 2009 17:14:48 +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 n5LFEaHS001284 for ; Sun, 21 Jun 2009 17:14:42 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 21 Jun 2009 17:14:29 +0200 (CEST) From: Wojciech Puchar To: freebsd-hackers@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: 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: Sun, 21 Jun 2009 15:16:04 -0000 i have pentium 200 with that card. doing ftp from other machine, getting 3.5MB/s (HDD can 10MB/s, DMA) having 45%-55% interrupt load. when sending it's not that bad. tried writing file to disk with cat /dev/zero >file, it's only 3% ints with 10MB/s traffic. Why it's THAT bad? 3.5MB/s is less that 2500 packets/second. 50% at 200Mhz means 100000000 cycles spend on interrupt service, which is 40000 CPU cycles per packet.