From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 15 22:09:34 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8CFEE5E6 for ; Tue, 15 Jan 2013 22:09:34 +0000 (UTC) (envelope-from fodillemlinkarim@gmail.com) Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176]) by mx1.freebsd.org (Postfix) with ESMTP id 624F2BF2 for ; Tue, 15 Jan 2013 22:09:34 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id 13so1226065iea.21 for ; Tue, 15 Jan 2013 14:09:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=BZIdCXRftVbKoVTrZZmHsBMSrjWzFuNThKU3YL4ka5g=; b=iumUrEs0LMTazXUDE+IERabj3yWDiQljJiq7lorTNQXCJwhGBOKfoxTmtvh//vBKpI 4rqusZ2AL7qMngB+EzbbAZG0o7Y1tgp5zsFdyTK4jXKvEW21EurswH/OgFA/mWSbLnpP jHJCktGasfxXRN5YjDJE696gY6sVRQ0RN85YFFAln9HDq45CrZ5MxGDzxmpju/MsLFfA nEHc9nnJEM30yjNi7ZWMsmE30wOziyquAEjOW93kifU1s5pQWwNw0Ytskvl/g2M/uBRy ZsdVCXFZW+2sHgdL+ygddC3W1fCE+3UCDmtjyrUiLMP3Pmz232ikkTmWVNyhRtbNK2U7 7c8w== X-Received: by 10.50.16.144 with SMTP id g16mr3201554igd.2.1358287768668; Tue, 15 Jan 2013 14:09:28 -0800 (PST) Received: from [192.168.1.73] ([208.85.112.101]) by mx.google.com with ESMTPS id fv6sm2874233igc.17.2013.01.15.14.09.26 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Jan 2013 14:09:27 -0800 (PST) Message-ID: <50F5D393.10704@gmail.com> Date: Tue, 15 Jan 2013 17:09:23 -0500 From: Karim Fodil-Lemelin User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Re: IBM blade server abysmal disk write performances References: <50F5BC08.1060700@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 15 Jan 2013 22:55:49 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2013 22:09:34 -0000 On 15/01/2013 3:55 PM, Adrian Chadd wrote: > You're only doing one IO at the end. That's just plain silly. There's > all kinds of overhead that could show up, that would be amortized over > doing many IOs. > > You should also realise that the raw disk IO on Linux is by default > buffered, so you're hitting the buffer cache. The results aren't going > to match, not unless you exhaust physical memory and start falling > behind on disk IO. At that point you'll see what the fuss is about. > To put is simply and maybe give a bit more context, here is what we're doing: 1) Boot OS (Linux or FreeBSD in this case) 2) dd some image over to the SAS drive. 3) rinse and repeat for X times. 4) profit. In this case if step 1) is done with Linux we get 100 times more profit. I was wondering if we could close the gap. Karim.