From owner-freebsd-hackers Mon Aug 7 21:15:54 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.osd.bsdi.com (adsl-63-206-89-56.dsl.snfc21.pacbell.net [63.206.89.56]) by hub.freebsd.org (Postfix) with ESMTP id 3471B37B825 for ; Mon, 7 Aug 2000 21:15:50 -0700 (PDT) (envelope-from msmith@mass.osd.bsdi.com) Received: from mass.osd.bsdi.com (localhost [127.0.0.1]) by mass.osd.bsdi.com (8.9.3/8.9.3) with ESMTP id VAA08691; Mon, 7 Aug 2000 21:27:12 -0700 (PDT) (envelope-from msmith@mass.osd.bsdi.com) Message-Id: <200008080427.VAA08691@mass.osd.bsdi.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Dennis Cc: hackers@freebsd.org Subject: Re: FreeBSD belly up with big config In-reply-to: Your message of "Mon, 07 Aug 2000 21:24:01 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 07 Aug 2000 21:27:12 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >> It seems that there is substantial overhead just scanning interfaces for > >> some routine maintenance...is there any hope of alleviating this deboggle? > > > >Probably. Without some idea of what's actually happening, though, it's a > >little hard to point a finger and say "look here". > > > >A profiling dump of the system when idle would be very illuminating, as > >it'd give you a good idea of what's actually going on to use so much CPU > > How do I do this in 4.1? I have a test bed set up that demonstrates the > problem. Config your kernel with '-pg', build and install. (See config(8)) Low-resolution profiling should be fine. Boot the new kernel, and when it's running use kgmon to grab a profiling dump for, say, 30 seconds. Then use gprof to translate the dump into readable output; at this point the flat profile is a good place to start to get a feel for where the code is busiest. Hope this helps. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message