From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CEA93385828D; Fri, 17 Mar 2023 01:20:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CEA93385828D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1679016027; bh=is2AKB8onPnOS31E4aAVRnx8kxI18YboR7brI3ZWQRE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sTZU6rR1aFCybwUbMhJ0/aIILna9LyJvMlcwmOS6wHzC3c0ALygPRSrRtWOGbgxLM U1h8fYlxJXzBwE0oJmjcGl/6YiwlRbAxbCVfY30/fWMHpnkNg7rENDRX+wGk/Fb9zo q/xzrphmyWTurgH040eqsaxOfs8DiFLme+AZKBOQ= From: "fche at redhat dot com" To: elfutils-devel@sourceware.org Subject: [Bug debuginfod/30221] Negative cache should differentiate failure types Date: Fri, 17 Mar 2023 01:20:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: debuginfod X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fche at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30221 --- Comment #6 from Frank Ch. Eigler --- (In reply to Vicki Pfau from comment #2) > 404 and the like *may* be transient, but the fact of the matter is that > *most* of the time it won't be And it's a cache, not a definitive answer > saying this will never exist. Having a 404 cache for 10x the amount of ti= me > as a Ctrl-C I don't understand - a ctrl-C should not result in a cached artifact at all. If that's happening, we should fix that. > I'm already dealing with gdb taking well > over 30 seconds to start running a program with a bunch of shared object > dependencies that aren't in debuginfod... Uncached misses from debuginfod tend to take on the order of milliseconds, much less than seconds. Do you have a trace of what's happening? (DEBUGINFOD_VERBOSE=3D1 or something like that?) > [...] because there's no way for the cache to say "this probably won't > appear in the short term." Setting cache_miss_s higher works, but is a > workaround. That workaround is precisely the parameter for the quantity you seek. > Your filesystem representation works > for the small, simple case you have here, but it won't scale if you try a= nd > extend the system with any metadata at all. That's fine. If we can revisit when rationale exists for more metadata. --=20 You are receiving this mail because: You are on the CC list for the bug.=