From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,bfb991ace8baacd9 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2001-02-15 18:08:25 PST Path: supernews.google.com!sn-xit-02!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Ulisses Eduardo Newsgroups: comp.os.linux.alpha Subject: RE: Samba Performance and Oplocks Problem Date: Thu, 15 Feb 2001 21:07:35 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3A8F38BC@MailAndNews.com> X-InterChange-Posted-By: ujensen@MailAndNews.com Sender: Ulisses Eduardo X-EXP32-SerialNo: 50000000 Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Newsreader: InterChange (Hydra) News v3.61.08 X-Complaints-To: newsabuse@supernews.com Xref: supernews.google.com comp.os.linux.alpha:2280 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 ===== >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. ------------------------------------------------------------