LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-11-2013, 06:41 AM   #1
Gil@LQ
Member
 
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 267

Rep: Reputation: 1
samba file transfer is different from server to server


hi,

i have 2 samba server running in my netowork is, i had to back up around 150 gb of data to them, during the time i noticed a change that one was copying and receing at around 50Mbps, while another was hardly at 13 Mbps, why was the difference, below are the details of both

50Mbps 13Mbps
processor p4 p4
ram 524 Mb 1Gb
Hdd 160 Gb 2TB(samba) 160Gb(OS for OS)
CentOS 6.2 6.3

the server with more ram supposed to be faster but why it is in reverse.



Please help me find the casuse resolve it.
 
Old 01-11-2013, 06:13 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,568

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
You're asking us why you're network speed is slower but haven't given us any info.

If I put a superfast system behind a 10Mb/s-100Mb/s switch and put an old POS system behind a 1Gb/s switch the transfers to my old POS system are going to go much faster. This is a problem with network throughput and has nothing do with system resources
 
Old 01-12-2013, 01:18 AM   #3
jnihil
Member
 
Registered: Dec 2012
Distribution: Debian, Xubuntu, Gentoo, CentOS, Bhodi
Posts: 47

Rep: Reputation: 2
Ditto on the previous post.
Also, do they have the same NIC? The ethenet hardware/driver also has a lot effect on performance.
 
Old 01-12-2013, 12:25 PM   #4
Gil@LQ
Member
 
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 267

Original Poster
Rep: Reputation: 1
hi,

they both are same systems same NICs, i also check them connecting directly to a 1Ghz switch and my laptop to the same switch, then i tried copying the files. Then also same speed. That's why i'm asking why does the difference between two samba servers. They are not at all in different network now. Same connectivity same NIC. Is there any other reasons for samba other then network because they are now directly connected to 1Ghz switch.

thanks.
 
Old 01-13-2013, 08:13 AM   #5
jnihil
Member
 
Registered: Dec 2012
Distribution: Debian, Xubuntu, Gentoo, CentOS, Bhodi
Posts: 47

Rep: Reputation: 2
So you're saying that EVERYTHING is the same for the two servers expect one has more RAM.

In which case I suggest you packet capture a portion of the file transfer for each server, then see if the slowness is due to latency or packet loss.
With all the plugins you get in Wireshark these days that shouldn't be hard to do.
 
Old 01-14-2013, 01:55 PM   #6
Gil@LQ
Member
 
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 267

Original Poster
Rep: Reputation: 1
hi,

i'm new to wireshark, if u don't mind can u plz tell me do it for me.

thank you very much.
 
Old 01-17-2013, 12:01 AM   #7
jnihil
Member
 
Registered: Dec 2012
Distribution: Debian, Xubuntu, Gentoo, CentOS, Bhodi
Posts: 47

Rep: Reputation: 2
and if you don't try to learn wireshark, you'll always be new to it.

capture the traffic, then look to see if there are any delays in the smb transaction, or packet retranamissions (caused by packet loss).
you have a good server and a bad server. shouldn't be hard to compare the two.
probably also a good thing to see the ifconfig stats to see if youare dropping packets too.
if latency at the server is evident, then perhaps look at the cpu load, and all software versions involved in the datapath.
looking at the logs during the transaction wouldn't hurt either.

what you're asking has too many variables. I think the above is a good start.
 
Old 01-19-2013, 07:25 AM   #8
Gil@LQ
Member
 
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 267

Original Poster
Rep: Reputation: 1
hi,

i'll try and get back

thank you.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Install and Configure Samba Server as File Server on Ubuntu Server 12.04 LXer Syndicated Linux News 0 06-06-2012 12:01 PM
Check Samba server transfer and receive performance ? b-RAM Linux - Server 0 12-27-2011 04:33 AM
generating tmp file in samba server while saving file from win7 in samba server centos123 Linux - Server 15 11-05-2011 05:05 AM
NFS/Samba file transfer hangs the server aZZZ Linux - Server 2 09-04-2007 12:39 PM


All times are GMT -5. The time now is 03:26 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