Date: Tue, 19 Feb 2008 20:30:07 -0700 From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= <Jinmei_Tatuya@isc.org> To: Attila Nagy <bra@fsn.hu> Cc: freebsd-performance@freebsd.org, bind-users@isc.org Subject: Re: max-cache-size doesn't work with 9.5.0b1 Message-ID: <m2pruse24g.wl%Jinmei_Tatuya@isc.org> In-Reply-To: <47BAE0B3.4090004@fsn.hu> References: <475B0F3E.5070100@fsn.hu> <m2lk6g71bc.wl%Jinmei_Tatuya@isc.org> <479DFE74.8030004@fsn.hu> <m2k5ltke09.wl%Jinmei_Tatuya@isc.org> <479F02A7.9020607@fsn.hu> <m24pcwt5b7.wl%Jinmei_Tatuya@isc.org> <47A614E9.4030501@fsn.hu> <m2wspkpl7r.wl%Jinmei_Tatuya@isc.org> <47A77A13.6010802@fsn.hu> <m2zlueohxk.wl%Jinmei_Tatuya@isc.org> <47B1D2F4.5070304@fsn.hu> <m2tzkexdo7.wl%Jinmei_Tatuya@isc.org> <47B2DD62.6020507@fsn.hu> <m2abm4y4by.wl%Jinmei_Tatuya@isc.org> <47BAE0B3.4090004@fsn.hu>
next in thread | previous in thread | raw e-mail | index | archive | help
At Tue, 19 Feb 2008 14:59:15 +0100, Attila Nagy <bra@fsn.hu> wrote: > > Okay, then please try this patch with '-n 1' (note: this patch doesn't > > contain the memory statistics hack via the HTTP interface, but I don't > > we don't need it for this test). [...] > (max-cache-size still 32M) Hmm, then the mutex locks dynamically generated are also irrelevant. I've also tried to reproduce the problem in a similar environment (BIND 9.5.0b1 with threads on FreeBSD 7.0RC1/AMD64, cache-only configuration, using a real query sample), unsuccessfully. One significant difference is that I disabled SMP in the kernel (it was very unstable with the SMP support for some unknown reason), but I doubt this is the key for the difference of the named behavior. BTW, is this reproduceable on FreeBSD 6.x? If so, then I'd like to see what happens if you specify some small value of datasize (e.g. 512MB) and have named abort when malloc() fails with the "X" _malloc_options. (This option doesn't seem to work for FreeBSD 7.x, at least at the moment). Some other questions: - can we see your named.conf? If you specify non-default configuration options, that might be the reason for, or related to, this problem. - does your named produce lot of log messages? If so, it might also be a reason (simply because it relies on standard libraries). Thanks, --- JINMEI, Tatuya
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2pruse24g.wl%Jinmei_Tatuya>