Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2007 21:37:30 +0100
From:      "Joao Barros" <joao.barros@gmail.com>
To:        "Pawel Jakub Dawidek" <pjd@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c
Message-ID:  <70e8236f0704271337j6350544eube6d9199a977561@mail.gmail.com>
In-Reply-To: <200704261707.l3QH7oMP080822@repoman.freebsd.org>
References:  <200704261707.l3QH7oMP080822@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/26/07, Pawel Jakub Dawidek <pjd@freebsd.org> wrote:
> pjd         2007-04-26 17:07:50 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c
>   Log:
>   MFp4: Optimize mappedwrite() and mappedread() functions to write/read as much
>   non-mapped data as possible at once and not page-by-page. Which this change we
>   combain I/Os, but also saves many VM_OBJECT_UNLOCK()/VM_OBJECT_LOCK()
>   operations.
>
>   Simple 'fsx -l 33554432 -o 524288 -N 10000 /tank/fsx' test shows ~23%
>   performance increase.
>
>   Revision  Changes    Path
>   1.11      +58 -31    src/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c

With a kernel from April 14 a 'make kernel' took around 35 mins.
I upgraded the system last night and just did a compile test. It took:
924.121u 506.504s 25:57.56 91.8%        3097+1614k 71+4605io 2447pf+0w
All this with the root fs as ZFS.
With the root fs on UFS the same operation took around 25 minutes so
I'd say your last commits greatly improve zfs performance and brings
it on par with ufs, at least with this particular workload.
Of course this isn't a real benchmark but my numbers did change :)

Again, nice work Pawel!

-- 
Joao Barros



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