LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 04-22-2003, 09:43 PM   #1
steppin_razor
LQ Newbie
 
Registered: Nov 2001
Posts: 29

Rep: Reputation: 15
Lousy thoroughput over Samba..


RH 8.0
Samba 2.2.7-5.8.0
P3-450 w/ 256mb RAM
Windows XP
100mbit switched network
7200rpm drive

I'm copying ~10GB of files via samba to my Linux server. According to Windows Xp Task manager, I'm only getting about 1 megabyte/s of data transfer.

I expected that I would be getting at least 5X that.

SMBD is taking up about 5% CPU and seems to be pushing the load towards the 1.5 - 2 range.

My XP box is showing ~10% CPU utilization.

Any suggestions??
 
Old 04-22-2003, 09:53 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Since the linux box is bored (5% on that
CPU is not a lot) out of its tree I would
think that the XP box is the bottle-neck. ;)

If it's not the case check on your switch
whether both boxes actually have their
100MBit.

Cheers,
Tink
 
Old 04-22-2003, 11:01 PM   #3
steppin_razor
LQ Newbie
 
Registered: Nov 2001
Posts: 29

Original Poster
Rep: Reputation: 15
Embarassing!!

Talk about the power of paradigms -- I was so convinced that it had to be a Samba issue, I never even checked the switch. Sure enough, the NIC is running at 10mbs.

Thanks! (hangs head in shame)
 
Old 04-22-2003, 11:25 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Look mate, if that hadn't happened to me before I'd
never have guessed it either ;) Don't feel embarrassed!

Cheers,
Tink
 
Old 04-23-2003, 02:24 AM   #5
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
I couldn't agree more with Tinkster.

I spent an afternoon trying to work out why I was only getting ~1MByte/s over a 100MB lan from a Samba server, then got really concerned when the performance for of FTP over the same link didn't seem much better. Afer a while it dawned on me that I had forgotten to factor a multiple of 8 into my calculations to turn bits into bytes.

Jamie...
 
Old 04-23-2003, 02:45 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
heh ... 1MB is pretty bad, though ;)
No switches, swamped in collisions?

I've seen 900K/s on 10MB switched
ethernet, and at work am (nfs) getting
about 9.5MB/s from a Unix-Host. :)

I still think that Ethernet is a piece of
crap conceptionally, and would be very
pleased to continue using my old Token
Ring, maybe upgrade it to TR155 :}

But the hardware is so dear, and switches
make ethernet bearable ;)

I mean: 16MBit = 2MB /s ... I've seen
1.6MB/s on a loaded ring (>850 machines)
That's about 85% of the theoretical max
throuput if there was no packet overhead.

In switched Ethernet it's about 77% ... :)

Cheers,
Tink

Last edited by Tinkster; 04-23-2003 at 02:46 AM.
 
Old 04-23-2003, 02:51 AM   #7
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Quote:
Originally posted by Tinkster
heh ... 1MB is pretty bad, though
No switches, swamped in collisions?
Na, there was nothing wrong apart from my calculations missing a multiple of 8. Infact I was really getting just under 9MBytes/s. My inability to handle simple maths really.

Jamie...
 
Old 04-23-2003, 03:09 PM   #8
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
Actually samba is not the best protocol in the world, even between windows machines. If you FTP between windows machine the throughput is normally about 85-90% of your media capacity and is always consistent. Use windows networking to drag and drop files and the throughput is anywhere between 50% and 80% of of media capacity, but is inconsistent even with the same file sent twice!

I spent several days scoping this over a frame relay network and had to explain to my customer why his throughput was so variable. He didn't like it when I told him it was due to microsoft networking being shite!!
 
  


Reply



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/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
what the!...where's my hammer....lousy MDK, come back RH all is forgiven MaverickUK Mandriva 0 01-14-2004 03:46 AM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 01:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:13 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration