From owner-freebsd-questions@FreeBSD.ORG Fri Feb 9 14:31:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 12FD316A403 for ; Fri, 9 Feb 2007 14:31:13 +0000 (UTC) (envelope-from raggen@passagen.se) Received: from av11-2-sn2.hy.skanova.net (av11-2-sn2.hy.skanova.net [81.228.8.184]) by mx1.freebsd.org (Postfix) with ESMTP id A38E013C48E for ; Fri, 9 Feb 2007 14:31:12 +0000 (UTC) (envelope-from raggen@passagen.se) Received: by av11-2-sn2.hy.skanova.net (Postfix, from userid 502) id 74E8F386E3; Fri, 9 Feb 2007 15:31:11 +0100 (CET) Received: from smtp4-1-sn2.hy.skanova.net (smtp4-1-sn2.hy.skanova.net [81.228.8.92]) by av11-2-sn2.hy.skanova.net (Postfix) with ESMTP id 3FB623883A for ; Fri, 9 Feb 2007 15:31:11 +0100 (CET) Received: from [192.168.1.6] (81-231-90-251-no41.tbcn.telia.com [81.231.90.251]) by smtp4-1-sn2.hy.skanova.net (Postfix) with ESMTP id 18E0537E4B for ; Fri, 9 Feb 2007 15:31:08 +0100 (CET) Message-ID: <45CC85A8.7040300@passagen.se> Date: Fri, 09 Feb 2007 15:31:04 +0100 From: Roger Olofsson User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: NFS or Samba? What performance could be expected? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Feb 2007 14:31:13 -0000 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