From owner-freebsd-performance@FreeBSD.ORG Sun Jan 21 09:30:45 2007 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A8A3816A401 for ; Sun, 21 Jan 2007 09:30:45 +0000 (UTC) (envelope-from mefystofel@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.234]) by mx1.freebsd.org (Postfix) with ESMTP id 6FC1E13C44B for ; Sun, 21 Jan 2007 09:30:45 +0000 (UTC) (envelope-from mefystofel@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so956773wxc for ; Sun, 21 Jan 2007 01:30:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=IdfvDvRhmS9ReJLPVOVibuIRu7dWzxlz1VXInUzW2IIaYoTgR6v5nkIQWxUsAYoc6Mb/h7AF78tC3AImuc3QHQChPq4Jy9KnjOdcu9CncqbpO/Jx8Px2LtXnQ7SuxlEszhG7bBeeCcDvD0aAF6ZlHUK34piDmRR+8nuP4FSZaMM= Received: by 10.90.78.9 with SMTP id a9mr4953115agb.1169370212930; Sun, 21 Jan 2007 01:03:32 -0800 (PST) Received: by 10.90.66.16 with HTTP; Sun, 21 Jan 2007 01:03:32 -0800 (PST) Message-ID: Date: Sun, 21 Jan 2007 14:03:32 +0500 From: "Roman Serbski" To: freebsd-performance@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Slow network performance (em0 & catalyst 2950) X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jan 2007 09:30:45 -0000 Hello list, I am facing with really slow network performance (nfs/ftp) under FreeBSD 6.2-PRERELEASE with em0 NIC connected to Cisco Catalyst 2950 switch. The transfer speed is ~150-200kbps for nfs, ftp and httpd. Here is more information about my setup: em0: port 0xdc00-0xdc3f mem 0xfcfa0000-0xfcfbffff irq 54 at device 4.0 on pci3 %ifconfig em0: flags=8843 mtu 1500 options=b inet 192.168.1.5 netmask 0xfffffff0 broadcast 192.168.1.15 ether 00:04:23:c7:61:3a media: Ethernet autoselect (100baseTX ) status: active The server is connected to Cisco Catalyst 2950 switch (latest IOS) with 'auto' set for duplex and speed. 'sh int' shows 100baseTX and full-duplex. I googled two threads with the similar symptoms: http://www.daemonnews.org/mailinglists/FreeBSD/freebsd-performance/msg01732.html http://unix.derkeiler.com/Mailing-Lists/FreeBSD/performance/2003-06/0014.html Tried everything mentioned there, but it didn't help. I tried to set 100baseTX and full-duplex both on FreeBSD and Cisco - same slow throughput. Also tried to play with sysctl - no luck. netstat -i doesn't show anything suspicious: Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll em0 1500 00:04:23:c7:61:3a 21401 0 31364 0 0 Anyone with the similar problem? I am ready to provide more detailed information and I would highly appreciate your assistance! Thank you in advance. From owner-freebsd-performance@FreeBSD.ORG Sun Jan 21 20:55:54 2007 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DBF8916A401 for ; Sun, 21 Jan 2007 20:55:54 +0000 (UTC) (envelope-from tec@mega.net.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id 66CBC13C448 for ; Sun, 21 Jan 2007 20:55:53 +0000 (UTC) (envelope-from tec@mega.net.br) Received: from ap-h.matik.com.br (ap-h.matik.com.br [200.152.83.36]) by msrv.matik.com.br (8.13.8/8.13.1) with ESMTP id l0LJhjsm087620 for ; Sun, 21 Jan 2007 17:43:45 -0200 (BRST) (envelope-from tec@mega.net.br) From: NOC Meganet Organization: Prowip Telecom Ltda To: freebsd-performance@freebsd.org Date: Sun, 21 Jan 2007 17:44:15 -0300 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701211744.15804.tec@mega.net.br> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on msrv.matik.com.br X-Virus-Status: Clean Subject: net.isr.enable mysql hangs or pc crash X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jan 2007 20:55:54 -0000 Hi it is 5.5-Stable SMP i386, but I have not possibility to upgrade at this time, so I wonder if somebody might have an idea here. net.isr.enable=1 gives me a great performance boost as long as the machine is running I have MySQL running on it and I get two possible results or one of the MySQL instances occupies very fast up to 100% cpu time and soon or later the machine freeze, when I see it in time and can still login I see no specific error in any log or I get a sudden reboot without panic or any other advice mostly it is the reboot what happens and it might be after 30 minutes, sometimes after a day, no rule at all net.isr.enable=0 and it runs fine forever but slower can I do something else in order to stay with it enabled? Hans A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-performance@FreeBSD.ORG Mon Jan 22 18:20:06 2007 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DF8BB16A405 for ; Mon, 22 Jan 2007 18:20:06 +0000 (UTC) (envelope-from garcol@postino.it) Received: from abraham.elitel.it (vdisk2.elitel.it [212.34.224.151]) by mx1.freebsd.org (Postfix) with SMTP id 6622C13C471 for ; Mon, 22 Jan 2007 18:20:05 +0000 (UTC) (envelope-from garcol@postino.it) Received: (qmail 10003 invoked by uid 65534); 22 Jan 2007 18:19:44 -0000 X-Spam-Checker-Version: SpamAssassin on abraham.elitel.it X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.2 tests=BAYES_00,NO_REAL_NAME autolearn=no Received: from 212.63.96.97 ([212.63.96.97]) by www.postino.punto.it (IMP) with HTTP for ; Mon, 22 Jan 2007 19:19:42 +0100 Message-ID: <1169489982.45b5003ef2dcb@www.postino.punto.it> Date: Mon, 22 Jan 2007 19:19:42 +0100 From: garcol@postino.it To: "freebsd-performance@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Originating-IP: 212.63.96.97 Subject: net.isr.enable mysql hangs or pc crash X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2007 18:20:07 -0000 Hi, It's not stable on 5.x ... See http://freebsd.monkey.org/freebsd-performance/200510/msg00015.html From owner-freebsd-performance@FreeBSD.ORG Mon Jan 22 23:19:54 2007 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3DC3716A401 for ; Mon, 22 Jan 2007 23:19:54 +0000 (UTC) (envelope-from tec@mega.net.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id A49BC13C480 for ; Mon, 22 Jan 2007 23:19:53 +0000 (UTC) (envelope-from tec@mega.net.br) Received: from ap-h.matik.com.br (ap-h.matik.com.br [200.152.83.36]) by msrv.matik.com.br (8.13.8/8.13.1) with ESMTP id l0MNJoLf015614; Mon, 22 Jan 2007 21:19:51 -0200 (BRST) (envelope-from tec@mega.net.br) From: NOC Meganet Organization: Prowip Telecom Ltda To: freebsd-performance@freebsd.org Date: Mon, 22 Jan 2007 21:20:14 -0300 User-Agent: KMail/1.9.4 References: <1169489982.45b5003ef2dcb@www.postino.punto.it> In-Reply-To: <1169489982.45b5003ef2dcb@www.postino.punto.it> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701222120.14337.tec@mega.net.br> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on msrv.matik.com.br X-Virus-Status: Clean Cc: garcol@postino.it Subject: Re: net.isr.enable mysql hangs or pc crash X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2007 23:19:54 -0000 On Monday 22 January 2007 15:19, garcol@postino.it wrote: > Hi, > It's not stable on 5.x ... > yup, this one I learned already the hard way ;) > See > http://freebsd.monkey.org/freebsd-performance/200510/msg00015.html I never found this before, mille grazie! Hans A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-performance@FreeBSD.ORG Wed Jan 24 19:44:36 2007 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 350C016A401 for ; Wed, 24 Jan 2007 19:44:36 +0000 (UTC) (envelope-from marcelo@registro.br) Received: from clone.registro.br (clone.registro.br [200.160.2.4]) by mx1.freebsd.org (Postfix) with ESMTP id E7AFB13C448 for ; Wed, 24 Jan 2007 19:44:35 +0000 (UTC) (envelope-from marcelo@registro.br) Received: by clone.registro.br (Postfix, from userid 1014) id 8ECAB2A475; Wed, 24 Jan 2007 17:17:25 -0200 (BRST) Date: Wed, 24 Jan 2007 17:17:25 -0200 From: Marcelo Gardini do Amaral To: garcol@postino.it Message-ID: <20070124191725.GC11721@registro.br> References: <1169205068.45b0a74c17e88@www.postino.punto.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1169205068.45b0a74c17e88@www.postino.punto.it> User-Agent: Mutt/1.4.2.1i Cc: freebsd-performance@freebsd.org Subject: Re: Performance on udp socket X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2007 19:44:36 -0000 On Fri, Jan 19, 2007 at 12:11:08PM +0100, garcol@postino.it wrote: > Hi, > I've seen a packets drop with high rate of radius authentication request > (UDP 150 byte) > The software is radiator (perl), and it seems not to be dependent on CPU speed. > How is possible to avoid this with a more accurate tuning? > Which release of FreeBSD are you running? Which NIC are you using? -- Att., Marcelo Gardini NIC .br From owner-freebsd-performance@FreeBSD.ORG Thu Jan 25 08:28:18 2007 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED8B616A404 for ; Thu, 25 Jan 2007 08:28:18 +0000 (UTC) (envelope-from garcol@postino.it) Received: from abraham.elitel.it (vdisk2.elitel.it [212.34.224.151]) by mx1.freebsd.org (Postfix) with SMTP id 42D5713C442 for ; Thu, 25 Jan 2007 08:28:18 +0000 (UTC) (envelope-from garcol@postino.it) Received: (qmail 31403 invoked by uid 65534); 25 Jan 2007 08:27:57 -0000 X-Spam-Checker-Version: SpamAssassin on abraham.elitel.it X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.2 tests=BAYES_00,NO_REAL_NAME autolearn=no Received: from 212.63.96.97 ([212.63.96.97]) by www.postino.punto.it (IMP) with HTTP for ; Thu, 25 Jan 2007 09:27:57 +0100 Message-ID: <1169713677.45b86a0dbc06d@www.postino.punto.it> Date: Thu, 25 Jan 2007 09:27:57 +0100 From: garcol@postino.it To: marcelo@registro.br References: <1169205068.45b0a74c17e88@www.postino.punto.it> <20070124191725.GC11721@registro.br> In-Reply-To: <20070124191725.GC11721@registro.br> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Originating-IP: 212.63.96.97 Cc: freebsd-performance@freebsd.org Subject: Re: Performance on udp socket X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jan 2007 08:28:19 -0000 Hi, FreeBSD 4.11-RELEASE-p25 (NEW_KERNEL_NO_RAID) fxp0: flags=8843 mtu 1500 media: Ethernet autoselect (100baseTX ) status: active Alessandro Scrive Marcelo Gardini do Amaral : > On Fri, Jan 19, 2007 at 12:11:08PM +0100, garcol@postino.it wrote: > > Hi, > > I've seen a packets drop with high rate of radius authentication > request > > (UDP 150 byte) > > The software is radiator (perl), and it seems not to be dependent on CPU > speed. > > How is possible to avoid this with a more accurate tuning? > > > > Which release of FreeBSD are you running? > > Which NIC are you using? > > > -- > Att., > > Marcelo Gardini > NIC .br > From owner-freebsd-performance@FreeBSD.ORG Fri Jan 26 17:27:41 2007 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 584FF16A400 for ; Fri, 26 Jan 2007 17:27:41 +0000 (UTC) (envelope-from marcelo@registro.br) Received: from clone.registro.br (clone.registro.br [200.160.2.4]) by mx1.freebsd.org (Postfix) with ESMTP id 1506013C48A for ; Fri, 26 Jan 2007 17:27:41 +0000 (UTC) (envelope-from marcelo@registro.br) Received: by clone.registro.br (Postfix, from userid 1014) id C4B2D2A596; Fri, 26 Jan 2007 15:27:39 -0200 (BRST) Date: Fri, 26 Jan 2007 15:27:39 -0200 From: Marcelo Gardini do Amaral To: garcol@postino.it Message-ID: <20070126172739.GE11721@registro.br> References: <1169205068.45b0a74c17e88@www.postino.punto.it> <20070124191725.GC11721@registro.br> <1169713677.45b86a0dbc06d@www.postino.punto.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1169713677.45b86a0dbc06d@www.postino.punto.it> User-Agent: Mutt/1.4.2.1i Cc: freebsd-performance@freebsd.org Subject: Re: Performance on udp socket X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jan 2007 17:27:41 -0000 Hi Alessandro, On Thu, Jan 25, 2007 at 09:27:57AM +0100, garcol@postino.it wrote: > Hi, > > FreeBSD 4.11-RELEASE-p25 (NEW_KERNEL_NO_RAID) > > fxp0: flags=8843 mtu 1500 > media: Ethernet autoselect (100baseTX ) > status: active > I have some problems [1] with FreeBSD 6.1 and bge NIC, but with FreeBSD 4.11 and fxp0 I always got nice performance on UDP traffic. [1] http://www.mail-archive.com/freebsd-performance@freebsd.org/msg01063.html -- Att., Marcelo Gardini NIC .br