Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2008 00:29:22 +0200
From:      "Daniel Andersson" <engywook@gmail.com>
To:        freebsd-fs@freebsd.org
Subject:   Choppy performance.
Message-ID:  <24adbbc00804151529m2a74085ds468eaac55ba94a32@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?24adbbc00804151529m2a74085ds468eaac55ba94a32>