Re: [naviserver-devel] better ns_cache statistics

2006-02-08 Thread Zoran Vasiljevic

Am 08.02.2006 um 02:26 schrieb Gustaf Neumann:



Hi there,

determining a good cache size and useful time-out-values is a non- 
trivial task.
ns_cache_stats returns already some useful satistics, but i would  
say, at least two
important figures are missing, which are subsumed by the # of  
flushes. Actually,

there are at least 3 kind of flushes:
 a) expires  (entry is too old)
 b) prunes  (entry thrown out of the cache due to space competition)
 c) intentional flushes (flush command, deletion of an entry, etc.)

Currently, nscache lumbs a+b+c under flushes. It would be nice
to obtain separate values for these kinds of flushes to get some
idea, whether or not a cache behaves like expected, or whether it
should be increased or decreased.

what do you think?


http://sourceforge.net/tracker/index.php? 
func=detailaid=1427620group_id=130646atid=719009


Cheers,
Zoran




Re: [naviserver-devel] better ns_cache statistics

2006-02-08 Thread Gustaf Neumann


http://sourceforge.net/tracker/index.php? 
func=detailaid=1427620group_id=130646atid=719009


great! i am not sure, how to reach cvs head yet, on a simple cvs 
update without any tags, i don't see this.


btw, i've updated the aolerver compatibility patch locally for oacs for 
filter and friends. i am not
sure, when to commit this to the oacs cvs. do you plan to make some 
announcement, when the new naviserver version is ready?


-gustaf




Re: [naviserver-devel] better ns_cache statistics

2006-02-08 Thread Zoran Vasiljevic

Am 08.02.2006 um 17:18 schrieb Gustaf Neumann:

great! i am not sure, how to reach cvs head yet, on a simple cvs  
update without any tags, i don't see this.




Hmmm I have commited this an hour ago.
Normally, you'd go checkout the naviserver project w/o any
special tags...
This is the thing to watch:


NS_RCSID(@(#) $Header: /cvsroot/naviserver/naviserver/nsd/cache.c,v  
1.5 2006/02/08 15:50:04 vasiljevic Exp $);



btw, i've updated the aolerver compatibility patch locally for oacs  
for filter and friends. i am not
sure, when to commit this to the oacs cvs. do you plan to make some  
announcement, when the new naviserver version is ready?


We have the 4.99.2 release which contains those changes about
handling the optional arguments for all callbacks, as we talked
about already.  I have made the release some days ago.
Apropos announcing... Where to? We have the developer list and
it was announced there. The 4.99.2 is tagged and downloadable.
What else should we do?

Cheers
Zoran




Re: [naviserver-devel] better ns_cache statistics

2006-02-08 Thread Gustaf Neumann

Zoran Vasiljevic schrieb:




We have the 4.99.2 release which contains those changes about
handling the optional arguments for all callbacks, as we talked
about already.  I have made the release some days ago.
Apropos announcing... Where to? We have the developer list and
it was announced there. The 4.99.2 is tagged and downloadable.
What else should we do?


well, a short announcement on the wiki under latest news,
tar.gz file for the download,

http://naviserver.sourceforge.net/wiki/index.php/NaviServer

release entry in
http://sourceforge.net/project/showfiles.php?group_id=130646

-gustaf




Re: [naviserver-devel] better ns_cache statistics

2006-02-08 Thread Gustaf Neumann

Zoran Vasiljevic schrieb:



release entry in
http://sourceforge.net/project/showfiles.php?group_id=130646



It is already there! The 4.99.1 is the right release, we're now on
the 4.99.2 path.


i see. my fault. i was scanning for some entries concerning
ns_filter and callback procs, or the small patch for ns_conn 
contentsentlength
or the 64bit fix with inet_ntop, but did not find them in the 4.99.1 
description..

so i thought 4.99.2 is the version to be released;

sorry for the confusion, -gustaf

 
Cheers

Zoran




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
files

for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel






Re: [naviserver-devel] better ns_cache statistics

2006-02-08 Thread Zoran Vasiljevic

Am 08.02.2006 um 18:01 schrieb Gustaf Neumann:

ns_filter and callback procs, or the small patch for ns_conn  
contentsentlength
or the 64bit fix with inet_ntop, but did not find them in the  
4.99.1 description..


All you are mentioning is in the ChangeLog and is included in 4.99.1.
Cheers
Zoran



Re: [naviserver-devel] better ns_cache statistics

2006-02-08 Thread Bernd Eidenschink
 well, a short announcement on the wiki under latest news,
 tar.gz file for the download,

 http://naviserver.sourceforge.net/wiki/index.php/NaviServer

 release entry in
 http://sourceforge.net/project/showfiles.php?group_id=130646

I updated the Wiki on the day of the release (4.99.1 not .2), also the Section 
New Features, Bug Fixes, Code Changes.

Bernd.



[naviserver-devel] better ns_cache statistics

2006-02-07 Thread Gustaf Neumann

Hi there,

determining a good cache size and useful time-out-values is a 
non-trivial task.
ns_cache_stats returns already some useful satistics, but i would say, 
at least two
important figures are missing, which are subsumed by the # of flushes. 
Actually,

there are at least 3 kind of flushes:
 a) expires  (entry is too old)
 b) prunes  (entry thrown out of the cache due to space competition)
 c) intentional flushes (flush command, deletion of an entry, etc.)

Currently, nscache lumbs a+b+c under flushes. It would be nice
to obtain separate values for these kinds of flushes to get some
idea, whether or not a cache behaves like expected, or whether it
should be increased or decreased.

what do you think?

-gustaf