LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 06-09-2002, 12:22 PM   #1
robinsn
LQ Newbie
 
Registered: Jun 2002
Posts: 3

Rep: Reputation: 0
Samba slow file copying


I'm new to Linux and Samba and have set up a network that is almost done, but I need help with this problem.

I have a Linux (RH 7.1) server set up with 3 windows clients (2 98s and 1 XP) set up on a cable modem with IP Masqing, running Samba 2.0.7 on a 10mbit Ethernet LAN. All clients are able to access the internet, shares, files - in other words, everything seems to be working just as it should except for one thing.

Copying larger files (starting about 400k it seems) FROM Linux TO windows is extremely slow. A 5MB file copies FROM Linux in about 70 seconds, and TO Linux in 4 seconds.

I've tried all sorts of different socket options, large, small, with/without raw, etc. It is currently:

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192 SMBwriteraw SMBreadraw

I thought of updating to the newest version of samba, but being new to Linux, I'm not sure if that will cause any problems. I downloaded an RPM. Will installing this RPM break anything that IS working? Will it help the problem at all?

What else could cause this slowdown? I find it strange that writing TO Linux is fast, but FROM Linux slow.

Any ideas at all would be welcome!

Last edited by robinsn; 06-09-2002 at 12:43 PM.
 
Old 06-09-2002, 01:02 PM   #2
robinsn
LQ Newbie
 
Registered: Jun 2002
Posts: 3

Original Poster
Rep: Reputation: 0
Oh, one other piece of information. The file copying performance suffers the same in FTP transfers as it does in Windows Explorer copies. Fast TO Linux and Slow FROM Linux.
 
Old 06-10-2002, 07:11 AM   #3
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
try still upgrading to new samba, but need to check your hardware also
 
Old 06-15-2002, 02:18 AM   #4
robinsn
LQ Newbie
 
Registered: Jun 2002
Posts: 3

Original Poster
Rep: Reputation: 0
I've upgraded to the newest samba version and have interesting results.

Originally, getting 5MB from linux was 70 seconds, now it's 35 seconds.

Originally sending 5MB TO linux was 5 seconds, now it's 20 seconds.

Any ideas what could be going on? I keep thinking it has to be something to do with packet sizes or acks, but I can't figure it out. Any help would be appreciated!
 
  


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
USB Removable Media copying VERY SLOW stardotstar Linux - Hardware 4 03-02-2005 11:50 AM
Preserve file permissions when copying from NTFS to a Samba share? somedude Linux - Software 4 06-11-2004 09:20 AM
Slow file tranfer speeds with samba msafri Linux - Networking 0 03-23-2004 08:48 AM
Question on File System and File Copying hey_joe Linux - Newbie 2 11-05-2003 10:30 AM
access samba file from windows XP slow. lohdavid Linux - Networking 1 08-27-2003 04:46 AM


All times are GMT -5. The time now is 11:54 PM.

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