From owner-freebsd-questions@FreeBSD.ORG Thu Dec 3 10:51:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AF791065693 for ; Thu, 3 Dec 2009 10:51:38 +0000 (UTC) (envelope-from igorr@canmos.ru) Received: from sta1.canmos.ru (sta1.canmos.ru [89.107.124.11]) by mx1.freebsd.org (Postfix) with ESMTP id 8B8EB8FC1F for ; Thu, 3 Dec 2009 10:51:37 +0000 (UTC) Received: from sta1.canmos.ru (sta1.canmos.ru [89.107.124.11]) by sta1.canmos.ru (Postfix) with ESMTP id C9BC1127A46 for ; Thu, 3 Dec 2009 13:28:06 +0300 (MSK) Date: Thu, 3 Dec 2009 13:28:06 +0300 (MSK) From: "Igor V. Ruzanov" To: freebsd-questions@freebsd.org Message-ID: X-GPG-PUBLIC-KEY: 1024D/494AF6DC 2008-03-20 Igor V. Ruzanov X-GPG-FINGERPRINT: A723 B6CC 11ED A4E2 1909 C4DC 6EDE 9089 494A F6DC MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: FreeBSD 8.0 retires into itself X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2009 10:51:38 -0000 Hello! I have updated FreeBSD 8.0 sources via cvsup and compiled system. uname -a shows: FreeBSD localhost 8.0-RELEASE FreeBSD 8.0-RELEASE #2: Mon Nov 30 20:15:12 MSD 2009 root@localhost:/usr/src/sys/i386/compile/HOME-PAE i386 Machine has 3 physical interfaces: - em0 (PCI/Intel PWLA 8390 MT) - em1 (PCI/Intel PWLA 8390 MT) - fxp0 (PCI/Intel EtherExpress PRO/100) and 2 VLANs: vlan317 and vlan320. Also there is one interface built in motherboard: - ale0 (PCI-E/Atheros AR8121) One physical interface (em0) is in trunk mode (802.1Q) to configure these two VLANs (vlan317 and vlan320) interfaces. Machine acts as BGP router. It has 3 uplinks: - vlan317 - vlan320 - fxp0 and one backbone interface: - em1. Next, i recompiled all userland and made all necessary configurations after which the machine became as production BGP router installed in server room. So issue looks like the following: After 20-30 minutes of stable work, the system starts to "retire into itself": any user processes (bgpd, zebra, named) don't respond, For example a can't telnet to bgpd control terminal, telnet just dies showing: Trying 127.0.0.1... Connected to localhost. Escape character is '^]' I even tried to login into system from local console. But when i pressed Enter after username was typed, the console just hang. Power button also doesn't respond (in usual case pressing on Power button gives the machine is going to power off). One interesting thing: after system was booted, top command shows: system eats about 28-30% of CPU time interrupts eat about only 6-7% of CPU time all user processes eat less than 0-1% of CPU time On another working machine (same BGP router, but system is FreeBSD 7.0-STABLE p4) the picture seems to be different: system etas 9-10% of CPU time interrupts eat 15-16% of CPU time So my question is the REASONS that cause such system behavior. I read UPDATING, so kernel in FreeBSD 8.0 RELEASE was largely reworked, in particular - SMPng in order to remove all non-MPSAFE driver's locks (netperf project). Are there new specific kernel config options to get better perfomance of network subsystem? Or should i set some sysctl variables? My hardware: - Motherboard: ASUS P5P43TD (with built in Gigabit LAN Atheros AR8121) - Core 2 Quad CPU - 4G RAM (2x2048) kernel compiled with PAE support, ULE-scheduler, with PREEMPTION option. If you need whole kernel config, please let me know, i will post it ASAP. Thanks in advance! +-------------------------------------------+ ! CANMOS ISP Network ! +-------------------------------------------+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: igorr@canmos.ru ! +-------------------------------------------+