From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 15 22:46:06 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 5CBBBEE for ; Tue, 15 Jan 2013 22:46:06 +0000 (UTC) (envelope-from fodillemlinkarim@gmail.com) Received: from mail-ie0-f170.google.com (mail-ie0-f170.google.com [209.85.223.170]) by mx1.freebsd.org (Postfix) with ESMTP id 31C0DEAC for ; Tue, 15 Jan 2013 22:46:05 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id k10so1287910iea.1 for ; Tue, 15 Jan 2013 14:45:59 -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=J18BBfWl2LpiezjMJWyQhYeE8tN3jkb+XZDl2W1uaWA=; b=Tzz7iI964bhTej5bG6xfrXUBKUZn6Am7c2PWnCoxn4tRUr4+VoIpPy99SUI0zVtRMO z3Y23hDHOPm5pSurdLWXMmh4l0hsR4buEAj5uEYxrLi37Kt6KK28l4H0J3Di3z6N9eER lIamwkhnBeq73ApCCgbBXXYQJpOMy0g7tJj0qOogT52dA35PsdwNaMtn2va4U9qHDp3s MAqOgCuGq0MMjBrBXhiJduTXbsQVs3mrAIs/EP8at+osz0fEX2u8D8p/FE72Q/gJE/vL NCz3ALxHtIR1EPwlhjg3rkTJKz5FHv0+ozmakf3uGGAICrWdMZ8nUYklB9wd8q1Uggyi JvEg== X-Received: by 10.50.7.204 with SMTP id l12mr3187831iga.103.1358289959498; Tue, 15 Jan 2013 14:45:59 -0800 (PST) Received: from [192.168.1.73] ([208.85.112.101]) by mx.google.com with ESMTPS id rd10sm2984662igb.1.2013.01.15.14.45.57 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Jan 2013 14:45:58 -0800 (PST) Message-ID: <50F5DC22.6040405@gmail.com> Date: Tue, 15 Jan 2013 17:45:54 -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 23:08:23 +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:46:06 -0000 On 15/01/2013 4:54 PM, Wojciech Puchar wrote: >> >> # dd if=/dev/zero of=foo count=1 bs=10240000 >> 1+0 records in >> 1+0 records out >> 10240000 bytes transferred in 19.579077 secs (523007 bytes/sec) >> > you write to file not device, so it will be clustered anyway by FreeBSD. > > 128kB by default, more if you put options MAXPHYS=... in kernel config > and recompile. > > Even with hard drive write cache disabled, it should about one write > per revolution but seems to do 4 writes per second. > > so probably it is not that but much worse failure. > > Did you rest read speed? > > dd if=/dev/disk of=/dev/null bs=512 > > dd if=/dev/disk of=/dev/null bs=4k > > dd if=/dev/disk of=/dev/null bs=128k > As you mentioned the dd file tests were done UFS and not on raw device. I will get those numbers for you. Thanks, Karim.