From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7787 invoked by alias); 22 Apr 2009 17:23:54 -0000 Received: (qmail 7771 invoked by uid 22791); 22 Apr 2009 17:23:51 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from web52006.mail.re2.yahoo.com (HELO web52006.mail.re2.yahoo.com) (206.190.49.253) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Wed, 22 Apr 2009 17:23:44 +0000 Received: (qmail 50721 invoked by uid 60001); 22 Apr 2009 17:23:42 -0000 Message-ID: <923173.50385.qm@web52006.mail.re2.yahoo.com> Received: from [66.17.65.83] by web52006.mail.re2.yahoo.com via HTTP; Wed, 22 Apr 2009 10:23:41 PDT References: <592922.54823.qm@web52001.mail.re2.yahoo.com> <8ac60eac0904201639r19f7d539v2b301fcb24e82317@mail.gmail.com> <20090420234805.GA28850@caradoc.them.org> <8ac60eac0904201654h1775560se59718b127ccbfad@mail.gmail.com> <742711.93110.qm@web52008.mail.re2.yahoo.com> <200904211551.n3LFphaO009791@brahms.sibelius.xs4all.nl> <808758.98762.qm@web52004.mail.re2.yahoo.com> <83ljpthlq2.fsf@gnu.org> <702D3FCE-02F7-4C70-AC67-3C7C62CDEBD0@elis.ugent.be> <588223.49333.qm@web52003.mail.re2.yahoo.com> Date: Wed, 22 Apr 2009 17:35:00 -0000 From: Nick Savoiu Subject: Re: GDB using a lot of CPU time and writing a lot to disk on startup To: gdb@sourceware.org In-Reply-To: <588223.49333.qm@web52003.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-04/txt/msg00182.txt.bz2 Forgot to mention, the 'swap used' does not change during this time so it's highly unlikely that swapping is the issue. Given the write rate even if swapping was happening it should not take more than a few seconds. Nick ----- Original Message ---- > From: Nick Savoiu > To: gdb@sourceware.org > Sent: Wednesday, April 22, 2009 10:21:24 AM > Subject: Re: GDB using a lot of CPU time and writing a lot to disk on startup > > > This is what I get for the whole time that gdb is starting up: > > Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz > avgqu-sz await svctm %util > sda 0.00 2073.47 0.00 1056.12 0.00 25036.73 0.00 12518.37 > 23.71 0.94 0.89 0.89 93.67 > sdb 0.00 2073.47 0.00 1056.12 0.00 25036.73 0.00 12518.37 > 23.71 0.95 0.90 0.89 94.29 > > There are some reads from time to time but the writes are a constant. > Is there a way to determine the process that actually does the writing? > > Thanks, > Nick > > > > ----- Original Message ---- > > From: Jonas Maebe > > To: Eli Zaretskii > > Cc: Nick Savoiu ; gdb@sourceware.org > > Sent: Tuesday, April 21, 2009 12:52:05 PM > > Subject: Re: GDB using a lot of CPU time and writing a lot to disk on startup > > > > > > On 21 Apr 2009, at 21:04, Eli Zaretskii wrote: > > > > > There should be no need to argue about this: just look at the disk LED > > > when the problematic behavior kicks in. > > > > Or run "iostat 1" in a separate shell (you may have to install it explicitly > > before it's available). > > > > > > Jonas