From owner-freebsd-geom@FreeBSD.ORG Sat Nov 22 00:53:15 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9B521065670 for ; Sat, 22 Nov 2008 00:53:15 +0000 (UTC) (envelope-from joeyea323@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.189]) by mx1.freebsd.org (Postfix) with ESMTP id 891688FC14 for ; Sat, 22 Nov 2008 00:53:15 +0000 (UTC) (envelope-from joeyea323@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so988999rne.12 for ; Fri, 21 Nov 2008 16:53:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=t8EO8zZP66ArVi3Phd+h+yYDlVw5/vbnLfD37tBDtN0=; b=N0b+K74Pm8l4KYiEP4GvqdGTe7N3Esm1vnO9MwsZZFHzWQb6PgTiPI2O+AaR8bkTBs CGxn4HF4EH3aviii9vo/OOtdF2MueRwEKuxuyK2YYWBRNPBrZL9Qgu1g+fbeL6cLHoZG TVcZDonrY0LlACTiA4fD9PywmngcibWRrZN+E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=W/V7xwrCKUnoEBL+e9hsx1CQVvp0NcHNeQMjOiIZCQZYjKwY0fiPbkuf+phx9Ojdf/ BlCaOmjMvuCJoM5ctafOtcpa3Rwjzk8EcATu2T0WOQXK1wzMnXR7mrwNaIhGRtCBFdud IAUXgiU7JzR42oFsEtEGJmA2nPffkezqOukkQ= Received: by 10.100.131.16 with SMTP id e16mr519291and.67.1227313993362; Fri, 21 Nov 2008 16:33:13 -0800 (PST) Received: by 10.100.108.8 with HTTP; Fri, 21 Nov 2008 16:33:13 -0800 (PST) Message-ID: <44f12db00811211633w52c7b600s20e13f4255a82948@mail.gmail.com> Date: Sat, 22 Nov 2008 03:33:13 +0300 From: "Joseph Yeager" To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: GGatec Performance X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2008 00:53:16 -0000 I've been messing around ggatec lately and have noticed that I see a drastic decrease in write speed when I share out devices as opposed to files. For instance, lets say Server2 is trying to share a drive to Server1. Server2 has 2 partitions, one for the OS and the other for the share. If I do a newfs on the 2nd partition, mount it, and create a large file on the mount I can expect a slowdown of about 5-10MB/s compared to native speed (the drive writes at about 50-55MB/s natively) when writing over the network. If I were to, instead, do the same as above except dont bother mounting and creating a large file and just sharing out the device I see a major slowdown. Where I can easily get 40-50MB/s with the former method, the latter method has trouble hitting 15MB/s. Sometimes it will barely hit 5MB/s! I see two possible solutions here that I hope someone can help me with: 1. Perhaps there are some performance tuning steps I can do to alleviate this problem or perhaps this is the incorrect way to share it out. 2. Is there any way to quickly create large files? I do like this approach better as this gives me a better way to subdivide the share. The only problem is that even at over 50MB/s, dd will still take a very long time to create a 500GB file. Thanks for your help, Joe