From owner-freebsd-stable@FreeBSD.ORG Thu Mar 15 13:22:10 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B876816A403 for ; Thu, 15 Mar 2007 13:22:10 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by mx1.freebsd.org (Postfix) with ESMTP id 9060713C469 for ; Thu, 15 Mar 2007 13:22:10 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out1.internal (unknown [10.202.2.149]) by out1.messagingengine.com (Postfix) with ESMTP id F051E1F8BAB; Thu, 15 Mar 2007 09:22:09 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by out1.internal (MEProxy); Thu, 15 Mar 2007 09:22:09 -0400 X-Sasl-enc: 5O7hdYSs3kl217B2KI6hitsZzBd5j3zTJ/KJkkyr0DvZ 1173964930 Received: from [192.168.123.18] (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id 335FE112AE; Thu, 15 Mar 2007 09:22:10 -0400 (EDT) Message-ID: <45F94880.5030508@FreeBSD.org> Date: Thu, 15 Mar 2007 13:22:08 +0000 From: "Bruce M. Simpson" User-Agent: Thunderbird 1.5.0.9 (X11/20070125) MIME-Version: 1.0 To: emilec@clarotech.co.za References: <000601c766ea$91e51b80$7efaa8c0@clarotech.co.za> In-Reply-To: <000601c766ea$91e51b80$7efaa8c0@clarotech.co.za> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Openvpn tap uses 99% cpu time X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2007 13:22:10 -0000 Emile Coetzee wrote: > > I then ran > > ktrace -p 1083 -f openvpn2.dump > > This produced no data at all. > Shouldn't. :-) You need to run ktrace then kdump to dump the trace. Correlate the cpu spin with the wallclock time in the kdump output, and paste an excerpt of what you get -- it sounds like it is spinning on a syscall. I can't seem to get the stuff from pastebin, it just times out, so ok to post an excerpt here. Thanks, BMS