Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 1999 11:31:06 +0200
From:      Arnout Boer <arnout@xs4all.nl>
To:        freebsd-questions@freebsd.org
Cc:        arnout@xs4all.nl
Subject:   Samba on stable... a performance problem
Message-ID:  <19990819113106.A10539@tomcat.xs4all.nl>

next in thread | raw e-mail | index | archive | help



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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,MMX>
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: <Intel 82439HX PCI cache memory controller> rev 0x03 on pci0.0.0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
vga0: <ATI model 4755 graphics accelerator> rev 0x9a on pci0.8.0
ncr0: <ncr 53c810a fast10 scsi> rev 0x23 int a irq 17 on pci0.9.0
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x08 int a irq 18 on pci0.10.0
fxp0: Ethernet address 00:90:27:42:d9:b7
ahc0: <Adaptec aic7880 Ultra SCSI adapter> 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: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> 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: <SoundBlaster 16 4.16> 
sbxvi0 at drq 5 on isa
snd0: <SoundBlaster 16 4.16> 
sbmidi0 at 0x330 on isa
snd0: <SoundBlaster MPU-401> 
opl0 at 0x388 on isa
snd0: <Yamaha OPL3 FM> 
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: <DEC DSP3107LS 442E> 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: <QUANTUM LIGHTNING 730S 241E> 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: <NEC D3825 0410> 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: <PLEXTOR CD-ROM PX-32TS 1.02> 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: <RICOH MP6200S 2.03> 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: <TOSHIBA CD-ROM XM-5401TA 3605> 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: <IBM DORS-32160W WA0A> 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: <IBM DDRS-39130D DC1B> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990819113106.A10539>