Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Nov 2009 20:01:16 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        freebsd-fs@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: Performance issues with 8.0 ZFS and sendfile/lighttpd
Message-ID:  <9bbcef730911061101h5356d2acob2ac8791afe112@mail.gmail.com>
In-Reply-To: <4AF46CA9.1040904@quip.cz>
References:  <772532900-1257123963-cardhu_decombobulator_blackberry.rim.net-1402739480-@bda715.bisx.prod.on.blackberry> <hcma4s$c49$1@ger.gmane.org> <4AEEBD4B.1050407@quip.cz> <hcmhbj$40s$1@ger.gmane.org>  <4AEEDB3B.5020600@quip.cz> <hcmndo$q4e$1@ger.gmane.org> <4AF46CA9.1040904@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/11/6 Miroslav Lachman <000.fbsd@quip.cz>:

> I do not understand why there are 10MB/s read from disks when network
> traffic dropped to around 1MB/s (8Mbps)
>
> root@cage ~/# iostat -w 20
> =C2=A0 =C2=A0 =C2=A0tty =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ad4 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ad6 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 cpu
> =C2=A0tin tout =C2=A0KB/t tps =C2=A0MB/s =C2=A0 KB/t tps =C2=A0MB/s =C2=
=A0us ni sy in id
> =C2=A0 0 =C2=A0 14 41.66 =C2=A053 =C2=A02.17 =C2=A041.82 =C2=A053 =C2=A02=
.18 =C2=A0 0 =C2=A00 =C2=A02 =C2=A00 97
> =C2=A0 0 =C2=A0 18 50.92 =C2=A096 =C2=A04.77 =C2=A054.82 114 =C2=A06.12 =
=C2=A0 0 =C2=A00 =C2=A03 =C2=A01 96
> =C2=A0 0 =C2=A0 =C2=A06 53.52 101 =C2=A05.29 =C2=A054.98 108 =C2=A05.81 =
=C2=A0 1 =C2=A00 =C2=A04 =C2=A01 94
> =C2=A0 0 =C2=A0 =C2=A06 54.82 =C2=A098 =C2=A05.26 =C2=A055.89 108 =C2=A05=
.89 =C2=A0 0 =C2=A00 =C2=A03 =C2=A01 96

Yes, this could limit your IO if the requests are random enough.
Unfortunately I don't know how would you track down what is really
going on. Maybe some tracing with DTrace?

I'd tell you to use "top -m io" to see if there is a process
responsible, but apparently these statistics are not updated for ZFS,
which in itself may be a bug (which is why I'm crossposting to
freebsd-fs).



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