KDevelop causing lengthy disk writes?!
Nick Savoiu
savoiu at yahoo.com
Thu May 14 01:26:38 BST 2009
I think that the problem might be the breakpoints set in KDevelop.
The disk-write problem is intermittent and I was not able to pinpoint when it happened. But now, for the past couple of days, I noticed that the project had at least a few breakpoints (either active or disabled).
I just ran into the disk-write problem: to get to main() it took several minutes. I then removed all the breakpoints and reran the debug session. I got to main in 15 seconds.
Any thoughts on how to drill this down?
Thanks,
Nick
----- Original Message ----
> From: Nick Savoiu <savoiu at yahoo.com>
> To: kdevelop at barney.cs.uni-potsdam.de
> Sent: Wednesday, April 22, 2009 12:08:06 PM
> Subject: KDevelop causing lengthy disk writes?!
>
>
> I use KDevelop on a custom project. I've noticed that when I start debugging the
> project from within KDevelop there is a huge amount of disk writes for more than
> a minute (sometimes as long as 10 minutes). As soon as the program starts
> debugging (i.e. main() breakpoint is hit) the writes cease.
>
> I can't pin the problem 100% on KDevelop but when I run gdb on the same project
> from the command line there's no such disk writing activity. I also used strace
> during the 'writing' activity on both gdb and kdevelop and only kdevelop showed
> any 'writes'.
>
> I've attached the 'grep write strace.kdevelop | sort -u' below but I can't make
> much of it. GDB has no writes.
>
> Any ideas what could be going on? Is there a way to pinpoint which process is
> doing the writes (at a rate of 12MB/s)? I'm using KDE 3.5.10/KDevelop 3.5.4 on
>
> Linux tahoe 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64
> x86_64 GNU/Linux
>
> Thanks,
> Nick
>
> write(3, "5\1\4\0I*a\1^\1\0\0\27\0w\0007\2\4\0J*a\1I*a\1\0\0\0\0"..., 712) = 712
> write(3, "5\1\4\0Q*a\1^\1\0\0\27\0U\0007\2\4\0R*a\1Q*a\1\0\0\0\0"..., 576) = 576
> write(3, "5\1\4\0\265*a\1^\1\0\0\27\0w\0007\2\4\0\266*a\1\265*a\1"..., 712) =
> 712
> write(3, "5\1\4\0\275*a\1^\1\0\0\27\0U\0007\2\4\0\276*a\1\275*a\1"..., 576) =
> 576
> write(3, "5\1\4\0\335)a\1^\1\0\0\27\0w\0007\2\4\0\336)a\1\335)a\1"..., 712) =
> 712
> write(3, "5\1\4\0\345)a\1^\1\0\0\27\0U\0007\2\4\0\346)a\1\345)a\1"..., 576) =
> 576
> write(3, "5\1\4\0n)a\1^\1\0\0\27\0w\0007\2\4\0o)a\1n)a\1\0\0\0\0"..., 712) = 712
> write(3, "5\1\4\0v)a\1^\1\0\0\27\0U\0007\2\4\0w)a\1v)a\1\0\0\0\0"..., 576) = 576
> write(3, "5\30\4\0,*a\1^\1\0\0\30\0\30\0>\5\7\0\36*a\1,*a\1\v\0`"..., 232) = 232
> write(3, "5\30\4\0G*a\1^\1\0\0\27\0w\0H\2\267\nG*a\1\10\0`\1\27\0"..., 11096) =
> 11096
> write(3, "5\30\4\0L*a\1^\1\0\0\27\0U\0>\2\7\0006*a\1L*a\1\v\0`\1"..., 756) = 756
> write(3, "5\30\4\0O*a\1^\1\0\0\27\0U\0H\2\251\7O*a\1\10\0`\1\27\0"..., 7968) =
> 7968
> write(3, "5\30\4\0\204*a\1^\1\0\0I\0\27\0>\5\7\0L*a\1\204*a\1\v\0"..., 928) =
> 928
> write(3, "5\30\4\0\212*a\1^\1\0\0y\0\27\0>\0\7\0\204*a\1\212*a\1"..., 884) = 884
> write(3, "5\30\4\0\230*a\1^\1\0\0\30\0\30\0>\5\7\0\212*a\1\230*a"..., 232) = 232
> write(3, "5\30\4\0\251)a\1^\1\0\0I\0\27\0>\5\7\0q)a\1\251)a\1\v\0"..., 928) =
> 928
> write(3, "5\30\4\0\257)a\1^\1\0\0y\0\27\0>\0\7\0\251)a\1\257)a\1"..., 884) = 884
> write(3, "5\30\4\0\263*a\1^\1\0\0\27\0w\0H\2\267\n\263*a\1\10\0`"..., 11096) =
> 11096
> write(3, "5\30\4\0\270*a\1^\1\0\0\27\0U\0>\2\7\0\242*a\1\270*a\1"..., 756) = 756
> write(3, "5\30\4\0\273*a\1^\1\0\0\27\0U\0H\2\251\7\273*a\1\10\0`"..., 7968) =
> 7968
> write(3, "5\30\4\0\275)a\1^\1\0\0\30\0\30\0>\5\7\0\257)a\1\275)a"..., 232) = 232
> write(3, "5\30\4\0\30*a\1^\1\0\0I\0\27\0>\5\7\0\340)a\1\30*a\1\v"..., 928) = 928
> write(3, "5\30\4\0\330)a\1^\1\0\0\27\0w\0F\1\5\0\330)a\1\v\0`\1\0"..., 792) =
> 792
> write(3, "5\30\4\0\333)a\1^\1\0\0\27\0w\0H\2\267\n\333)a\1\10\0`"..., 11096) =
> 11096
> write(3, "5\30\4\0\340)a\1^\1\0\0\27\0U\0>\2\7\0\307)a\1\340)a\1"..., 756) = 756
> write(3, "5\30\4\0\343)a\1^\1\0\0\27\0U\0H\2\251\7\343)a\1\10\0`"..., 7968) =
> 7968
> write(3, "5\30\4\0\36*a\1^\1\0\0y\0\27\0>\0\7\0\30*a\1\36*a\1\v\0"..., 884) =
> 884
> write(3, "5\30\4\0\360*a\1^\1\0\0I\0\27\0>\5\7\0\270*a\1\360*a\1"..., 928) = 928
> write(3, "5\30\4\0\366*a\1^\1\0\0y\0\27\0>\0\7\0\360*a\1\366*a\1"..., 884) = 884
> write(3, "5\30\4\0\4+a\1^\1\0\0\30\0\30\0>\5\7\0\366*a\1\4+a\1\v"..., 232) = 232
> write(3, "5\30\4\0i)a\1^\1\0\0\27\0w\0F\1\5\0i)a\1\v\0`\1\0\0\0\0"..., 792) =
> 792
> write(3, "5\30\4\0l)a\1^\1\0\0\27\0w\0H\2\267\nl)a\1\10\0`\1\27\0"..., 11096) =
> 11096
> write(3, "5\30\4\0q)a\1^\1\0\0\27\0U\0>\2\7\0Z)a\1q)a\1\v\0`\1"..., 756) = 756
> write(3, "5\30\4\0t)a\1^\1\0\0\27\0U\0H\2\251\7t)a\1\10\0`\1\27\0"..., 7968) =
> 7968
> write(3, "6\0\2\0@)a\1", 8) = 8
> write(3, "6\3\2\0\354\'a\1", 8) = 8
> write(3, "6\3\2\0i)a\1", 8) = 8
> write(3, "8\0\4\0\30\4`\1\0\0\10\0\0\0\0\0008\0\4\0\31\4`\1\0\0\10"..., 428) =
> 428
> write(3, "8\0\4\0\30\4`\1\0\0\10\0\0\0\0\0008\0\4\0\31\4`\1\0\0\10"..., 432) =
> 432
> write(3, "8\0\4\0\30\4`\1\0\0\10\0\0\0\0\0008\4\4\0\31\4`\1\0\0\10"..., 1104) =
> 1104
> write(3, "8\0\4\0\f\0`\1\0\0\10\0\0\0\0\0008\0\4\0\31\4`\1\0\0\10"..., 428) =
> 428
> write(3, "8\0\4\0\f\0`\1\0\0\10\0\0\0\0\0008\0\4\0\31\4`\1\0\0\10"..., 432) =
> 432
> write(3, "8\0\4\0\f\0`\1\0\0\10\0\0\0\0\0008\4\4\0\31\4`\1\0\0\10"..., 1044) =
> 1044
> write(3, "8\0\4\0\f\0`\1\0\0\10\0\0\0\0\0008\4\4\0\31\4`\1\0\0\10"..., 1104) =
> 1104
> write(3, ";\3\3\0\30\4`\1\0\0\0\0\234\6\3\0\233\24a\1\0\0\0\0;\3"..., 672) = 672
> write(3, ";\3\3\0\f\0`\1\0\0\0\0\234\6\3\0\233\24a\1\0\0\0\0;\3\3"..., 672) =
> 672
> write(3, ";\3\5\0\30\4`\1\0\0\0\0\0\0\0\0%\0{\2F\6\5\0S\24a\1\30"..., 1032) =
> 1032
> write(3, ";\3\5\0\30\4`\1\0\0\0\0\0\0\0\0%\0{\2\234\6\5\0\233\24"..., 16380) =
> 16380
> write(3, ";\3\5\0\30\4`\1\0\0\0\0\0\0\0\0&\4{\2\234\6\5\0o\24a\1"..., 14248) =
> 14248
> write(3, ";\3\5\0\30\4`\1\0\0\0\0\0\0\0\0K\4\20\0\234\6\5\0\255\24"..., 4480) =
> 4480
> write(3, ";\3\5\0\30\4`\1\0\0\0\0\0\0\0\0\17\0\31\0\234\6\5\0\322"..., 276) =
> 276
> write(3, ";\3\5\0\30\4`\1\0\0\0\0\0\0\0\0\17\1\31\0\234\6\5\0q\6"..., 300) = 300
> write(3, ";\3\5\0\30\4`\1\0\0\0\0\0\0\0\0\1\0\275\0\234\6\5\0\210"..., 1476) =
> 1476
> write(3, ";\3\5\0\30\4`\1\0\0\0\0\0\0\0\0\20\0\4\0;\3\5\0\r\0`\1"..., 456) = 456
> write(3, ";\3\5\0\30\4`\1\0\0\0\0\0\0\0\0\20\0{\2\234\6\5\0\226\24"..., 4260) =
> 4260
> write(3, ";\3\5\0\30\4`\1\0\0\0\0\0\0\0\0\20\0{\2\234\6\5\0\226\24"..., 4356) =
> 4356
> write(3, ";\3\5\0\30\4`\1\0\0\0\0\0\0\0\0\221\5\31\0\234\6\5\0\273"..., 4964) =
> 4964
> write(3, ";\3\5\0\30\4`\1\0\0\0\0\0\0\0\0\225\5\35\0\234\6\5\0\327"..., 4032) =
> 4032
> write(3, ";\3\5\0\30\4`\1\0\0\0\0\0\0\0\0\225\5\4\0;\3\5\0\31\4`"..., 444) = 444
> write(3, ";\3\5\0\30\4`\1\0\0\0\0\0\0\0\0\4\0\215\2\234\6\5\0\324"..., 512) =
> 512
> write(3, ";\3\5\0\30\4`\1\0\0\0\0\0\0\0\0\7\1\20\0\234\6\5\0\346"..., 4028) =
> 4028
> write(3, ";\3\5\0\30\4`\1\0\0\0\0\0\0\0\0\7\1y\2\234\6\5\0\231\357"..., 412) =
> 412
> write(3, ";\3\5\0\30\4`\1\0\0\0\0\321\7\320\7\220\5\275\0\234\6\5"..., 12284) =
> 12284
> write(3, ";\3\5\0\f\0`\1\0\0\0\0\0\0\0\0%\0{\2F\6\5\0S\24a\1\f\0"..., 1032) =
> 1032
> write(3, ";\3\5\0\f\0`\1\0\0\0\0\0\0\0\0%\0{\2\234\6\5\0\233\24a"..., 16380) =
> 16380
> write(3, ";\3\5\0\f\0`\1\0\0\0\0\0\0\0\0&\4{\2\234\6\5\0o\24a\1\0"..., 14248) =
> 14248
> write(3, ";\3\5\0\f\0`\1\0\0\0\0\0\0\0\0K\4\20\0\234\6\5\0\255\24"..., 4440) =
> 4440
> write(3, ";\3\5\0\f\0`\1\0\0\0\0\0\0\0\0K\4\20\0\234\6\5\0\255\24"..., 4480) =
> 4480
> write(3, ";\3\5\0\f\0`\1\0\0\0\0\0\0\0\0\17\0\31\0\234\6\5\0\322"..., 276) = 276
> write(3, ";\3\5\0\f\0`\1\0\0\0\0\0\0\0\0\17\1\31\0\234\6\5\0q\6`"..., 300) = 300
> write(3, ";\3\5\0\f\0`\1\0\0\0\0\0\0\0\0\1\0\275\0\234\6\5\0\210"..., 1476) =
> 1476
> write(3, ";\3\5\0\f\0`\1\0\0\0\0\0\0\0\0\20\0\4\0;\3\5\0\r\0`\1\0"..., 456) =
> 456
> write(3, ";\3\5\0\f\0`\1\0\0\0\0\0\0\0\0\20\0{\2\234\6\5\0\226\24"..., 4260) =
> 4260
> write(3, ";\3\5\0\f\0`\1\0\0\0\0\0\0\0\0\221\5\31\0\234\6\5\0\273"..., 4964) =
> 4964
> write(3, ";\3\5\0\f\0`\1\0\0\0\0\0\0\0\0\225\5\35\0\234\6\5\0\327"..., 4032) =
> 4032
> write(3, ";\3\5\0\f\0`\1\0\0\0\0\0\0\0\0\225\5\4\0;\3\5\0\31\4`\1"..., 444) =
> 444
> write(3, ";\3\5\0\f\0`\1\0\0\0\0\0\0\0\0\4\0\215\2\234\6\5\0\324"..., 512) = 512
> write(3, ";\3\5\0\f\0`\1\0\0\0\0\0\0\0\0\7\1\20\0\234\6\5\0\346\357"..., 4028) =
> 4028
> write(3, ";\3\5\0\f\0`\1\0\0\0\0\0\0\0\0\7\1y\2\234\6\5\0\231\357"..., 412) =
> 412
> write(3, ";\3\5\0\f\0`\1\0\0\0\0\321\7\320\7\220\5\275\0\234\6\5"..., 12284) =
> 12284
> write(3, ";\3\r\0\30\4`\1\0\0\0\0\0\0\0\0\225\5\1\0\0\0\1\0\1\0\30"..., 584) =
> 584
> write(3, ";\3\r\0\30\4`\1\0\0\0\0\0\0\0\0\225\5\3\0\0\0\3\0o\4\31"..., 812) =
> 812
> write(3, ";\3\r\0\f\0`\1\0\0\0\0\0\0\0\0\225\5\1\0\0\0\1\0\1\0\30"..., 584) =
> 584
> write(3, ";\3\r\0\f\0`\1\0\0\0\0\0\0\0\0\225\5\3\0\0\0\3\0o\4\31"..., 764) = 764
> write(3, ";\3\r\0\f\0`\1\0\0\0\0\0\0\0\0\225\5\3\0\0\0\3\0o\4\31"..., 812) = 812
> write(3, ";\3\v\0\30\4`\1\0\0\0\0\0\0\0\0\225\5\2\0\0\0\2\0\2\0\326"..., 636) =
> 636
> write(3, ";\3\v\0\30\4`\1\0\0\0\0\0\0\0\0\v\1\2\0\0\0\2\0\2\0\211"..., 636) =
> 636
> write(3, ";\3\v\0\30\4`\1\0\0\0\0\0\0\0\0_\4\2\0\0\0\2\0\2\0\213"..., 628) = 628
> write(3, ";\3\v\0\f\0`\1\0\0\0\0\0\0\0\0\225\5\2\0\0\0\2\0\2\0\326"..., 636) =
> 636
> write(3, ";\3\v\0\f\0`\1\0\0\0\0\0\0\0\0\v\1\2\0\0\0\2\0\2\0\211"..., 636) = 636
> write(3, ";\3\v\0\f\0`\1\0\0\0\0\0\0\0\0_\4\2\0\0\0\2\0\2\0\213\2"..., 628) =
> 628
> write(3, "=\0\4\0\320\316`\1\0\0\0\0_\4\221\2;\3\3\0\30\4`\1\0\0"..., 688) = 688
> write(3, "=\0\4\0\320\316`\1\0\0\0\0_\4\221\2;\3\3\0\f\0`\1\0\0\0"..., 688) =
> 688
> write(3, "=\0\4\0\343\0`\1\0\0\0\0\10\0\30\0;\3\5\0\30\4`\1\0\0\0"..., 1532) =
> 1532
> write(3, "=\0\4\0\343\0`\1\0\0\0\0\10\0\30\0;\3\5\0\f\0`\1\0\0\0"..., 1532) =
> 1532
> write(3, "=\0\4\0\357\0`\1\0\0\0\0\225\5\32\0008\3\4\0\30\4`\1\0"..., 380) = 380
> write(3, "=\0\4\0\357\0`\1\0\0\0\0\225\5\32\0008\3\4\0\f\0`\1\0\0"..., 380) =
> 380
> write(3, "F\0\5\0+\6`\1\277\4`\1\0\0\0\0&\4\17\0\234\27\n\0\3\0\10"..., 1012) =
> 1012
> write(3, "F\0\5\0+\6`\1\352\3`\1\0\0\0\0&\4\17\0\234\27\n\0\3\0\10"..., 1012) =
> 1012
> write(3, "F\30\5\0,*a\1\v\0`\1\0\0\0\0\30\0\30\0008*\4\0\31\4`\1"..., 120) = 120
> write(3, "F\30\5\0,*a\1\v\0`\1\0\0\0\0\30\0\30\0F*\5\0,*a\1\340\3"..., 104) =
> 104
> write(3, "F\30\5\0,*a\1\v\0`\1\0\0\0\0\30\0\30\0F*\5\0,*a\1\340\3"..., 156) =
> 156
> write(3, "F\30\5\0\204*a\1\v\0`\1\0\0\0\0I\0\27\0005\30\4\0\210*"..., 796) = 796
> write(3, "F\30\5\0\212*a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0\216*"..., 804) = 804
> write(3, "F\30\5\0\212*a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0\220*"..., 804) = 804
> write(3, "F\30\5\0\212*a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0\222*"..., 808) = 808
> write(3, "F\30\5\0\212*a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0\224*"..., 800) = 800
> write(3, "F\30\5\0\212*a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0\226*"..., 804) = 804
> write(3, "F\30\5\0\230*a\1\v\0`\1\0\0\0\0\30\0\30\0008*\4\0\31\4"..., 120) = 120
> write(3, "F\30\5\0\230*a\1\v\0`\1\0\0\0\0\30\0\30\0F*\5\0\230*a\1"..., 104) =
> 104
> write(3, "F\30\5\0\230*a\1\v\0`\1\0\0\0\0\30\0\30\0F*\5\0\230*a\1"..., 156) =
> 156
> write(3, "F\30\5\0\251)a\1\v\0`\1\0\0\0\0I\0\27\0005\30\4\0\255)"..., 796) = 796
> write(3, "F\30\5\0\257)a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0\263)"..., 804) = 804
> write(3, "F\30\5\0\257)a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0\265)"..., 804) = 804
> write(3, "F\30\5\0\257)a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0\267)"..., 808) = 808
> write(3, "F\30\5\0\257)a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0\271)"..., 800) = 800
> write(3, "F\30\5\0\257)a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0\273)"..., 804) = 804
> write(3, "F\30\5\0\275)a\1\v\0`\1\0\0\0\0\30\0\30\0008)\4\0\31\4"..., 120) = 120
> write(3, "F\30\5\0\275)a\1\v\0`\1\0\0\0\0\30\0\30\0F)\5\0\275)a\1"..., 104) =
> 104
> write(3, "F\30\5\0\275)a\1\v\0`\1\0\0\0\0\30\0\30\0F)\5\0\275)a\1"..., 156) =
> 156
> write(3, "F\30\5\0\30*a\1\v\0`\1\0\0\0\0I\0\27\0005\30\4\0\34*a\1"..., 796) =
> 796
> write(3, "F\30\5\0\36*a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0$*a\1^"..., 804) = 804
> write(3, "F\30\5\0\36*a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0&*a\1^"..., 808) = 808
> write(3, "F\30\5\0\36*a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0(*a\1^"..., 800) = 800
> write(3, "F\30\5\0\36*a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0**a\1^"..., 804) = 804
> write(3, "F\30\5\0\36*a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0\"*a\1"..., 804) = 804
> write(3, "F\30\5\0\360*a\1\v\0`\1\0\0\0\0I\0\27\0005\30\4\0\364*"..., 796) = 796
> write(3, "F\30\5\0\366*a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0\0+a\1"..., 800) =
> 800
> write(3, "F\30\5\0\366*a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0\2+a\1"..., 804) =
> 804
> write(3, "F\30\5\0\366*a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0\372*"..., 804) = 804
> write(3, "F\30\5\0\366*a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0\374*"..., 804) = 804
> write(3, "F\30\5\0\366*a\1\v\0`\1\0\0\0\0y\0\27\0005\30\4\0\376*"..., 808) = 808
> write(3, "F\30\5\0\4+a\1\v\0`\1\0\0\0\0\30\0\30\0008*\4\0\31\4`\1"..., 120) =
> 120
> write(3, "F\30\5\0\4+a\1\v\0`\1\0\0\0\0\30\0\30\0F*\5\0\4+a\1\340"..., 104) =
> 104
> write(3, "F\30\5\0\4+a\1\v\0`\1\0\0\0\0\30\0\30\0F*\5\0\4+a\1\340"..., 156) =
> 156
> write(3, "F\3\5\0\330)a\1\v\0`\1\0\0\0\0\27\0w\0008\6\4\0\31\4`\1"..., 776) =
> 776
> write(3, "\24\0\6\0\37\0`\1\347\0\0\0\4\0\0\0\0\0\0\0\0\4\0\0", 24) = 24
> write(3, "\24\0\6\0\37\0`\1m\0\0\0m\0\0\0\0\0\0\0\2\0\0\0", 24) = 24
> write(3, "\24\0\6\0^\1\0\0-\1\0\0!\0\0\0\0\0\0\0\2\0\0\0", 24) = 24
> write(3, "\f\0\4\0,\5`\1@\0\0\0\0\0\0\0\f\0\4\0-\5`\1@\0\10\0\0\0"..., 48) = 48
> write(3, "\f\0\4\0,\5`\1@\0\0\0\0\0\0\0\f\0\4\0-\5`\1@\0\3\0\0\0"..., 48) = 48
> write(6, "\0", 1) = 1
>
> _______________________________________________
> kdevelop mailing list
> kdevelop at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop
More information about the KDevelop
mailing list