From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 18 15:17:03 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 14357337 for ; Fri, 18 Jan 2013 15:17:03 +0000 (UTC) (envelope-from feld@feld.me) Received: from feld.me (unknown [IPv6:2607:f4e0:100:300::2]) by mx1.freebsd.org (Postfix) with ESMTP id E3A39EFA for ; Fri, 18 Jan 2013 15:17:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=feld.me; s=blargle; h=In-Reply-To:Message-Id:From:Mime-Version:Date:References:Subject:To:Content-Type; bh=FAhTB+lxb0gCZ9nrRpuEvR2dKDxghX3nFC+5NJ3Ygz8=; b=EeJOekjh2zrkrI1MwelUFHmUgMRlOi6r+c6d8+I/QCv3P/fEhl5GudalNxqZCXZNpE7eanEeGICMfRmZhOEsYAv5Yq1FvOQkXXTh63lw8Z9Wa5a65ookUfmABLNSGy7G; Received: from localhost ([127.0.0.1] helo=mwi1.coffeenet.org) by feld.me with esmtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1TwDgj-0008vW-3f; Fri, 18 Jan 2013 09:17:01 -0600 Received: from feld@feld.me by mwi1.coffeenet.org (Archiveopteryx 3.1.4) with esmtpsa id 1358522210-12155-89420/5/1; Fri, 18 Jan 2013 15:16:50 +0000 Content-Type: text/plain; format=flowed; delsp=yes To: freebsd-hackers@freebsd.org, Karim Fodil-Lemelin Subject: Re: IBM blade server abysmal disk write performances References: <50F87741.4030201@gmail.com> Date: Fri, 18 Jan 2013 09:16:50 -0600 Mime-Version: 1.0 From: Mark Felder Message-Id: In-Reply-To: <50F87741.4030201@gmail.com> User-Agent: Opera Mail/12.12 (FreeBSD) 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: Fri, 18 Jan 2013 15:17:03 -0000 On Thu, 17 Jan 2013 16:12:17 -0600, Karim Fodil-Lemelin wrote: > "SAS controllers may connect to SATA devices, either directly connected > using native SATA protocol or through SAS expanders using SATA Tunneled > Protocol (STP)." > The systems is currently put in place using SATA instead of SAS > although its using the same interface and backplane connectors and the > drives (SATA) show as da0 in BSD _but_ with the SATA drive we get *much* > better performances. I am thinking that something fancy in that SAS > drive is not being handled correctly by the FreeBSD driver. I am > planning to revisit the SAS drive issue at a later point (sometimes next > week). Your SATA drives are connected directly not with an interposer such as the LSISS9252, correct? If so, this might be the cause of your problems. Mixing SAS and SATA drives is known to cause serious performance issues for almost every JBOD/controller/expander/what-have-you. Change your configuration so there is only one protocol being spoken on the bus (SAS) by putting your SATA drives behind interposers which translate SAS to SATA just before the disk. This will solve many problems.