Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2008 12:44:01 -0800
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:  <m2abm4y4by.wl%Jinmei_Tatuya@isc.org>
In-Reply-To: <47B2DD62.6020507@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>

next in thread | previous in thread | raw e-mail | index | archive | help
--Multipart_Wed_Feb_13_12:44:00_2008-1
Content-Type: text/plain; charset=US-ASCII

At Wed, 13 Feb 2008 13:06:58 +0100,
Attila Nagy <bra@fsn.hu> wrote:

> Of course. See the bindn1 files at the same location. (only the memory 
> section included)
> The effect is pretty much the same.

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).

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.


--Multipart_Wed_Feb_13_12:44:00_2008-1
Content-Type: application/octet-stream; type=patch
Content-Disposition: attachment; filename="bind-9.5.patch"
Content-Transfer-Encoding: base64

PyBsaWIvYmluZC9pbmNsdWRlL2lzYy9wbGF0Zm9ybS5oCj8gbGliL2Rucy9nZW4uZFNZTQo/IGxp
Yi9kbnMvcmJ0ZGIuY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HRlc3QgKi8KICAgICAgICAg
aXNjX3RpbWVfdCAgICAgICAgICAgICAgICAgICAgICBkdW1wX3RpbWU7IC8qIGZvciB0ZXN0ICov
CiAjZGVmaW5lIERVTVBfSU5URVJWQUwgMzAgICAgICAgIC8qIHNlY29uZHMgKi8KQEAgLTM1NSw3
ICszNTksNyBAQAogc3RhdGljIHZvaWQgd2F0ZXIodm9pZCAqLCBpbnQpOwogc3RhdGljIHZvaWQg
ZHVtcF9lbnRyeShGSUxFICosIGRuc19hZGJlbnRyeV90ICosIGlzY19ib29sZWFuX3QsIGlzY19z
dGR0aW1lX3QpOwogCi0jaWZkZWYgTFJVX0RFQlVHCisjaWYgTFJVX0RFQlVHMgogc3RhdGljIHZv
aWQgdGltZXJfZHVtcChpc2NfdGFza190ICosIGlzY19ldmVudF90ICopOwogI2VuZGlmCiAKQEAg
LTgxNiw5ICs4MjAsOSBAQAogc3RhdGljIGlubGluZSB2b2lkCiB2aW9sYXRlX2xvY2tpbmdfaGll
cmFyY2h5KGlzY19tdXRleF90ICpoYXZlLCBpc2NfbXV0ZXhfdCAqd2FudCkgewogICAgICAgICBp
ZiAoaXNjX211dGV4X3RyeWxvY2sod2FudCkgIT0gSVNDX1JfU1VDQ0VTUykgewotICAgICAgICAg
ICAgICAgIFVOTE9DSyhoYXZlKTsKKyAgICAgICAgICAgICAgICAvKlVOTE9DSyhoYXZlKTsqLwog
ICAgICAgICAgICAgICAgIExPQ0sod2FudCk7Ci0gICAgICAgICAgICAgICAgTE9DSyhoYXZlKTsK
KyAgICAgICAgICAgICAgICAvKkxPQ0soaGF2ZSk7Ki8KICAgICAgICAgfQogfQogCkBAIC0xMDY5
LDEwICsxMDczLDEwIEBACiAgICAgICAgIGZpbmQgPSBldmVudC0+ZXZfZGVzdHJveV9hcmc7CiAg
ICAgICAgIElOU0lTVChETlNfQURCRklORF9WQUxJRChmaW5kKSk7CiAKLSAgICAgICAgTE9DSygm
ZmluZC0+bG9jayk7CisgICAgICAgIC8qTE9DSygmZmluZC0+bG9jayk7Ki8KICAgICAgICAgZmlu
ZC0+ZmxhZ3MgfD0gRklORF9FVkVOVF9GUkVFRDsKICAgICAgICAgZXZlbnQtPmV2X2Rlc3Ryb3lf
YXJnID0gTlVMTDsKLSAgICAgICAgVU5MT0NLKCZmaW5kLT5sb2NrKTsKKyAgICAgICAgLypVTkxP
Q0soJmZpbmQtPmxvY2spOyovCiB9CiAKIC8qCkBAIC0xMDk1LDcgKzEwOTksNyBAQAogCiAgICAg
ICAgIGZpbmQgPSBJU0NfTElTVF9IRUFEKG5hbWUtPmZpbmRzKTsKICAgICAgICAgd2hpbGUgKGZp
bmQgIT0gTlVMTCkgewotICAgICAgICAgICAgICAgIExPQ0soJmZpbmQtPmxvY2spOworICAgICAg
ICAgICAgICAgIC8qTE9DSygmZmluZC0+bG9jayk7Ki8KICAgICAgICAgICAgICAgICBuZXh0X2Zp
bmQgPSBJU0NfTElTVF9ORVhUKGZpbmQsIHBsaW5rKTsKIAogICAgICAgICAgICAgICAgIHByb2Nl
c3MgPSBJU0NfRkFMU0U7CkBAIC0xMTUzLDcgKzExNTcsNyBAQAogICAgICAgICAgICAgICAgICAg
ICAgICAgRFAoREVGX0xFVkVMLCAiY2Zhbjogc2tpcHBpbmcgZmluZCAlcCIsIGZpbmQpOwogICAg
ICAgICAgICAgICAgIH0KIAotICAgICAgICAgICAgICAgIFVOTE9DSygmZmluZC0+bG9jayk7Cisg
ICAgICAgICAgICAgICAgLypVTkxPQ0soJmZpbmQtPmxvY2spOyovCiAgICAgICAgICAgICAgICAg
ZmluZCA9IG5leHRfZmluZDsKICAgICAgICAgfQogCkBAIC0xNDg2LDExICsxNDkwLDEzIEBACiAg
ICAgICAgIC8qCiAgICAgICAgICAqIHByaXZhdGUgbWVtYmVycwogICAgICAgICAgKi8KKyNpZiAw
CQkJCS8qIGRpc2FibGUgZm9yIGRpYWdub3NlICovCiAgICAgICAgIHJlc3VsdCA9IGlzY19tdXRl
eF9pbml0KCZoLT5sb2NrKTsKICAgICAgICAgaWYgKHJlc3VsdCAhPSBJU0NfUl9TVUNDRVNTKSB7
CiAgICAgICAgICAgICAgICAgaXNjX21lbXBvb2xfcHV0KGFkYi0+YWhtcCwgaCk7CiAgICAgICAg
ICAgICAgICAgcmV0dXJuIChOVUxMKTsKICAgICAgICAgfQorI2VuZGlmCiAKICAgICAgICAgSVND
X0VWRU5UX0lOSVQoJmgtPmV2ZW50LCBzaXplb2YoaXNjX2V2ZW50X3QpLCAwLCAwLCAwLCBOVUxM
LCBOVUxMLAogICAgICAgICAgICAgICAgICAgICAgICBOVUxMLCBOVUxMLCBoKTsKQEAgLTE1NzMs
NyArMTU3OSw5IEBACiAKICAgICAgICAgZmluZC0+bWFnaWMgPSAwOwogCisjaWYgMAkJCQkvKiBk
aXNhYmxlIGZvciBkaWFnbm9zZSAqLwogICAgICAgICBERVNUUk9ZTE9DSygmZmluZC0+bG9jayk7
CisjZW5kaWYKICAgICAgICAgaXNjX21lbXBvb2xfcHV0KGFkYi0+YWhtcCwgZmluZCk7CiAgICAg
ICAgIHJldHVybiAoZGVjX2FkYl9pcmVmY250KGFkYikpOwogfQpAQCAtMTgzMCw3ICsxODM4LDcg
QEAKICAgICAgICAgICovCiAgICAgICAgIExPQ0soJmFkYi0+bG9jayk7CiAgICAgICAgIGlzY190
aW1lcl9kZXRhY2goJmFkYi0+dGltZXIpOwotI2lmZGVmIExSVV9ERUJVRworI2lmIExSVV9ERUJV
RzIKICAgICAgICAgaXNjX3RpbWVyX2RldGFjaCgmYWRiLT5kdW1wX3RpbWVyKTsKICNlbmRpZgog
ICAgICAgICBVTkxPQ0soJmFkYi0+bG9jayk7CkBAIC0yMTgxLDcgKzIxODksNyBAQAogICAgICAg
ICBhZGItPmFmbXAgPSBOVUxMOwogICAgICAgICBhZGItPnRhc2sgPSBOVUxMOwogICAgICAgICBh
ZGItPnRpbWVyID0gTlVMTDsKLSNpZmRlZiBMUlVfREVCVUcKKyNpZiBMUlVfREVCVUcyCiAg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2NrKTsqLwogCiAgICAgICAgIERQKERFRl9M
RVZFTCwgImRuc19hZGJfY2FuY2VsZmluZCBvbiBmaW5kICVwIiwgZmluZCk7CiAKQEAgLTI5MDks
NyArMjkxNyw3IEBACiAgICAgICAgICAgICAgICAgaXNjX3Rhc2tfc2VuZGFuZGRldGFjaCgmdGFz
aywgKGlzY19ldmVudF90ICoqKSZldik7CiAgICAgICAgIH0KIAotICAgICAgICBVTkxPQ0soJmZp
bmQtPmxvY2spOworICAgICAgICAvKlVOTE9DSygmZmluZC0+bG9jayk7Ki8KIH0KIAogdm9pZApA
QCAtMzA3MSw3ICszMDc5LDcgQEAKICAgICAgICAgICogd2FudCB0byBkdW1wIG91dCB0aGUgbmFt
ZSBhbmQvb3IgZW50cmllcyB0b28uCiAgICAgICAgICAqLwogCi0gICAgICAgIExPQ0soJmZpbmQt
PmxvY2spOworICAgICAgICAvKkxPQ0soJmZpbmQtPmxvY2spOyovCiAKICAgICAgICAgZnByaW50
ZihmLCAiO0ZpbmQgJXBcbiIsIGZpbmQpOwogICAgICAgICBmcHJpbnRmKGYsICI7XHRxcGVuZGlu
ZyAlMDh4IHBhcnRpYWwgJTA4eCBvcHRpb25zICUwOHggZmxhZ3MgJTA4eFxuIiwKQEAgLTMxMDgs
NyArMzExNiw3IEBACiAgICAgICAgICAgICAgICAgYWkgPSBJU0NfTElTVF9ORVhUKGFpLCBwdWJs
aW5rKTsKICAgICAgICAgfQogCi0gICAgICAgIFVOTE9DSygmZmluZC0+bG9jayk7CisgICAgICAg
IC8qVU5MT0NLKCZmaW5kLT5sb2NrKTsqLwogfQogCiBzdGF0aWMgdm9pZApAQCAtMzc3OSw2ICsz
Nzg3LDEzIEBACiAKICAgICAgICAgUkVRVUlSRShETlNfQURCX1ZBTElEKGFkYikpOwogCisjaWYg
TFJVX0RFQlVHMiA+IDEKKwlpc2NfbG9nX3dyaXRlKGRuc19sY3R4LCBETlNfTE9HQ0FURUdPUllf
REFUQUJBU0UsCisJCSAgICAgI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TQ19MT0dfSU5GTywKLSAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICJBREIgbWVtb3J5IHVzYWdlICVwOiBtZW0gaW51c2Ug
JWx1LCAiCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiJXUvJXUgbmFtZXMsICV1LyV1
IGVudHJpZXMsICIKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJwdXJnZS9zY2FuPSV1
KCV1LCV1KS8ldSwgb3Zlcm1lbT0lZCIsCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICBh
ZGIsICh1bnNpZ25lZCBsb25nKWlzY19tZW1faW51c2UoYWRiLT5tY3R4KSwKLSAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgIGFkYi0+bm5hbWUsIGFkYi0+bm5hbWVfdG90YWwsCi0gICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICBhZGItPm5lbnRyeSwgYWRiLT5uZW50cnlfdG90YWwsCi0g
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhZGItPnN0YWxlX3B1cmdlLCBhZGItPnN0YWxl
X2V4cGlyZSwKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFkYi0+c3RhbGVfbHJ1LCBh
ZGItPnN0YWxlX3NjYW4sIGFkYi0+b3Zlcm1lbSk7Ci0gICAgICAgIH0KKwlpc2NfbG9nX3dyaXRl
KGRuc19sY3R4LCBETlNfTE9HQ0FURUdPUllfREFUQUJBU0UsCisJCSAgICAgIEROU19MT0dNT0RV
TEVfQURCLCBJU0NfTE9HX0lORk8sCisJCSAgICAgICJBREIgbWVtb3J5IHVzYWdlICVwOiBtZW0g
aW51c2UgJWx1LCBvdmVybWVtPSVkIiwKKwkJICAgICAgYWRiLCAodW5zaWduZWQgbG9uZylpc2Nf
bWVtX2ludXNlKGFkYi0+bWN0eCksCisJCSAgICAgIGFkYi0+b3Zlcm1lbSk7CiAKICAgICAgICAg
aW50ZXJ2YWwuc2Vjb25kcyA9IERVTVBfSU5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Qkg
KiBjaGFuY2UgdG8gYmUgcmVtb3ZlZCB1bnRpbCB0aGUgc2VydmVyIHN0b3BzLiAgVGhlIHdyaXRl
IGxvY2sKKwkJICogaXMgZXhwZW5zaXZlLCBidXQgdGhpcyBldmVudCBzaG91bGQgYmUgcmFyZSBl
bm91Z2ggdG8ganVzdGlmeQorCQkgKiB0aGUgY29zdC4KKwkJICovCisJCVJXTE9DSygmcmJ0ZGIt
PnRyZWVfbG9jaywgaXNjX3J3bG9ja3R5cGVfd3JpdGUpOwogICAgICAgICAgICAgICAgIGZvciAo
Y2hhbmdlZCA9IEhFQUQoY2xlYW51cF9saXN0KTsKICAgICAgICAgICAgICAgICAgICAgIGNoYW5n
ZWQgIT0gTlVMTDsKICAgICAgICAgICAgICAgICAgICAgIGNoYW5nZWQgPSBuZXh0X2NoYW5nZWQp
IHsKQEAgLTE5MjgsMTIgKzE5MzgsMTMgQEAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgcm9sbGJhY2tfbm9kZShyYnRub2RlLCBzZXJpYWwpOwogICAgICAgICAgICAgICAgICAgICAg
ICAgZGVjcmVtZW50X3JlZmVyZW5jZShyYnRkYiwgcmJ0bm9kZSwgbGVhc3Rfc2VyaWFsLAogICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpc2Nfcndsb2NrdHlwZV93
cml0ZSwKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaXNjX3J3
bG9ja3R5cGVfbm9uZSk7CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgIGlzY19yd2xvY2t0eXBlX3dyaXRlKTsKICAgICAgICAgICAgICAgICAgICAgICAgIE5PREVf
VU5MT0NLKGxvY2ssIGlzY19yd2xvY2t0eXBlX3dyaXRlKTsKIAogICAgICAgICAgICAgICAgICAg
ICAgICAgaXNjX21lbV9wdXQocmJ0ZGItPmNvbW1vbi5tY3R4LCBjaGFuZ2VkLAogICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgc2l6ZW9mKCpjaGFuZ2VkKSk7CiAgICAgICAgICAg
ICAgICAgfQorCQlSV1VOTE9DSygmcmJ0ZGItPnRyZWVfbG9jaywgaXNjX3J3bG9ja3R5cGVfd3Jp
dGUpOwogICAgICAgICB9CiAKICAgZW5kOgo=

--Multipart_Wed_Feb_13_12:44:00_2008-1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2abm4y4by.wl%Jinmei_Tatuya>