GDB using a lot of CPU time and writing a lot to disk on startup
Eli Zaretskii
eliz@gnu.org
Tue Apr 21 19:52:00 GMT 2009
> Date: Tue, 21 Apr 2009 09:26:43 -0700 (PDT)
> From: Nick Savoiu <savoiu@yahoo.com>
>
> > Well, your system *is* using swap. Are you running Linux? I wouldn't
> > be surprised if it is swapping out kdevelop because gdb is the active
> > application and is reading in a lot of debugging info.
>
> Mark, I highly doubt that it's swapping. The system has plenty of memory (the snapshot above is at the end of the run) and swap usage had not changed throughout. More so the memory amounts involved should not account for 10 minutes of continuous disk writes on a machine that is otherwise very fast (both in CPU and disk).
There should be no need to argue about this: just look at the disk LED
when the problematic behavior kicks in.
More information about the Gdb
mailing list