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


GPG key available at: <>.

Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

[Prev in Thread] Current Thread [Next in Thread]