Re: max-cache-size doesn't work with 9.5.0b1



On 2008.01.30. 3:28, JINMEI Tatuya / 神明達哉 wrote:
At Tue, 29 Jan 2008 11:40:39 +0100,
Attila Nagy <bra@xxxxxx> wrote:

Without threading I don't see this effect, the memory usage stops at a sane limit and it's size can be affected by setting the max-cache-size option.

I don't think you would gain anything usable with that, am I right?
Right. Can you try a simpler patch that focuses on the memory usage
status and works with threads? If so, I'll write one and send it to
you.
Of course. The machines are diskless, so writing larger log files directly is not an easy task. (syslog is ok)

Okay, please use the attached patch (applicable to 9.5.0b1, and also
to 9.5.0b2 when it's published). Build it with:
% STD_CDEFINES='-DLRU_DEBUG2=2' ./configure --enable-threads
(or set STD_CDEFINES using setenv if you use a csh variant)
Will try, thanks.
ps: I have an other problem. I've recently switched from a last year 6-STABLE to 7-STABLE and got pretty bad results on the same machine with the same bind (9.4).
The graphs are here:
http://picasaweb.google.com/nagy.attila/20080129Fbsd6vs7Bind

The interesting part (from when the comments are valid) starts at around the half of the picture. You can see that on FreeBSD 6, the CPU load is pretty much good, but on 7, both the userspace and the kernelspace activity grows significantly.

I have no idea about why this happened at the moment. Do both server
handle the same level of query rate? (I'm also curious what happened
in the first half of the graphs for both cases).
Exactly the same (a per packet load balancer is in front of them). Even the machines are the same. I've replaced the pictures, the previous ones included some unintended reboot-n-try stuff.
I've used libthr on 6, and it is the default on 7 too. bind is threaded.
I use ISC_INTERNAL_MALLOC, but the effect is the same without it.

This shouldn't matter because ISC_INTERNAL_MALLOC is enabled by
default as of 9.4.
Ouch, I didn't know this. Thanks for the clarification.
_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: max-cache-size doesnt work with 9.5.0b1
    ... The machines are diskless, so writing larger log files ... Note that, if this is a thread-related bug, it may not always be ... in the first half of the graphs for both cases). ...
    (freebsd-performance)
  • Re: Problem copying Picturebox to Clipboard
    ... clipboard into a Word document, there's a large blank space at the ... to show us your code that draws to the Picture Box. ... Your code is a bit "iffy" at the moment because it does not take into account the differences between different machines, but if you are running your machine at the standard 96 dpi setting and if you have left the ScaleMode of the Form itself at its default seting of Twips and if your Picture Box has the standard borders then your code currently creates a Picture Box such that the bitmap it contains is 996 pixels wide by ... And, do you actually know the difference between Width and ScaleWidth, or the differences between machines which can cause your bitmap to be a different size depending on which machine your code is running on unless your code takes account of them? ...
    (microsoft.public.vb.general.discussion)
  • Visual Basic RunTime Error 2114
    ... We are getting a Visual Basic error on the Picture ... its happening on only 3 machines while its NOT happening ... this error code? ...
    (microsoft.public.access.modulesdaovba)
  • Re: Problem copying Picturebox to Clipboard
    ... picture 'width' relates to anything. ... an almost square bitmap. ... And does your drawing code take that into account? ... or the differences between machines which can ...
    (microsoft.public.vb.general.discussion)
  • Re: Word 2003 insert picture from file error
    ... Terry Farrell - Word MVP ... "Jason" wrote in message ... I'm having the same problem on there machines on a small network. ... and now I can't insert a picture into either Publisher or Word. ...
    (microsoft.public.word.application.errors)