From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 13:32:54 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0318916A423 for ; Tue, 25 Apr 2006 13:32:54 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: from smtpout09-04.prod.mesa1.secureserver.net (smtpout09-04.prod.mesa1.secureserver.net [64.202.165.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 9222643D46 for ; Tue, 25 Apr 2006 13:32:53 +0000 (GMT) (envelope-from Stephen.Clark@seclark.us) Received: (qmail 4178 invoked from network); 25 Apr 2006 13:32:52 -0000 Received: from unknown (24.144.77.138) by smtpout09-04.prod.mesa1.secureserver.net (64.202.165.17) with ESMTP; 25 Apr 2006 13:32:52 -0000 Message-ID: <444E2503.9090506@seclark.us> Date: Tue, 25 Apr 2006 09:32:51 -0400 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Freebsd Stable 6.x ipsec slower than with 4.9 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stephen.Clark@seclark.us List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 13:32:54 -0000 Hello List, I have to dualcore Athlon 64 4800+ systems. Initially I was running 4.9 on both of them an was able to get 54mbits thru direct connected realtek 10/100 cards as measured by nttcp. I put stable on one of the system and now can on get 37mbits as measured by nttcp when going thru an ipsec tunnel. Eliminating the tunnel I get 94mbit/sec. Ideas as to why this is happening? Also with 6.x I get some failed messages from dmesg: Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-RC #1: Mon Apr 24 16:43:40 EDT 2006 root@fbsd6.netwolvesrd.com:/usr/src/sys/i386/compile/WOLFPAC6SMP WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant WARNING: MPSAFE network stack disabled, expect reduced performance. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ (2410.99-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x20f32 Stepping = 2 Features=0x178bfbff Features2=0x1 AMD Features=0xe2500800,LM,3DNow+,3DNow> real memory = 938409984 (894 MB) avail memory = 908996608 (866 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: reservation of 1bf00000, 100000 (3) failed acpi0: reservation of 2bf00000, 100000 (3) failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ********************************************************************** While on 4.9 i get: Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.9-STABLE #1: Wed Apr 19 20:56:30 EST 2006 root@A1234.netwolves.com:/mnt2/src/sys/compile/WOLFPACSMP Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ (2400.02-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x20f32 Stepping = 2 Features=0x178bfbff Hyperthreading: 2 logical CPUs AMD Features=0xe0500000<,AMIE,,DSP,3DNow!> real memory = 1005584384 (982016K bytes) avail memory = 975286272 (952428K bytes) Changing APIC ID for IO APIC #0 from 0 to 2 on chip Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00040010, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040010, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc038a000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 9 -> irq 2 IOAPIC #0 intpin 11 -> irq 5 pci0: on pcib0 pci0: (vendor=0x10de, dev=0x02f1) at 0.0 pci0: (vendor=0x10de, dev=0x02fa) at 0.1 pci0: (vendor=0x10de, dev=0x02fe) at 0.2 pci0: (vendor=0x10de, dev=0x02f8) at 0.3 pci0: (vendor=0x10de, dev=0x02f9) at 0.4 pci0: (vendor=0x10de, dev=0x02ff) at 0.5 pci0: (vendor=0x10de, dev=0x027f) at 0.6 pci0: (vendor=0x10de, dev=0x027e) at 0.7 pcib4: at device 2.0 on pci0 pci1: on pcib4 pcib5: at device 3.0 on pci0 pci2: on pcib5 pcib6: at device 4.0 on pci0 pci3: on pcib6 pci0: at 5.0 irq 2 pci0: (vendor=0x10de, dev=0x0270) at 9.0 isab0: at device 10.0 on pci0 isa0: on isab0 pci0: (vendor=0x10de, dev=0x0264) at 10.1 irq 2 pci0: (vendor=0x10de, dev=0x0272) at 10.2 atapci0: port 0xf400-0xf40f at device 13.0 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 atapci1: port 0xe000-0xe00f,0xb70-0xb73,0x970-0x977 ,0xbf0-0xbf3,0x9f0-0x9f7 mem 0xfe02e000-0xfe02efff irq 5 at device 14.0 on pci0 ata2: at 0x9f0 on atapci1 ata3: at 0x970 on atapci1 pcib7: at device 16.0 on pci0 IOAPIC #0 intpin 10 -> irq 9 IOAPIC #0 intpin 5 -> irq 10 Regards, Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson)