[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Re: tla library-add - high cpu
From: |
Robert Collins |
Subject: |
Re: [Gnu-arch-users] Re: tla library-add - high cpu |
Date: |
Tue, 09 Sep 2003 09:08:53 +1000 |
On Tue, 2003-09-09 at 07:30, Tom Lord wrote:
> Given the ability of users to add to the regexps, perhaps I should
> should either just raise the default in tla, or add a .arch-param to
> set it, or add an =tagging-method directive to set it, or come up with
> some definition of when the cache-miss rate is bad enough to warrent
> raising the cache size automatically, or add a heuristic that sets it
> based on the lengths of the various regexps. Hmm.
A simple heuristic: cache misses / cache hits would be effective. Then
set an arbitrary figure - 0.5 - and if the figure goes above that,
increase the cache. If it passes some arbitrary size, spew to stderr so
the user is aware of the issue. Say 5M words in size.
Rob
--
GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.
signature.asc
Description: This is a digitally signed message part
- [Gnu-arch-users] tla library-add - high cpu, Robert Collins, 2003/09/04
- Re: [Gnu-arch-users] tla library-add - high cpu, Andrew Suffield, 2003/09/05
- [Gnu-arch-users] Re: tla library-add - high cpu, John Goerzen, 2003/09/08
- Re: [Gnu-arch-users] Re: tla library-add - high cpu, Tom Lord, 2003/09/08
- Re: [Gnu-arch-users] Re: tla library-add - high cpu,
Robert Collins <=
- [Gnu-arch-users] Re: tla library-add - high cpu, John Goerzen, 2003/09/08
- Re: [Gnu-arch-users] Re: tla library-add - high cpu, Paul Hedderly, 2003/09/16
- [Gnu-arch-users] Re: tla library-add - high cpu, Miles Bader, 2003/09/08
- [Gnu-arch-users] Re: tla library-add - high cpu, John Goerzen, 2003/09/10