Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Ulisses Eduardo <ujensen@MailAndNews.com>
Subject: RE: Samba Performance and Oplocks Problem
Date: Thu, 15 Feb 2001 21:07:35 -0500	[thread overview]
Message-ID: <3A8F38BC@MailAndNews.com> (raw)

First of all, thanks for the answer :)

i solved the problem using the folowing options:

oplocks = false
level 2 oplocks = true
fake oplocks = yes
socket options = IPTOS_LOWDELAY TCP_NODELAY
read size = 65536
strict locking = yes
read prediction = yes

after that, the speed increase about 10-15 times ........

aboute the NIC, i'm using an 100baseT (the one that comes with the 
AlphaServer)

Thank You Very Much,

Ulisses Eduardo Jensen
jensen@engec.com.br


>===== Original Message From Ed Lee <edlee19@home.com> =====
>There are read and write buffer sizes that you can modify in the samba
>configuration file.  The default value is something small, like 8192 bytes or
>so.  You can increase this number to 65536 bytes, perhaps more.  The
>documentation for samba indicates that having buffers larger than 65536 bytes
>will not increase performance, but I have not tested it to see if the
>documentation is correct.  Maybe increasing the read and write buffers sizes
>will help.
>
>For 10baseT cards, I found that using OpenSSH along with a Windows OpenSSH
>client program, PSCP.EXE, was about 30% faster than using Samba with no
>encryption for transferring files between an 800Mhz Athlon Windows 98 
computer
>and a 533Mhz 21164PC computer running Redhat 7.0.  The 10baseT cards were
>Linksys Etherfast PCI cards on both machines, compatible with the "tulip" 
Linux
>driver.  For 100baseT cards, I found that Samba using no encryption was about
>twice as fast (around 2MB/s) at transferring files than using the OpenSSH 
client
>program, which uses encryption.  My hypothesis is that there is less free
>processor time waiting for disk input/output at 100baseT speeds in which to
>perform the encryption with OpenSSH, limiting the speed of the file 
transfers.
>The 100baseT cards were a Netgear FA311 on the Windows 98 machine and Netgear
>FA310TX on the Alpha Redhat 7.0 machine.  The FA310TX is compatible with the
>"tulip" Linux driver.  I bought the FA310TX online from an advertiser on
>Pricewatch.com for about $25, including shipping.  So, perhaps, upgrading 
your
>network cards to 100baseT will help, if the cards are not already at that 
speed.
>
>-Ed L
>
>
>Ulisses Eduardo wrote:
>
>> Hi,
>>
>> i have an DEC 5305 Server (21164 400Mhz 256Mb) runing RedHat 6.2 with 
Kernel
>> 2.2.17 and Samba 2.0.6.
>>
>> First of all, i was having an problem when 2 distinct clients tried to
>> access
>> the same file at the same time. One of the 2 clients was granted access to
>> the
>> file ant the other no. I used the option "oplocks=false" and this problem
>> was
>> solved.
>>
>> Now i have another problem: The samba server is almost 10 times slower than
>> an
>> NT at Pentium 200Mhz 64Mb .
>>
>> my smb.conf is the default one with only oplocks turned off.
>>
>> anyone has an idea how can i solve this problem ??
>>
>> Thank You Very Much,
>> Ulisses Jensen

------------------------------------------------------------
 Get your FREE web-based e-mail and newsgroup access at:
                http://MailAndNews.com

 Create a new mailbox, or access your existing IMAP4 or
 POP3 mailbox from anywhere with just a web browser.
------------------------------------------------------------



             reply	other threads:[~2001-02-16  2:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-16  2:07 Ulisses Eduardo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-02-15  5:28 Samba Performance and Oplocks Problem Ulisses Eduardo
2001-02-15 17:45 ` Ed Lee
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox