From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19923 invoked by alias); 16 Aug 2003 16:36:58 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 19916 invoked from network); 16 Aug 2003 16:36:57 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 16 Aug 2003 16:36:57 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 4533D2B7F; Sat, 16 Aug 2003 12:36:52 -0400 (EDT) Message-ID: <3F3E5DA4.7080504@redhat.com> Date: Sat, 16 Aug 2003 16:36:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb@sources.redhat.com Subject: Re: Terminally slow (75 seconds) on some steps References: <3F186D0B.5020902@redhat.com> <3F1BF6D4.6090801@redhat.com> <3F2F3E9A.6050403@redhat.com> <3F2FF8F5.6070007@redhat.com> <3F3D65C5.2070005@redhat.com> <20030816151124.GA2746@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-08/txt/msg00170.txt.bz2 > See SYMBOL_SET_NAMES - I fixed that fairly recently. Also, > add_psymbol_to_list is how most partial symbols are added; that uses > the same name cache. If you're talking about the call to bcache in > add_psymbol_with_dem_name_to_list, it's only used by hpread.c. Fixing > this did in fact improve the hit rate. Ah. So the only bcache call is to add the partial symbol to the psymbol cache. That narrows things down a bit. Wonder if setting CHAIN_LENGTH_THRESHOLD lower would help. >> >c011f6b8 663 2.3393 vmlinux do_anonymous_page >> >00000000 622 2.1946 XFree86 (no symbols) >> >08134b74 574 2.0253 gdb read_partial_die > >> >> Ok, so its spending a lot of time reading partial symbols. > > > I've got some plans in this direction... just haven't had time to do > anything about it yet :( What about the kernel? 3.5 seconds copying data to the user space is suprising. Can linux, given page sized read requests do it using page swapping? The other question is where in GDB (?) the requests are comming from. I suspect target read, but it could be symbol file related. Andrew