You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2022/08/15 10:10:30 UTC

[Bug 66209] CPU regression when classpath Bloom filters are active

https://bz.apache.org/bugzilla/show_bug.cgi?id=66209

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
This patch essentially trades memory for performance. We have some users that
won't want to make that trade - even if the memory concerned is relatively
small.

Given the competing demands here, I think we need to find a way to make this
configurable. Whether that is by expanding useBloomFilterForArchives beyond a
simple boolean, by tweaking the background processing frequency or by a new
configuration option is TBD. I want to mull this over a little bit before
making any changes.

Thoughts?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [Bug 66209] CPU regression when classpath Bloom filters are active

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Mark,

On 8/15/22 06:10, bugzilla@apache.org wrote:
> https://bz.apache.org/bugzilla/show_bug.cgi?id=66209
> 
> --- Comment #1 from Mark Thomas <ma...@apache.org> ---
> This patch essentially trades memory for performance. We have some users that
> won't want to make that trade - even if the memory concerned is relatively
> small.
> 
> Given the competing demands here, I think we need to find a way to make this
> configurable. Whether that is by expanding useBloomFilterForArchives beyond a
> simple boolean, by tweaking the background processing frequency or by a new
> configuration option is TBD. I want to mull this over a little bit before
> making any changes.

+1

true = use the bloom filter as exists today
false = do not use the bloom filter
wankel = use the bloom filter with cach-purges

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org