LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-17-2004, 06:05 PM   #1
Digiman2k
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, 04:59 AM   #2
jalal
Member
 
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, 09:57 AM   #3
ghight
Member
 
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.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 01:23 AM.

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