From owner-freebsd-current@FreeBSD.ORG Tue Dec 1 15:22:05 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71B571065696; Tue, 1 Dec 2009 15:22:05 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id A07E08FC14; Tue, 1 Dec 2009 15:22:04 +0000 (UTC) Received: by bwz5 with SMTP id 5so3541630bwz.3 for ; Tue, 01 Dec 2009 07:22:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=HS/KM+g6RIDxkz+XgKWyodCxzyRZfsOYdUPvsW70g28=; b=hQiNygDQIjxLM+X+Fm7XogmQfNKLTAmypztHnBb6vvNAgUjVEpEHOysvY6RkZyBEw5 eS8bcsOl4XUNBwnmXy1GmAUKeLMpHMQwnJLCaGNxx2J1lVUpFEh9yMy/jnGqatpw6Uqr CHtmaoBS0DR9BZ0ZrjiS/qxztBqvrX6lDhqlA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=GoX0WujUvqf8B1IQIHm/uH+m0RcRfjJBYzKjXcXfdHVQB2pFpRNfhI9qyOnx2s20Sr 1p8Df/OYSyVa8hll47vVHbsgOolmPJ/1rtT0d940dM8/56pZ9bb8NEn0V0ja58iokLDr ysznGHJsq6ubZRHuIqp6pljj7gT4S7Rp1b2CQ= Received: by 10.204.5.75 with SMTP id 11mr6185285bku.20.1259680923725; Tue, 01 Dec 2009 07:22:03 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 15sm79124fxm.14.2009.12.01.07.22.01 (version=SSLv3 cipher=RC4-MD5); Tue, 01 Dec 2009 07:22:02 -0800 (PST) Sender: Alexander Motin Message-ID: <4B153498.8050601@FreeBSD.org> Date: Tue, 01 Dec 2009 17:22:00 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20090901) MIME-Version: 1.0 To: Alexander Motin References: <1259583785.00188655.1259572802@10.7.7.3> <1259659388.00189017.1259647802@10.7.7.3> In-Reply-To: <1259659388.00189017.1259647802@10.7.7.3> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, David Naylor Subject: Re: FreeBSD 8.0 Performance (at Phoronix) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2009 15:22:05 -0000 Alexander Motin wrote: > Threaded I/O activity could get much benefit from NCQ-aware disk driver. > It is not included in default FreeBSD kernel, but it would be nice to > compare. To check possible NCQ effect, I've built test setup with new 320GB 7200RPM Seagate drive connected to Intel ICH10R controller. I've run IMHO more reasonable benchmark/raidtest tool from ports on whole device, to execute pregenerated random mix of 10000 random-sized (512B - 128KB) read/write requests using default ata(4) driver and new ahci(4): Number of READ requests: 5029. Number of WRITE requests: 4971. Number of bytes to transmit: 655986688. Number of processes: 32. The results: ata(4) - no NCQ: Bytes per second: 12455402 Requests per second: 189 ahci(4) - with NCQ: Bytes per second: 19889778 Requests per second: 303 Results are repeatable up to the 4-th digit. Average time per request is 5.29ms and 3.3ms respectively, that seems realistic for this drive. -- Alexander Motin