Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2008 22:12:31 +0300
From:      Ruslan Kovtun <yalur@mail.ru>
To:        freebsd-fs@freebsd.org
Cc:        Daniel Andersson <engywook@gmail.com>
Subject:   Re: Choppy performance.
Message-ID:  <200804162212.32560.yalur@mail.ru>
In-Reply-To: <24adbbc00804151529m2a74085ds468eaac55ba94a32@mail.gmail.com>
References:  <24adbbc00804151529m2a74085ds468eaac55ba94a32@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <yalur@mail.ru>



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