Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Feb 2007 15:31:04 +0100
From:      Roger Olofsson <raggen@passagen.se>
To:        freebsd-questions@freebsd.org
Subject:   NFS or Samba? What performance could be expected?
Message-ID:  <45CC85A8.7040300@passagen.se>

next in thread | raw e-mail | index | archive | help
Dear mailing list,

First of all, thanks to everyone that took the time to answer my 
previous questions to the list, I will try and do the same for the 
questions I am able to help with.

Now, over to this weeks project. Basically it's about a web server 
(apache) that runs a php application. This application saves data to a 
definable path and the idea is to save over the network to another 
physical machine. The application is disk intensive meaning speed is (as 
always) essential. Both machines are close, same network segment with a 
couple of switches inbetween. One machine is 6.2 and the other is 5.5 
(FreeBSD of course).

The questions:

What would be appropriate to use to mount the storage? NFS or Samba? 
What performance would be expected?

Follow-up, for NFS, should the storage machine (where the data is saved) 
be the NFS daemon and the web server the client or the other way around? 
Is there any tweaking parameters other than the setup from the handbook?

I am familiar with the basic setup of both NFS and Samba, compiling 
samba into the kernel etc but I'd be grateful for tips about tweaking 
the network performance for both.

As always, I am grateful for any answer! Thanks In Advance!

Greetings
/Roger




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45CC85A8.7040300>