From owner-freebsd-hackers Thu Nov 6 23:31:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA15763 for hackers-outgoing; Thu, 6 Nov 1997 23:31:04 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from misery.sdf.com (misery.sdf.com [204.244.210.193]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id XAA15758 for ; Thu, 6 Nov 1997 23:31:00 -0800 (PST) (envelope-from tom@sdf.com) Received: from tom by misery.sdf.com with smtp (Exim 1.73 #1) id 0xTim9-0000pz-00; Thu, 6 Nov 1997 23:24:17 -0800 Date: Thu, 6 Nov 1997 23:24:16 -0800 (PST) From: Tom To: Joe McGuckin cc: hackers@freebsd.org Subject: Re: Resolution of: 'sys' is consuming %50 of cpu In-Reply-To: <199711070320.TAA11526@monk.via.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 6 Nov 1997, Joe McGuckin wrote: > After replacing the 3COM 3C509 with an Intel Etherexpress 100/B card, > system usage dropped from 75% to 30%. > > I've noticed something else: The load average hovers around 5-10. On the old > machine (200Mhz MMX Pentium) is stayed pegged at 50. The 300Mhz Pentium II > is supposed to be twice as fast as the 200Mhz MMX Pentium. I was expecting > load values in the 25-30 range. > > This makes me think that there's some kernel resource that I was running out > of - that once I hit that limit, the kernel would get bogged down. Not necessarily. The vx driver isn't so great, and it uses programmed I/O. It is probably blocking too long while communicating with the card, driving up the sys time. During this time, no user processes are running, driving up the load average as many processes become runnable. The fxp driver uses DMA, so some card transactions can probably be handled without involving the CPU. > Joe Tom