From owner-freebsd-bugs Fri Aug 11 18:50: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4CC2237BD66 for ; Fri, 11 Aug 2000 18:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA26661; Fri, 11 Aug 2000 18:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id CED7A37B511; Fri, 11 Aug 2000 18:46:39 -0700 (PDT) Message-Id: <20000812014639.CED7A37B511@hub.freebsd.org> Date: Fri, 11 Aug 2000 18:46:39 -0700 (PDT) From: xyf@stocke.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/20555: 3C509 driver performance problem Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 20555 >Category: misc >Synopsis: 3C509 driver performance problem >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 11 18:50:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: xuyifeng >Release: FreeBSD 4.0 >Organization: stocke.com >Environment: >Description: I just freshly installed Redhat Linux 6.2 and FreeBSD 4.0 on same machine, I run ApacheBench program ab on another Linux machine to test the both OS, both OS have same Apache config options, using command: ab -c 10 -n 10000 http://192.168.1.27/index.html they both give me good performance, the result is almost same, but ... FreeBSD uses more CPU time than Linux, FreeBSD CPU idle is 40%, Linux CPU idle is 60%, almost 20% CPU lost in FreeBSD! I use "top" command and see FreeBSD cost 34% of CPU time in interrupt handling, the system time is good, only 12%, my net card is old 3COM 3C509, my question is: is this the problem of 3C509 driver in FreeBSD or just is more serious FreeBSD design problem? >How-To-Repeat: from another machine run apache benchmark program to pull FreeBSD, ab -c 10 -n 10000 http://192.168.1.27/index.html >Fix: don't kown >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message