From owner-freebsd-fs@FreeBSD.ORG Wed Apr 16 22:16:06 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 18DC3106567B for ; Wed, 16 Apr 2008 22:16:06 +0000 (UTC) (envelope-from yalur@mail.ru) Received: from mx28.mail.ru (mx28.mail.ru [194.67.23.67]) by mx1.freebsd.org (Postfix) with ESMTP id C69178FC38 for ; Wed, 16 Apr 2008 22:16:05 +0000 (UTC) (envelope-from yalur@mail.ru) Received: from mx33.mail.ru (mx33.mail.ru [194.67.23.194]) by mx28.mail.ru (mPOP.Fallback_MX) with ESMTP id CF45E44E767 for ; Wed, 16 Apr 2008 23:12:35 +0400 (MSD) Received: from [77.123.105.27] (port=51169 helo=reluctant-operater.volia.net) by mx33.mail.ru with asmtp id 1JmD3Z-000FH6-00; Wed, 16 Apr 2008 23:12:33 +0400 From: Ruslan Kovtun Organization: Home To: freebsd-fs@freebsd.org Date: Wed, 16 Apr 2008 22:12:31 +0300 User-Agent: KMail/1.9.7 References: <24adbbc00804151529m2a74085ds468eaac55ba94a32@mail.gmail.com> In-Reply-To: <24adbbc00804151529m2a74085ds468eaac55ba94a32@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200804162212.32560.yalur@mail.ru> X-Spam: Not detected Cc: Daniel Andersson Subject: Re: Choppy performance. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yalur@mail.ru List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2008 22:16:06 -0000 Hey! I have the same problem - rtorrent to hang temporarily during high load.=20 Today I installed additional 2 GB RAM and now I have 4Gb. With this=20 configuration hanging is more less but still exist (during ZFS upload data = to=20 pool and swap use>0).=20 Seems, If swap not used (=3D0) then no any hanging. So, More RAM - more beter. =20 =F7 =D3=CF=CF=C2=DD=C5=CE=C9=C9 =CF=D4 =F3=D2=C5=C4=C1 16 =C1=D0=D2=C5=CC= =D1 2008 Daniel Andersson =CE=C1=D0=C9=D3=C1=CC(a): > 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=3D400000 > #loader.conf > vm.kmem_size_max=3D"1073741824" > vm.kmem_size=3D"1073741824" > > I just noticed that I didn't set vfs.zfs.prefetch_disable=3D1. 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. =3DP > > Thanks for porting ZFS! > > Cheers, > Daniel > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" =2D-=20 ________________ =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD =EB=CF=D7=D4=D5=CE =F2=D5=D3=CC=C1=CE mailto