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-23-2006, 09:00 PM   #1
RottenMutt
Member
 
Registered: Jul 2003
Location: dfw
Distribution: Latest Fedora Release
Posts: 195

Rep: Reputation: 31
Exclamation wtf, samba is slow


how can i fix this: I have a 4 disk raid array which should be able to saturate my 1G-ethernet lan. I transferred a 4GB+ file from my server to a windows vista rc2 client and saw that i'm only using 15% of the available bandwidth. so i looked at my server and i saw that there is just as much disk activity on hda1 as there is on md0. so logically i assume it is copying it to hda1(OS) before it is sending it. So it is reading it off the fast md0 array, writing the file and then reading off a slow hard disk it as it is sending it over the lan!!!! Bloody genius.

how can i stop this? is there as switch to stop cacheing??

FC6 is the distro....

Last edited by RottenMutt; 11-27-2006 at 08:16 PM.
 
Old 11-24-2006, 12:04 PM   #2
RottenMutt
Member
 
Registered: Jul 2003
Location: dfw
Distribution: Latest Fedora Release
Posts: 195

Original Poster
Rep: Reputation: 31
any ideas???
 
Old 11-27-2006, 08:16 PM   #3
RottenMutt
Member
 
Registered: Jul 2003
Location: dfw
Distribution: Latest Fedora Release
Posts: 195

Original Poster
Rep: Reputation: 31
any ideas two????
 
Old 11-28-2006, 08:11 AM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Bumping your post is counter-productive:
http://www.linuxquestions.org/questi...67#post2516367

Since you are getting no responses, maybe you should re-cast your Q, this might help: How To Ask a Question, also the Raymond & Moen article referenced therein.

If you haven't read it already, this might also be helpful: http://www.linuxquestions.org/linux/...xQuestions_org

Speaking for myself only, I find your style borderline unreadable: Needs better paragraphing & better attention to traditional & well as computer capitalization. ("i", "how", "lan", ...)
If you think I'm being too picky, read what Raymond & Moen have to say about the perceived thinking of the author of a sloppily written Q, as well as their opinion of his/her respect for the kind & generous folk it is being asked of.

HTH, rather than seems like a flame. I am interested in seeing the solution to your problem.
 
Old 11-28-2006, 08:44 AM   #5
lucktsm
Member
 
Registered: May 2004
Location: Atlanta, GA USA
Distribution: Redhat ES4, FC4, FC5, slax, ubuntu, knoppix
Posts: 155

Rep: Reputation: 30
Can you verify that you are using the correct settings on the nic? For example you may be set up using 100mb half duplex.

Also, verify there are no packet filters running on either machine, like firewalls etc...
 
Old 11-28-2006, 02:15 PM   #6
RottenMutt
Member
 
Registered: Jul 2003
Location: dfw
Distribution: Latest Fedora Release
Posts: 195

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by lucktsm
Can you verify that you are using the correct settings on the nic? For example you may be set up using 100mb half duplex.

Also, verify there are no packet filters running on either machine, like firewalls etc...
thanks for the reply. i can ftp files to my raid array and i get more then 110MB/sec, where as i only get about 12MB/sec thru samba. samba seems to copy to from my raid array to hda before sending the file over the net. almost like there is some sort of caching option which is on by default.

i will have to check for packet filters. i have firestarter, and have opened up the IP addresses of my internal network.

is there somewhere i can find all the undocumented switches in samba???
 
Old 11-30-2006, 12:32 PM   #7
lucktsm
Member
 
Registered: May 2004
Location: Atlanta, GA USA
Distribution: Redhat ES4, FC4, FC5, slax, ubuntu, knoppix
Posts: 155

Rep: Reputation: 30
I've had luck googling samba. It could be a windows problem. Is it faster using samba between two linux machines?
 
  


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 (very slow) stomach Linux - Software 1 10-26-2005 12:07 PM
Slow Samba..... benmay05 Linux - Networking 5 01-29-2005 08:07 PM
Samba is VERY VERY slow ludwig W Linux - Networking 25 09-20-2004 02:55 PM
samba very slow Moebius Linux - Networking 2 08-25-2004 10:38 AM
Slow SAMBA gshok108 Linux - Networking 0 12-21-2003 06:27 PM

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

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