Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-17-2004, 07:05 PM   #1
LQ Newbie
Registered: Apr 2002
Posts: 12

Rep: Reputation: 0
Samba performance

I got samba all configured and running how I need, but I'm having a performance problem.

I'm getting about 7 megs a second sustained transfer rate on a large file (in either direction), but for many smaller files, it's a lot worse.

For example, I transferred starcraft and winamp5 from the SMB server to a winxp machine and that took about 1.75 times as long as to transfer them back later. What might be the cause of a series of small files to be slow, and what can I do about it? (I mainly am dealing with small files)

I've tried experimenting with values for SO_RCVBUF and SO_SNDBUF, among other things, but haven't come up with anything that works better.

Thanks in advance.
Old 01-21-2004, 05:59 AM   #2
Registered: Aug 2003
Location: .bh
Distribution: Gentoo
Posts: 188

Rep: Reputation: 30
You can test reads and writes using normal FTP for example between both machines, and see if you have the same difference in speed.

if you have, then maybe it is a file system issue and not a samba one.

They say ReiserFS is good for small files and can enhance the performance of some applications that rely alot on them.
Old 01-21-2004, 10:57 AM   #3
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
I wish I could solve your problem, but I can give more info. Performance on smaller files will always be MUCH slower than with larger files. If you do an FTP transfer, you'll notice a similar performance hit. You didn't post any tranfer speeds so it's hard to say if it's really an issue or normal.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba performance tweaks linuxmandrake Linux - Networking 1 10-17-2005 07:37 PM
Samba performance problems carlmarshall Linux - Networking 1 04-23-2004 12:37 PM
XP > SAMBA Poor Performance (again) confused_bof Linux - Networking 23 03-07-2004 05:00 PM
SAMBA Performance dman65 Linux - Software 0 10-02-2003 09:45 AM
Samba performance problems id09542 Linux - Networking 4 12-30-2002 12:31 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration