Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2003 10:09:49 +0200
From:      "Bigbrother" <bigbrother@bonbon.net>
To:        <questions@freebsd.org>
Subject:   Re: SAMBA performance and FreeBSD
Message-ID:  <003d01c2e2ee$9a8e0e10$e203a8c0@macedon>

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

I forgot to say:

>uname -a
FreeBSD matrix.vlsi.gr 4.7-RELEASE-p7 FreeBSD 4.7-RELEASE-p7 #1: Tue Mar
4 12:09:06 EET 2003
matrix@matrix.vlsi.gr:/usr/obj/usr/src/sys/matrix  i386
-------------
> ifconfig
wb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.3.200 netmask 0xffffff00 broadcast 192.168.3.255
        ether 00:80:48:b5:b9:6d
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
wb1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:80:48:b5:92:2f
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
---------------
>dmesg
CPU: Pentium 4 (2394.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
 
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE
,MCA,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,<b28>,ACC,<b31>>
real memory  = 536854528 (524272K bytes)
atapci0: <SiS 5591 ATA33 controller> port
0xb400-0xb40f,0xb800-0xb803,0xd000-0xd
007,0xd400-0xd403,0xd800-0xd807 irq 11 at device 2.5 on pci0
ad0: 78167MB <Maxtor 6Y080L0> [158816/16/63] at ata0-master PIO4
ad1: 78167MB <Maxtor 6Y080L0> [158816/16/63] at ata0-slave PIO4
ad2: 78167MB <Maxtor 6Y080L0> [158816/16/63] at ata1-master PIO4
---------------
> more /boot/loader.conf
hw.ata.ata_dma=0
hw.ata.atapi_dma=0

[* I have disabled the DMA, because otherwise the boot process is halted
and trying to reset the hard disc, because of a strange timeout]
----------


I used to experiment with two network cards simultaneous connected to
the same switch and using netgraph, but when I was using the local
100Mbits net, the load of the server went > 6 [because in netgraph, one
card is working on promiscuous mode...]. So I am using only wb0, with an
average load of the machine of 0.12

Finally if I put the value 
net.inet.tcp.delayed_ack=0
Then comparing with the previous situation the speed is much worst. That
is
the value net.inet.tcp.delayed_ack=1 is much better (on my local
100Mbits net). This was measured for both small and large files (7MB,
and 700MB). All the tests are done using Windows XP. On my smb.conf I
only have TCP_NODELAY in socket options. 


P.s. I disabled the NFS server [because this is an nfs server as well
for other machines] and the samba read/write speed on my 100Mbits
network has increased to 3 Mbytes/sec (no load on the machine). This is
still lower than the 7Mbytes/sec on the local 100Mbits network that I
have using FTP.



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?003d01c2e2ee$9a8e0e10$e203a8c0>