From owner-freebsd-stable@FreeBSD.ORG Wed Oct 27 20:51:32 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0C59106564A for ; Wed, 27 Oct 2010 20:51:32 +0000 (UTC) (envelope-from serguey-grigoriev@yandex.ru) Received: from forward13.mail.yandex.net (forward13.mail.yandex.net [95.108.130.120]) by mx1.freebsd.org (Postfix) with ESMTP id 6336E8FC16 for ; Wed, 27 Oct 2010 20:51:32 +0000 (UTC) Received: from web127.yandex.ru (web127.yandex.ru [95.108.130.105]) by forward13.mail.yandex.net (Yandex) with ESMTP id A6E4F1081564 for ; Thu, 28 Oct 2010 00:51:30 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1288212690; bh=UuP8VuC/UNPmk+rKIXvTJhtcRZfnxUKp7hGWzncJucM=; h=From:To:Subject:MIME-Version:Message-Id:Date: Content-Transfer-Encoding:Content-Type; b=XEPAC3sttmReUecDBOZgu97/kc+diMRxmWTghlqPZMOzGK969dfjeqNJCPvVRcFOa nbhkxEpPepEpNEaAaPbUKiztg6cJ1Da6dxy9+9K+MbwVZNxgVWolpKGfxTR0l8hVN6 qllWSpR5cGFkJNCyk3aPICP6cjFj46NABguch+MQ= Received: from localhost (localhost.localdomain [127.0.0.1]) by web127.yandex.ru (Yandex) with ESMTP id A03634D300A2 for ; Thu, 28 Oct 2010 00:51:30 +0400 (MSD) X-Yandex-Spam: 0 X-Yandex-Front: web127.yandex.ru X-Yandex-TimeMark: 1288212690 Received: from [188.134.22.116] ([188.134.22.116]) by mail.yandex.ru with HTTP; Thu, 28 Oct 2010 00:51:30 +0400 From: S.N.Grigoriev To: freebsd-stable@freebsd.org MIME-Version: 1.0 Message-Id: <398231288212690@web127.yandex.ru> Date: Thu, 28 Oct 2010 00:51:30 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain Subject: ZFS write speed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2010 20:51:32 -0000 Hi list, I've got very low write speed using ZFS on a SATA disk. My HDD configuration is: ad4: 70911MB at ata2-master UDMA100 SATA 3Gb/s ad6: 78532MB at ata3-master UDMA100 SATA 1.5Gb/s ad8: 1430799MB at ata4-master UDMA100 SATA 3Gb/s ad4 and ad6 are single-slice disks (UFS2 with soft updates) ZFS configuration is following: zpool create Z ad8 zfs create Z/music zfs create Z/video All ZFS parameters are default. kern.maxvnodes = 1000000 To test my configuration I recursively copied from ad6 to ad8 two directories. The first one contains MP3 files (average size = 10MB). The second one contains AVI files (average size = 1GB). To compare performance I repeated above tests with ad8 using UFS2 with soft updates. 18GB of MP3 files required 10m35s to copy to UFS2 and 21m40s to copy to ZFS. 30GB of AVI files required 16m6s to copy to UFS2 and 1h2m39s to copy to ZFS. I used for tests FreeBSD 8.1R amd64. Amount of RAM on my machine is 6GB. Any tips? -- Regards, Serguey.