From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20111 invoked by alias); 18 Mar 2004 18:47:54 -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 20068 invoked from network); 18 Mar 2004 18:47:52 -0000 Received: from unknown (HELO scanner2.ics.uci.edu) (128.195.1.36) by sources.redhat.com with SMTP; 18 Mar 2004 18:47:52 -0000 Received: from arrakis (arrakis.ics.uci.edu [128.195.11.166]) by scanner2.ics.uci.edu (8.12.10/8.12.10) with SMTP id i2IIlK4J025897 for ; Thu, 18 Mar 2004 10:47:20 -0800 (PST) Message-ID: <04b201c40d19$602c8390$a60bc380@ics.uci.edu> From: "Nick Savoiu" To: Subject: Caching of object/libraries/files Date: Thu, 18 Mar 2004 18:47:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-100, required 5, USER_IN_WHITELIST) X-SW-Source: 2004-03/txt/msg00172.txt.bz2 Hi all, I have a rather large project composed of a small driver executable and quite a few .so libraries that it uses. When I invoke it with GDB, upon executing 'run' it takes quite a while for GDB to do it's thing (i.e. load symbols, whatever else it does) particularly since it does a lot of disk access. I was thinking that, if I start a GDB session on this project, run it for a while then quit and immediately restart a similar session, then most of the files would be cached. However, I see the same amount of disk access for the second session when 'run' is invoked as for the first. Any ideas why this is so? The GDB session itself uses about 340MB and I have 1GB RAM. Thanks, Nick