[Bug 187594] [zfs] [patch] ZFS ARC behavior problem and fix
Larry Rosenman
ler at lerctr.org
Sun Aug 24 00:06:42 UTC 2014
On 2014-08-23 09:13, Steven Hartland wrote:
> ----- Original Message ----- From: <bugzilla-noreply at freebsd.org>
>
>
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187594
>>
>> --- Comment #25 from fullermd at over-yonder.net ---
>> Having run it for a few months on a number of boxes now, my general
>> impression
>> is that it seems like it goes a little _too_ far (with default options
>> anyway;
>> I haven't tried any tuning) toward making the ARC give up its lunch
>> money to
>> anybody who looks threateningly at it. It feels like it should be a
>> bit more
>> aggressive, and historically was and did fine.
>>
>> However, it's still _much_ nicer than the unpatched case, where the
>> rest of the
>> system starves and hides out in the swap space. So from here, while
>> perhaps
>> imperfect and in need of some tuning work, it's still a significant
>> improvement
>> on the prior state, so landing it sounds just fine to me.
>
> The attached updated patch, which has been cleaned up and hammered hard
> at
> the event here I'll look to commit to head soon if there are no
> objections.
>
> Regards
> Steve
>
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
and a full buildworld buildkernel garners"
cc -O2 -pipe
-I/usr/src/cddl/usr.bin/zinject/../../../sys/cddl/compat/opensolaris
-I/usr/src/cddl/usr.bin/zinject/../../compat/opensolaris/include
-I/usr/src/cddl/usr.bin/zinject/../../compat/opensolaris/lib/libumem
-I/usr/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzfs/common
-I/usr/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzfs_core/common
-I/usr/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzpool/common
-I/usr/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libnvpair
-I/usr/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
-I/usr/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/sys
-I/usr/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common
-I/usr/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/common/zfs/
-I/usr/src/cddl/usr.bin/zinject/../../contrib/opensolaris/head
-I/usr/src/cddl/usr.bin/zinject/../../lib/libumem -DNEED_SOLARIS_BOOLEAN
-std=gnu89 -Qunused-arguments -fstack-protector -Wno-pointer-sign
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
-Wno-unused-function -Wno-enum-conversion -Wno-switch -Wno-switch-enum
-Wno-knr-promoted-parameter -Wno-parentheses -Wno-unknown-pragmas -o
zinject zinject.o translate.o -lgeom -lm -lnvpair -lumem -luutil
-lzfs_core -lzfs -lzpool
/usr/obj/usr/src/tmp/usr/lib/libzpool.so: undefined reference to
`kmem_free_target_size'
cc: error: linker command failed with exit code 1 (use -v to see
invocation)
*** Error code 1
Stop.
make[5]: stopped in /usr/src/cddl/usr.bin/zinject
*** Error code 1
Stop.
make[4]: stopped in /usr/src/cddl/usr.bin
*** Error code 1
Stop.
make[3]: stopped in /usr/src/cddl
*** Error code 1
Stop.
make[2]: stopped in /usr/src
*** Error code 1
Stop.
make[1]: stopped in /usr/src
*** Error code 1
Stop.
make: stopped in /usr/src
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c) E-Mail: ler at lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688
More information about the freebsd-fs
mailing list