From owner-freebsd-fs@FreeBSD.ORG Tue Apr 15 22:29:23 2008 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 0DDD01065673 for ; Tue, 15 Apr 2008 22:29:23 +0000 (UTC) (envelope-from engywook@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id D27FD8FC22 for ; Tue, 15 Apr 2008 22:29:22 +0000 (UTC) (envelope-from engywook@gmail.com) Received: by wf-out-1314.google.com with SMTP id 25so2184652wfa.7 for ; Tue, 15 Apr 2008 15:29:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=+kERxgsxGt/pkF8hAmfIYoh8I/wHkdg9GhgZC8IUG3E=; b=N524O03Y7De5aJ/o4/c2LIprFtTSWHlmLn1ED2p3xoZijFe61+xXYFwboQxR07KTzXGcz0pki0ZjV1jlNgKaTtYwZ6LcfSXqpFHaW4s9Lv4avsyUHaULrZadE5eE7KDEmVCJ72vqN9VTLm6Csprv4Z9sPPlDOSYue/MpzDK7ghg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=R/D9Z8J26HqdJ6S3KtFEPYYrbjaxYKZubyXtZ7VtqnGX+MyqOJiylscFfduD786qMi6j99H7LP0W7PeVNg59cREcXULrytIrKGhWiKmaPKpbJvCx2RY++VpELzFEs/CEafxijN4Ra76Ph2R7DIhWEVMgNPyAyqlE0PugzYmqNEM= Received: by 10.142.81.7 with SMTP id e7mr1540601wfb.320.1208298562501; Tue, 15 Apr 2008 15:29:22 -0700 (PDT) Received: by 10.143.3.10 with HTTP; Tue, 15 Apr 2008 15:29:22 -0700 (PDT) Message-ID: <24adbbc00804151529m2a74085ds468eaac55ba94a32@mail.gmail.com> Date: Wed, 16 Apr 2008 00:29:22 +0200 From: "Daniel Andersson" To: freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Choppy performance. 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: Tue, 15 Apr 2008 22:29:23 -0000 Hey! ZFS seems to be working for me. It hasn't crashed/hung for me yet and I've been running it for about two weeks now. The only issue I have so far is that it seems very choppy. FTP transfers vary from 6 - 70MB/s. If I run rtorrent under high load and use top to monitor it: last pid: 74309; load averages: 0.53, 0.39, 0.35 up 5+05:52:41 00:03:25 41 processes: 2 running, 39 sleeping CPU states: 10.1% user, 0.0% nice, 30.0% system, 1.1% interrupt, 58.8% idle Mem: 1369M Active, 127M Inact, 374M Wired, 97M Cache, 213M Buf, 4692K Free Swap: 1024M Total, 27M Used, 997M Free, 2% Inuse PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 1215 engy 1 99 0 2085M 139M zfs:(& 49:32 19.53% rtorrent ... rtorrent seems to hang temporarily only when the STATE is zfs:(&. Any ideas why or how I can fix it? Does rtorrent steal the RAM ZFS needs? I've tuned it according to the tuning guide: #sysctl.conf kern.maxvnodes=400000 #loader.conf vm.kmem_size_max="1073741824" vm.kmem_size="1073741824" I just noticed that I didn't set vfs.zfs.prefetch_disable=1. I don't get the deadlocks but could the prefetch_disable fix my problem? I'm currently running a raidz pool with only two disks. Is there some way to turn off the mirroring? I don't really care if the stuff on the disks get corrupted/broken. I would however like to get 1TB instead of 500MB. =P Thanks for porting ZFS! Cheers, Daniel