RES: Very Slow Samba
Derek Ragona
derek at computinginnovations.com
Thu Aug 14 20:38:44 UTC 2008
At 03:22 PM 8/14/2008, Mauro Ribeiro - Class Consultoria e Assessoria wrote:
>Hi Derek,
>
>I don't use authentication on this server, no internet connection. Only 1
>share and on this share everyone must have write permissions.
>
>re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>
>options=399b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_UCAS
>T,WOL_MCAST,WOL_MAGIC>
> ether 00:e0:4c:10:c9:75
> inet 192.168.0.254 netmask 0xffffff00 broadcast 192.168.0.255
> media: Ethernet autoselect (1000baseTX <full-duplex>)
> status: active
>
>It's a realtek gigabit pci card. 8169 chipset.
First thing I'd do is replace the realtek. They are terrible especially
under any load. Replace with a gigabit card from intel. Then see how it
works.
-Derek
>-----Mensagem original-----
>De: owner-freebsd-questions at freebsd.org
>[mailto:owner-freebsd-questions at freebsd.org] Em nome de Derek Ragona
>Enviada em: quinta-feira, 14 de agosto de 2008 14:17
>Para: Mauro Ribeiro - Class Consultoria e Assessoria;
>freebsd-questions at freebsd.org
>Assunto: Re: Very Slow Samba
>
>At 10:21 AM 8/14/2008, Mauro Ribeiro - Class Consultoria e Assessoria wrote:
> >Hi All,
> >
> >
> >
> >I had migrated a Windows 2003 Server to a Samba Server (only for file
>share)
> >
> >
> >
> >We share only the company system. That's a 3mb Delphi .exe and a 1,5mb
> >libmysql.dll.
> >
> >
> >
> >BTW, the system loads 4 .jpg files from the server.
> >
> >
> >
> >On our old Windows Server the system was very fast on Samba is damn slow.
> >About 2 mins to load.
> >
> >
> >
> >I have no clue on what to do.
> >
> >
> >
> >Server Specs: Pentium 4 3.0Ghz 1GB RAM, FreeBSD 7.0-STABLE and Samba
> >3.0.28a.
> >
> >
> >
> >Here's is my smb.conf
> >
> >
> >
> >[global]
> >
> > workgroup = CLASS
> >
> > server string = Class Data Server
> >
> > security = share
> >
> > hosts allow = 192.168.0.
> >
> > load printers = yes
> >
> > printing = cups
> >
> > log file = /var/log/samba/log.%m
> >
> > max log size = 150
> >
> > socket options = TCP_NODELAY
> >
> > interfaces = 192.168.0.0/24
> >
> > dns proxy = no
> >
> > veto oplock files = /*.exe/*.dll/*.jpg/*.pdf/*.gif/
> >
> > oplock break wait time = 1
> >
> > debug level = 10
> >
> >
> >
> >[Class]
> >
> > Comment = Class
> >
> > Browseable = Yes
> >
> > Writeable = Yes
> >
> > Force User = root
> >
> > create mask = 0777
> >
> > path = /dados/samba/Class
> >
> > Guest ok = Yes
> >
> > fake oplocks = yes
> >
> >
> >
> >
> >
> >Best Regards,
> >
> >Mauro Ribeiro
> >
> >
>
>What network card is in this server?
>
>What are you using for authentication?
>
> -Derek
>
>--
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
>
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>__________ NOD32 3351 (20080813) Information __________
>
>This message was checked by NOD32 antivirus system.
>http://www.eset.com
>
>
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>--
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the freebsd-questions
mailing list