From owner-freebsd-questions Thu Aug 19 2:38:52 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp7.xs4all.nl (smtp7.xs4all.nl [194.109.127.50]) by hub.freebsd.org (Postfix) with ESMTP id 5E8EA14D16 for ; Thu, 19 Aug 1999 02:38:43 -0700 (PDT) (envelope-from arnout@tomcat.xs4all.nl) Received: from tomcat.xs4all.nl (tomcat.xs4all.nl [194.109.15.187]) by smtp7.xs4all.nl (8.9.3/8.9.3) with ESMTP id LAA28364; Thu, 19 Aug 1999 11:37:49 +0200 (CEST) Received: (from arnout@localhost) by tomcat.xs4all.nl (8.9.3/8.9.1) id LAA15983; Thu, 19 Aug 1999 11:31:06 +0200 (CEST) Date: Thu, 19 Aug 1999 11:31:06 +0200 From: Arnout Boer To: freebsd-questions@freebsd.org Cc: arnout@xs4all.nl Subject: Samba on stable... a performance problem Message-ID: <19990819113106.A10539@tomcat.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i X-Operating-System: FreeBSD 3.2-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm using FreeBSD now since 2.0.x and I love it... But now I'm experimenting with samba and the performance drop is so big that I think I forget something... WIthout samba the 100mbit fxp0 link crossover was almost maximal used during ftp... With samba it drops to about 80kB/s I included some comfiguration info underneath.. Any advice is appreciated, please cc to me! Greetz, Arnout # Samba config file created using SWAT # from (127.0.0.1) # Date: 1999/08/18 19:17:25 # Global parameters [global] workgroup = APPELDING netbios name = TOMCAT server string = Tomcat Samba Server encrypt passwords = Yes log file = /var/log/log.%m max log size = 500 max xmit = 16384 read prediction = Yes socket options = IPTOS_LOWDELAY TCP_NODELAY domain logons = Yes preferred master = Yes domain master = Yes dns proxy = No wins support = Yes hosts allow = 192.168.0. 127. 194.109.15.187 print command = lpr -P%p %s [tmp] comment = Temporary file space path = /samba/tmp/ read only = No guest ok = Yes Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.2-STABLE #0: Thu Aug 19 01:10:25 CEST 1999 root@tomcat.xs4all.nl:/usr/src/sys/compile/TOMCAT Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P55C (586-class CPU) Origin = "GenuineIntel" Id = 0x544 Stepping = 4 Features=0x8003bf real memory = 134217728 (131072K bytes) avail memory = 127348736 (124364K bytes) Programming 24 pins in IOAPIC #0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00030010, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00030010, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc02e2000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc02e209c. Probing for devices on PCI bus 0: chip0: rev 0x03 on pci0.0.0 chip1: rev 0x01 on pci0.7.0 vga0: rev 0x9a on pci0.8.0 ncr0: rev 0x23 int a irq 17 on pci0.9.0 fxp0: rev 0x08 int a irq 18 on pci0.10.0 fxp0: Ethernet address 00:90:27:42:d9:b7 ahc0: rev 0x00 int a irq 19 on pci0.12.0 ahc0: Using left over BIOS settings ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs Probing for PnP devices: CSN 1 Vendor ID: CTL00c5 [0xc5008c0e] Serial 0x1d3f30af Comp ID: PNPb02f [0x2fb0d041] Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model MouseMan+, device ID 0 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in ppc0 at 0x378 irq 7 flags 0x40 on isa ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold lpt0: on ppbus 0 lpt0: Interrupt-driven port ppi0: on ppbus 0 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface sb0 at 0x220 irq 5 drq 1 on isa snd0: sbxvi0 at drq 5 on isa snd0: sbmidi0 at 0x330 on isa snd0: opl0 at 0x388 on isa snd0: Intel Pentium detected, installing workaround for F00F bug APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via pin 2 Waiting 15 seconds for SCSI devices to settle SMP: AP CPU #1 Launched! da4 at ncr0 bus 0 target 0 lun 0 da4: Fixed Direct Access SCSI-2 device da4: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled da4: 1021MB (2091144 512 byte sectors: 64H 32S/T 1021C) da2 at ncr0 bus 0 target 1 lun 0 da2: Fixed Direct Access SCSI-2 device da2: 10.000MB/s transfers (10.000MHz, offset 8) da2: 699MB (1431760 512 byte sectors: 64H 32S/T 699C) da3 at ncr0 bus 0 target 6 lun 0 da3: Fixed Direct Access SCSI-2 device da3: 10.000MB/s transfers (10.000MHz, offset 8) da3: 696MB (1427328 512 byte sectors: 64H 32S/T 696C) changing root device to da0s2a cd0 at ahc0 bus 0 target 3 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 20.000MB/s transfers (20.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present cd1 at ahc0 bus 0 target 5 lun 0 cd1: Removable CD-ROM SCSI-2 device cd1: 3.300MB/s transfers cd1: Attempt to query device size failed: NOT READY, Medium not present cd2 at ncr0 bus 0 target 4 lun 0 cd2: Removable CD-ROM SCSI-2 device cd2: 4.237MB/s transfers (4.237MHz, offset 8) cd2: Attempt to query device size failed: NOT READY, Medium not present da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 2063MB (4226725 512 byte sectors: 64H 32S/T 2063C) da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da1: 8715MB (17850000 512 byte sectors: 64H 32S/T 8715C) ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates I'm using FreeBSD now since 2.0.x and I love it... But now I'm experimenting with samba and the performance drop is so big that I think I forget something... WIthout samba the 100mbit fxp0 link crossover was almost maximal used during ftp... With samba it drops to about 80kB/s I included some comfiguration info underneath.. Any advice is appreciated, please cc to me! Greetz, Arnout To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message