From: "ksebasti at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sources.redhat.com
Subject: [Bug translator/6872] module cache cleaner
Date: Fri, 26 Sep 2008 18:12:00 -0000 [thread overview]
Message-ID: <20080926181110.17654.qmail@sourceware.org> (raw)
In-Reply-To: <20080907200626.6872.fche@redhat.com>
------- Additional Comments From ksebasti at redhat dot com 2008-09-26 18:11 -------
Created an attachment (id=2962)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2962&action=view)
patch to integrate cache clean script into main.cxx
This patch adds the clean script to main.cxx, after the temp directory is
removed. I tested it on a local build and it works nicely.
The current limit is defined in a macro in cache.h, set to 20mb. This is just a
random guess at an appropriate size.
Ideas:
* modify the script to output the name/path of the removed folder to be extra
verbose
(these 2 would probably require more members in struct systemtap_session)
* there should probably be a cl switch to disable (or enable?) the cache
clearing
* specify the max cache size as a cl switch
* a better eviction policy than oldest by access time ?
If any of those sound good let me know and I can work on it.
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #2957 is|0 |1
obsolete| |
http://sourceware.org/bugzilla/show_bug.cgi?id=6872
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
next prev parent reply other threads:[~2008-09-26 18:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080907200626.6872.fche@redhat.com>
2008-09-19 17:59 ` ksebasti at redhat dot com
2008-09-26 18:12 ` ksebasti at redhat dot com [this message]
[not found] ` <20081003210412.27915.qmail@sourceware.org>
2008-10-05 18:22 ` Frank Ch. Eigler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080926181110.17654.qmail@sourceware.org \
--to=sourceware-bugzilla@sourceware.org \
--cc=systemtap@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).