From owner-freebsd-net@FreeBSD.ORG Sat May 7 16:32:34 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 122A716A4DB for ; Sat, 7 May 2005 16:32:34 +0000 (GMT) Received: from freebsd.giovannelli.com (freebsd.giovannelli.com [83.149.149.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9E0743D76 for ; Sat, 7 May 2005 16:32:31 +0000 (GMT) (envelope-from gmarco@masternet.it) Received: from usul.giovannelli.it (usul.giovannelli.com [10.254.254.4]) j47GVYo0045304; Sat, 7 May 2005 18:31:34 +0200 (CEST) (envelope-from gmarco@masternet.it) Message-Id: <6.2.1.2.2.20050507181552.033114d8@83.149.160.120> X-Mailer: QUALCOMM Windows Eudora Version 6.2.1.2 Date: Sat, 07 May 2005 18:26:06 +0200 To: "Mike Jakubik" , "Joao Barros" From: Gianmarco Giovannelli In-Reply-To: <1489.172.16.0.199.1115480721.squirrel@172.16.0.1> References: <70e8236f05050708204937ded0@mail.gmail.com> <1489.172.16.0.199.1115480721.squirrel@172.16.0.1> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-AntiVirus: checked by AVIRA Milter (version: 1.0.0-6; AIE: 6.30.0.12; VDF: 6.30.0.160; host: localhost) cc: freebsd-net@freebsd.org Subject: Re: ntop on FreeBSD 5.4ish and threading X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2005 16:32:34 -0000 At 17.45 07/05/2005, Mike Jakubik wrote: >On Sat, May 7, 2005 11:20 am, Joao Barros said: >> Hi all, >> >> >> I recently tried ntop on FreeBSD 5.4 RC3 and RC4 and was disappointed >> with the problems I bumped into. I reported this to ntop's developers >> mailing list and a few coments about FreeBSD threading came up. It would >> be interesting if someone could take a look at the thread I started: >> http://listgateway.unipi.it/pipermail/ntop/2005-May/010397.html >> >> >> My thanks in advance, > >Ntop is badly broken on FreeBSD, has been for a while. I reported this a >long time ago to the port maintainers, but nothing. It should be removed >from the ports tree. I'd like to pointed out that the author of ntop have now a freebsd (5.x)=20 box on which he could make some test and the latest version is running=20 quite smoothly here, at least it doesn't hangs anymore... The box is able to capture the mirrors traffic generated by two juniper M7= =20 loosing not more than 10% of the packets on aggregated traffic. The cpu=20 load is around 20% and the box is a P4 3ghz 1gb ram with intel fxp cards. The packet loss is due (according to Luca statement) to our threads=20 implementation and it should not happens having soo much free cpu :-) The version is running here is: Report created on Sat May 7 18:29:50 2005 [ntop uptime: 8 days 7:35:42] Generated by ntop v.3.1.1 MT (SSL)=20 [i386-unknown-freebsd5.3]=A9 1998-2005 by Luca Deri,= =20 built: Apr 20 2005 17:28:01. Listening on [fxp2,Consiag] for all packets (i.e. without a filtering=20 expression) Web reports include only interface "fxp2" =20