From owner-freebsd-questions@FreeBSD.ORG Wed Dec 31 10:22:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17984106564A for ; Wed, 31 Dec 2008 10:22:07 +0000 (UTC) (envelope-from bernard@dugas-family.org) Received: from smtp11.ispronet.com (smtp11.ispronet.com [81.28.196.233]) by mx1.freebsd.org (Postfix) with ESMTP id C001E8FC25 for ; Wed, 31 Dec 2008 10:22:06 +0000 (UTC) (envelope-from bernard@dugas-family.org) Received: from localhost (unknown [127.0.0.1]) by smtp11.ispronet.com (Postfix) with ESMTP id 445B4B858; Wed, 31 Dec 2008 11:22:05 +0100 (CET) Received: from smtp11.ispronet.com ([127.0.0.1]) by localhost (smtp11.ispronet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 58482-04; Wed, 31 Dec 2008 11:21:55 +0100 (CET) Received: from [192.168.1.50] (unknown [81.28.194.61]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp11.ispronet.com (Postfix) with ESMTP; Wed, 31 Dec 2008 11:21:55 +0100 (CET) Message-ID: <495B483A.4080408@dugas-family.org> Date: Wed, 31 Dec 2008 11:23:54 +0100 From: Bernard Dugas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7) Gecko/20040616 X-Accept-Language: fr,en MIME-Version: 1.0 To: usleepless@gmail.com References: <20081216094719.EDCEE1065675@hub.freebsd.org> <495930E4.1030501@dugas-family.org> <20081229230115.F68805@wojtek.tensor.gdynia.pl> <4959DFEF.5090407@dugas-family.org> <20081230150507.U87347@wojtek.tensor.gdynia.pl> <495A3957.9050002@dugas-family.org> <495A3C72.5070802@unsane.co.uk> <20081230201351.L12391@wojtek.tensor.gdynia.pl> <495A9595.6080201@dugas-family.org> <20081231002557.D45571@wojtek.tensor.gdynia.pl> <495B2516.4020904@dugas-family.org> <495B2A4B.8010002@gmail.com> In-Reply-To: <495B2A4B.8010002@gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at ispronet.com Cc: "freebsd-questions@freebsd.org" Subject: Re: Optimising NFS for system files 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: Wed, 31 Dec 2008 10:22:07 -0000 usleep wrote: > - Second installation > - FreeNAS, RAID0 > - Tested throughput ( to local RAID0 ): > - ftp: 82MB/s > - nfs: 75MB/s > - cifs/samba: 42MB/s Thanks a lot for these clear references ! > Test issues ( things that get you confused ) > - if you expect to be able to copy a file at Gigabit speeds, you > need to be able to write as fast to your local disk as well. So to > reliable test SAN/NAS performance at Gigabit speeds you need RAID at > the server and at the client. Or write to /dev/null This is what i did with the tar. What function do you use for testing ? > - if you repeatedly test with the same file, it will get cached into > memory of the NAS. so you won't be testing troughput > disk->network->disk anymore: you are testing > NAS-memory->network->disk. I was testing with > ubuntu-iso's, but with 1GB of memory, ISO's get cached as well. i was fearing that, but it seems that does not happen in my testing, as repeating same test give same result. I don't know why it does not happens... > - if you repeatedly test with the same file, and you have enough > local memory, and you test with nfs or cifs/samba, the file will get > cached locally as well. this results into transfer-speeds to > /dev/null exceeding 100MB/s ( Gigabit speeds ). i have observed > transfer speeds to /dev/null of 400MB/s! I would love to see that behaviour. But it didn't happen neither in my testing :-( > We now have a NAS that performs faster than local disk. ^^^^ Is it the FreeNAS you describe in your testing or a new one ? > We plan to use it run development-virtual-machines on. This is also my target :-) I will have some high density servers (6 independent servers in 1U) and trying to master the freebsd diskless process before... Best regards, -- Bernard DUGAS Mobile +33 615 333 770