From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10096 invoked by alias); 24 Dec 2009 17:07:55 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 10084 invoked by uid 22791); 24 Dec 2009 17:07:54 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org From: Tom Tromey To: Daniel Jacobowitz Cc: archer@sourceware.org Subject: Re: Initial psymtab replacement results References: <20091211235901.GA16889@caradoc.them.org> <20091214230947.GA31362@caradoc.them.org> Reply-To: Tom Tromey Date: Thu, 24 Dec 2009 17:07:00 -0000 In-Reply-To: (Tom Tromey's message of "Wed, 23 Dec 2009 11:29:10 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2009-q4/txt/msg00135.txt.bz2 >>>>> "Tom" == Tom Tromey writes: Tom> I haven't written the reader side of this yet. I probably won't finish Tom> that until sometime in January. Actually, I finished it yesterday and got preliminary results: With index: opsy. /usr/bin/time ./gdb/gdb -batch ./gdb/gdb 0.21user 0.03system 0:00.30elapsed 82%CPU (0avgtext+0avgdata 0maxresident)k 8inputs+32outputs (0major+3760minor)pagefaults 0swaps Without: opsy. /usr/bin/time ./gdb/gdb -batch ./gdb/gdb 3.16user 0.09system 0:03.82elapsed 85%CPU (0avgtext+0avgdata 0maxresident)k 8inputs+32outputs (0major+10562minor)pagefaults 0swaps This is with a warm cache, I didn't find the time to do it the other way yet. I just picked a size for all the offsets (32 bits) and an endianness (little) for the index. I figure big-endian hosts can byteswap when using the index, that might not be too bad in practice. Tom