From owner-freebsd-current@FreeBSD.ORG Mon Oct 24 22:18:53 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B89B816A41F for ; Mon, 24 Oct 2005 22:18:53 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 489F143D45 for ; Mon, 24 Oct 2005 22:18:52 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: by xproxy.gmail.com with SMTP id t14so863199wxc for ; Mon, 24 Oct 2005 15:18:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=uDqsDnevME+2yqJhj8hKkNgOY6mu/wgl3rQJ5EPqxeYbzuX1WhTdFlj6xpVl8Hbwmq3qp7wG8kBYeUeTpCU4JRy8Jb6XS+m10cJzmKXrDETetutVw3kbOWfXfnGZIkNVoBigqCV5cZMep6pvo/k1TJzZOrBgCSFwnrGSQb7Tsx8= Received: by 10.70.7.8 with SMTP id 8mr2360640wxg; Mon, 24 Oct 2005 15:18:52 -0700 (PDT) Received: by 10.70.10.5 with HTTP; Mon, 24 Oct 2005 15:18:52 -0700 (PDT) Message-ID: <70e8236f0510241518x7b280938jd15f7e8c3224cbd@mail.gmail.com> Date: Mon, 24 Oct 2005 23:18:52 +0100 From: Joao Barros To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Poor Samba throughput on 6.0 RC1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Oct 2005 22:18:53 -0000 I've this PIII 733MHz running 6.0 RC1 with a GENERIC kernel which I can only squeeze out 5.5MB/s via a Samba share, reading or writing. The share was from a RAID 5 volume and to eliminate possibilities, I tried adding an IDE drive having the same results. SCP throughput is about 1MB/s I tried adding this to Samba configuration resulting in no improvement. top and systat show nothing more than a 0.2 load with a 70% idle cpu when doing a file copy at about 5MB/s Strangely, the IDE, the boot disk which is a 9GB SCSI-2 and the RAID 5 volume all give about the same speed with a simple dd speed test: AMR# dd bs=3D1M if=3D/dev/amrd0 of=3D/dev/null count=3D1000 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 36.400622 secs (28806541 bytes/sec) AMR# dd bs=3D1M if=3D/dev/ad0 of=3D/dev/null count=3D1000 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 35.180386 secs (29805699 bytes/sec) AMR# dd bs=3D1M if=3D/dev/da0 of=3D/dev/null count=3D1000 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 37.693338 secs (27818603 bytes/sec) This machine should be able to max out the network interface. What can I check to find out the limiting factor? dmesg: Copyright (c) 1992-2005 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.0-RC1 #7: Sat Oct 22 18:41:56 WEST 2005 root@AMR.bsdtech.org:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (735.00-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x683 Stepping =3D 3 Features=3D0x383fbff real memory =3D 267255808 (254 MB) avail memory =3D 252051456 (240 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: < INTEL SOLANO70> on motherboard acpi0: Power Button (fixed) pci_link0: irq 11 on acpi0 pci_link1: irq 5 on acpi0 pci_link2: irq 10 on acpi0 pci_link3: irq 3 on acpi0 pci_link4: on acpi0 pci_link5: on acpi0 pci_link6: on acpi0 pci_link7: irq 15 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf8000000-0xfbffffff,0xffa80000-0xffafffff irq 11 at device 2.0 on pci0 pcib1: at device 30.0 on pci0 pci_link2: BIOS IRQ 11 does not match initial IRQ 10 pci1: on pcib1 pcib2: at device 2.0 on pci1 pci2: on pcib2 pcib3: at device 0.0 on pci2 pci3: on pcib3 amr0: mem 0xf0000000-0xf3ffffff irq 11 at device 0.0 on pci3 amr0: Firmware 198U, BIOS 3.35, 64MB RAM pci2: at device 1.0 (no driver attached) fxp0: port 0xc800-0xc83f mem 0xff8fc000-0xff8fcfff,0xff600000-0xff6fffff irq 3 at device 3.0 on pci1 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:30:48:11:2d:f5 fxp1: port 0xd000-0xd03f mem 0xff8fd000-0xff8fdfff,0xff700000-0xff7fffff irq 11 at device 4.0 on pci1 miibus1: on fxp1 inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Ethernet address: 00:30:48:11:2d:f4 ahc0: port 0xd400-0xd4ff mem 0xff8fe000-0xff8fefff irq 5 at device 5.0 on pci1 ahc0: [GIANT-LOCKED] aic7899: Ultra160 Wide Channel A, SCSI Id=3D7, 32/253 SCBs ahc1: port 0xd800-0xd8ff mem 0xff8ff000-0xff8fffff irq 11 at device 5.1 on pci1 ahc1: [GIANT-LOCKED] aic7899: Ultra160 Wide Channel B, SCSI Id=3D7, 32/253 SCBs isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 uhci0: port 0xef40-0xef5f irq 3 at device 31.2 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 31.3 (no driver attached) uhci1: port 0xef80-0xef9f irq 15 at device 31.4 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered acpi_button0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 735004480 Hz quality 800 Timecounters tick every 1.000 msec Waiting 5 seconds for SCSI devices to settle ad0: 19073MB at ata0-master UDMA100 amrd0: on amr0 amrd0: 104040MB (213073920 sectors) RAID 5 (optimal) da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit) da0: 8727MB (17873040 512 byte sectors: 255H 63S/T 1112C) Trying to mount root from ufs:/dev/da0s1a -- Joao Barros