From owner-freebsd-fs@FreeBSD.ORG Sat Feb 27 21:31:58 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97062106566B; Sat, 27 Feb 2010 21:31:58 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-yx0-f177.google.com (mail-yx0-f177.google.com [209.85.210.177]) by mx1.freebsd.org (Postfix) with ESMTP id ECB328FC1A; Sat, 27 Feb 2010 21:31:57 +0000 (UTC) Received: by yxe7 with SMTP id 7so367088yxe.3 for ; Sat, 27 Feb 2010 13:31:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=b2Yuaigc6fz2bdvIRNBqRLf4M3zNhVSQFqEnYz3ewro=; b=MjD+u3zw2bHtBQmOb05uopYs1bqXAvwpDUUX+hmS15kh32wZCnDkpz8CVMBVueejGI pSJgqxkdSbjNftUqVc4VQLsYc179Nf7owIiNJGj1IgCuPy8Vqjd+6XhST+YuWbyHSXeH C5CytuJ2OnsgamR3sJTgY7q3+bNIv2NCiJ4PE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=rM+tivnS1NZ26nptw0sUBEV6QopdkDMKzl9UPcj3fg4NyHxs1IT7NsRT9yPs1TAVyx mwcdcT+7l8c+bkEcxDwZuSIdgjTqWw4U+JdGCoVIY0Sw57FAlrVGOps0xdhW+hOe2IZv oh9qcC26iaQMGbJYR2YQQx8su9frZLg8n2gYY= MIME-Version: 1.0 Received: by 10.101.172.3 with SMTP id z3mr3225792ano.192.1267306310832; Sat, 27 Feb 2010 13:31:50 -0800 (PST) Date: Sat, 27 Feb 2010 23:31:50 +0200 Message-ID: From: Dan Naumov To: FreeBSD-STABLE Mailing List , freebsd-questions@freebsd.org, freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: 8.0-RELEASE/amd64 - full ZFS install - low read and write disk performance (fixed) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2010 21:31:58 -0000 Hello folks A few weeks ago, there was a discussion started by me regarding abysmal read/write performance using ZFS mirror on 8.0-RELEASE. I was using an Atom 330 system with 2GB ram and it was pointed out to me that my problem was most likely having both disks attached to a PCI SIL3124 controller, switching to the new AHCI drivers didn't help one bit. To reitirate, here are the Bonnie and DD numbers I got on that system: =================================================== Atom 330 / 2gb ram / Intel board + PCI SIL3124 -------Sequential Output-------- ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 8192 21041 53.5 22644 19.4 13724 12.8 25321 48.5 43110 14.0 143.2 3.3 dd if=/dev/zero of=/root/test1 bs=1M count=4096 4096+0 records in 4096+0 records out 4294967296 bytes transferred in 143.878615 secs (29851325 bytes/sec) (28,4 mb/s) =================================================== Since then, I switched the exact same disks to a different system: Atom D510 / 4gb ram / Supermicro X7SPA-H / ICH9R controller (native). Here are the updated results: -------Sequential Output-------- ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 8192 30057 68.7 50965 36.4 27236 21.3 33317 58.0 53051 14.3 172.4 3.2 dd if=/dev/zero of=/root/test1 bs=1M count=4096 4096+0 records in 4096+0 records out 4294967296 bytes transferred in 54.977978 secs (78121594 bytes/sec) (74,5 mb/s) =================================================== Write performance now seems to have increased by a factor of 2 to 3 and is now definately in line with the expected performance of the disks in question (cheap 2TB WD20EADS with 32mb cache). Thanks to everyone who has offered help and tips! - Sincerely, Dan Naumov