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 07-14-2005, 03:25 PM   #1
pAn1k
Member
 
Registered: Jun 2004
Location: Cala city
Distribution: Suse 10.0; Debian 5.0 (Lenny) Fluxbox
Posts: 240

Rep: Reputation: 30
Cool Samba faster than NFS...


Is Samba faster than NFS, or vice versa. Also, while transferring files from my Samba server w/ 10/100 Mgbit card to my laptop (10/100 Mgbit) I only get about 4~5 Mgbit p/s. What can I do to speed this up?

Thanks
 
Old 07-14-2005, 03:36 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Try both, with nfs you could add this option in fstab client
to speed up a little the transfer :
Code:
rsize=8192,wsize=8192,hard,intr
 
Old 07-14-2005, 03:44 PM   #3
pAn1k
Member
 
Registered: Jun 2004
Location: Cala city
Distribution: Suse 10.0; Debian 5.0 (Lenny) Fluxbox
Posts: 240

Original Poster
Rep: Reputation: 30
Thanks for the reply...
 
Old 07-14-2005, 03:58 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Are you getting only 4-5Mbit/sec or 4-5MByte/sec? If you're looking at file size/time, that would 4-5MByte/sec, which is actually fairly normal (ok, a tad low) for a standard 100MB ethernet connection.
 
Old 07-14-2005, 04:22 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
In my experience, NFS is faster than Samba.
 
Old 07-14-2005, 04:30 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
In my experience, the two are about the same. But I've only worked on consumer-grade hardware, so I've probably been bottlenecking at either the network or the drive.
 
Old 07-14-2005, 09:04 PM   #7
pAn1k
Member
 
Registered: Jun 2004
Location: Cala city
Distribution: Suse 10.0; Debian 5.0 (Lenny) Fluxbox
Posts: 240

Original Poster
Rep: Reputation: 30
Sorry for the type-o I am getting 4~5 MBytes/sec. Thanks for the replies all.
 
Old 07-15-2005, 06:59 AM   #8
Brian Knoblauch
Member
 
Registered: Jan 2005
Distribution: OpenSuse Tumbleweed
Posts: 288

Rep: Reputation: 39
On a good connection, NFS should be faster due to it's very nature. However, SMB may be more reliable on "noisy" links.
 
  


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
DISCUSSION: Faster and Faster Compilation jeremy LinuxAnswers Discussion 5 12-06-2005 01:41 AM
Samba or NFS which is better? gnu noob Linux - Software 8 05-18-2004 02:07 PM
NFS and or Samba linuxnube Linux - Networking 7 01-18-2004 06:18 AM
Samba vs nfs rtaft Linux - Networking 1 12-23-2003 04:51 PM
booting: need faster timeout for eth0 and nfs mdobbs Linux - General 2 03-18-2002 11:48 PM

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

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