LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-16-2003, 03:01 PM   #1
confused_bof
Member
 
Registered: Sep 2003
Location: Oz
Distribution: Ubuntu, Kubuntu, MythBuntu
Posts: 136

Rep: Reputation: 15
Unhappy XP > SAMBA Poor Performance (again)


Judging by the number of times this issue appears across the internet, I figure I am not alone:

The speed of transferring/ writing from an XP pc to the SAMBA machine is excruciantingly slow. Around 7 minutes to transfer a 50M test file.

Data transfer the other way, ie reading from the SAMBA pc is fine.

I think at this point I have exhausted all the practical information I have been able to find on the Web. The suggested registry hacks that have been suggested have had no effect. And the very expensive & recommended book on SAMBA I have doesn't even touch on performance hassles/ troubleshooting

I have to assume the hardware is OK as I have replaced everything TWICE - essentially 100mbps NICS over a switch. There are three WinXP machines and one LINUX (Samba) PC.

The Linux PC was connecting to the dial up and then sharing the connection from there, using IP masq. with Guidedog. I thought maybe this had something to do with it so I have now moved the ICS to a windows machine. In any case it is much easier to configure & maintain there.

I don't know if it means anything, but a traceroute either way indicates a single hop from one PC to the Linux/ SAMBA PC.

