This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB using a lot of CPU time and writing a lot to disk on startup


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 <savoiu@yahoo.com>
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]