Short of re-installing windoze (I'm kidding, calm down), if anyone has any practical advice on, or perhaps has a link to a resource that discusses the performance issues, I'd really appreciate it.

TIA
 
Old 11-16-2003, 11:36 PM   #2
locutus233
Member
 
Registered: Aug 2003
Location: South Surrey, BC
Distribution: Redhat, Gentoo
Posts: 47

Rep: Reputation: 15
I find that copying large files to my linux box takes time too. But were talking 600 meg files. It takes about 7 minutes per file which is proabbly alot faster then what your getting.

It may help to see your main directives in your smb.conf file. You could also try copying something and doing a tail -f smb.log and see if there are errors there?

I found that converting one of my drives to resier from ext3 also help preformance as well. I can watch movies over my network from this drive without a problem.

How long does it take to copy that 50 meg file on your linux box from one part of the drive to another?
 
Old 11-17-2003, 12:03 AM   #3
confused_bof
Member
 
Registered: Sep 2003
Location: Oz
Distribution: Ubuntu, Kubuntu, MythBuntu
Posts: 136

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by locutus233

How long does it take to copy that 50 meg file on your linux box from one part of the drive to another?
OK, I think you helped reveal a clue - I have just gone to the Linux/Samba machine, and copied the 50M test file from the WinXP PC to the Linux/ Samba PC.

Instant- blindingly fast as I'd expect from the hard ware I have.

However, when moving to the WinXP and transferring the file from there to the Linux/Samba PC, performance falls right off.

SO it seems both odd and interesting that the bottle neck appears only to the WinXP user and then only when writing to SAMBA.

I'm thinking WinXP problem (?)

The hard disk is ReiserFS, at least the one that I want to use for Samba storage.

I'll explore a bit more and report back.

Thanks
 
Old 11-18-2003, 07:23 AM   #4
bidibulo
LQ Newbie
 
Registered: Nov 2003
Distribution: MDK 9.2rc2
Posts: 9

Rep: Reputation: 0
That's so weird... we must be thousands to experience this...

My fs is ext3 on the linux server, and I use Win2K pro on my client PC.

The problem must come from a "NT5" component, I mean by a component present in both 2K/XP versions of windows. We can clear out of responsibility those gadget modules added in XP.

I will have a try with smbclient FROM the server, but i'm sure i will find the same as you, Confused BOF

C'mon, i'm sure somebody already spotted/identified/solved this issue ! We have the most common setup in the world ! (Win2k/XP and Samba)
 
Old 11-26-2003, 07:02 AM   #5
nairnie
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: RedHat 9, Slackware 9.1, Debian
Posts: 28

Rep: Reputation: 15
I am experienceing the same problem to a degree. Copying files from an XP machine while using my RedHat/Samba machine is fine. Copying files from XP to Samba machine while using XP is fine as long as they are smallish. Copying large files from my XP to Samba while using XP with large files (150mb+) seems to be very slow and then fails.

Has anyone found a workable solution?

Cheers,

nairnie
 
Old 11-26-2003, 07:06 AM   #6
bidibulo
LQ Newbie
 
Registered: Nov 2003
Distribution: MDK 9.2rc2
Posts: 9

Rep: Reputation: 0

seems we are alone here

i have tried to search again, and i only find people who experience the same problem but nobody can give an answer...
 
Old 11-26-2003, 02:16 PM   #7
confused_bof
Member
 
Registered: Sep 2003
Location: Oz
Distribution: Ubuntu, Kubuntu, MythBuntu
Posts: 136

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by bidibulo

seems we are alone here
.... nobody can give an answer...
Indeed. A google of this issue will find dozens, if not hundred of similar instances posted. Possible solutions of registry hacks, replacing hardware, tweaking network configurations (with no practical advice on what should be tweaked) etc simply did not work for me

We've had a Samba guru come to our office to look at the issue- he recommended new NICs and cabling. We did that but it made no difference.

We have bought FOUR books on SAMBA, not ONE touches on network performance issues in any great depth. In fact, none give information that you couldn't quickly get off the internet. One book in particular is nothing more than a plagiarisation of on line public domain documentation. Save your money.

We've given up now and Linux has been removed from our network and replaced with WinXP to act as a fileserver. Sure, it costs more, it is M$, but hey, it works first time - right click > share > set permissions > done!

In our experience Linux/ Samba it has a long long way to go. But at this point there seems little more to do than put it away and keep an eye open for answers.

BTW, we installed & tried SAMBA version 3 off the MDK9.1 distro. Had exactly the same poor performance issues.

Shame to remove Linux after all the hours, but there comes a time where you have to cut your losses, I think.

regards

Last edited by confused_bof; 11-26-2003 at 02:49 PM.
 
Old 11-26-2003, 02:26 PM   #8
daromer82
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
Hi
i hade the same probs whe i was using samba 2.x i installed samba 3.x instead. and then i can transfer 9mbyte/s in both directions. Full Duplex!
But i cannot garante that it is the resolution for your problems....
=(


and that with NIC's that costed me 50 skr ~4.5 usd
RTL 8139 circuits on them =)

//d

Last edited by daromer82; 11-26-2003 at 02:28 PM.
 
Old 11-26-2003, 03:03 PM   #9
nairnie
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: RedHat 9, Slackware 9.1, Debian
Posts: 28

Rep: Reputation: 15
I am pretty sure my problem has nothing to do with network cards as i have the same network cards in both machine (i also swapped them round just incase one was faulty) and got the same thing.

I have read both here and in other places that it is to to with NT5. If this is the case do people running NT4 or win 98 not experience these problems.
 
Old 11-26-2003, 04:04 PM   #10
daromer82
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
Hi again

but i also said that i Installed samba 3.x instead of 2.x and tha i got realy much better speed.
then to add i sad that i used realy cheap nics!
//d

Last edited by daromer82; 11-26-2003 at 04:07 PM.
 
Old 11-26-2003, 06:28 PM   #11
bidibulo
LQ Newbie
 
Registered: Nov 2003
Distribution: MDK 9.2rc2
Posts: 9

Rep: Reputation: 0
Hello confused_bof

It's yet more disappointing to be forced to windows as it looks like it IS the guilty OS for this performance problem.
Would it be a strategic move from windows in order to get back some of their customers ? well if it is, they've had success with Confused_bof's company...

let's see if this issue is mentioned on samba.org forums/ML
 
Old 11-27-2003, 12:20 AM   #12
confused_bof
Member
 
Registered: Sep 2003
Location: Oz
Distribution: Ubuntu, Kubuntu, MythBuntu
Posts: 136

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by bidibulo
Hello confused_bof

It's yet more disappointing to be forced to windows as it looks like it IS the guilty OS for this performance problem.
Would it be a strategic move from windows /ML
Let me emphasise that I also believe this is a WinXP issue, not SAMBA.

The conspiracy theory had occurred to me, especially if one considers the likely losses M$ would experience if SAMBA did manage to perform within acceptable limits. Hypothesis - M$ does something to WinXP that slows a LAN Linux/ SAMBA connection right down. Unsuspecting COnfused BOF (UCBOF) spends endless hours & days trying to get it going. Usenet and forum groups tell UCBOF it's all UCBOF's fault because he's too stupid to set up Linux. UCBOF battles on. Spends bulk money on books, assistance, distros, replacement hardware etc.. Fruitless months go by.

Eventually UCBOFdoes the arithmetic- works out had he actually done some productive work instead of screwing around with Linux/ Samba, he could have have paid for M$ small office server seats.

Ergo, M$ wins. UCBOF , but gives in.
 
Old 11-27-2003, 08:20 AM   #13
bidibulo
LQ Newbie
 
Registered: Nov 2003
Distribution: MDK 9.2rc2
Posts: 9

Rep: Reputation: 0
What's pityful is that i remember of having recently considered moving back to win2k as a server. The idea crossed briefly my mind. But i WON'T give up.

I searched in the samba forum yesterday, in vain.
 
Old 11-27-2003, 02:36 PM   #14
confused_bof
Member
 
Registered: Sep 2003
Location: Oz
Distribution: Ubuntu, Kubuntu, MythBuntu
Posts: 136

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by bidibulo
What's pityful is that i remember of having recently considered moving back to win2k as a server. The idea crossed briefly my mind. But i WON'T give up.

I searched in the samba forum yesterday, in vain.
You can't deny it's a doddle to set up.

I'm not giving up either- I'm just not going to waste any mor time, coz I cannot afford to. Wife and child expect to get fed

regards
 
Old 11-29-2003, 02:21 AM   #15
confused_bof
Member
 
Registered: Sep 2003
Location: Oz
Distribution: Ubuntu, Kubuntu, MythBuntu
Posts: 136

Original Poster
Rep: Reputation: 15
Smile

Quote:
Originally posted by confused_bof
I'm not giving up either- I'm just not going to waste any mor time, coz I cannot afford to. Wife and child expect to get fed
regards
Great news, boys and girls - my SAMBA connection is finally working like we knew it should. This is what worked for me:

Stuck MDK9.1 install disk into the CD and re-installed from scratch - reformatted everything.

DID NOT INSTALL ANY OF THAT INTERNET DIAL UP STUFF ON THE LINUX BOX (now sharing from the XP box).

COnfigured dual NICs - Designated the internet gateway access to one.

COnfigured SAMBA, set up shares etc. -

Works great!

Almost ready for one less WinXP box in the office.

Last edited by confused_bof; 11-29-2003 at 03:56 AM.
 
  


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
poor performance with madwifi ulb Linux - Wireless Networking 0 09-01-2005 06:55 PM
poor performance javabb Red Hat 8 01-20-2005 05:48 AM
poor performance in x ah786 Slackware 10 11-09-2004 11:11 AM
Poor performance Shyne Red Hat 1 10-17-2004 11:50 AM
Poor performance in 3D games WebmastaX Linux - Software 2 09-12-2003 01:22 PM

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

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

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