[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    [Kopete-devel] kopete startup is slow
From:       Justin Heesemann <jh () ionium ! org>
Date:       2003-05-09 18:42:17
[Download RAW message or body]

Hi..
this is not really a complain, I really love working with this program. 
However everytime I start kopete (0.6.2), it takes ~30 seconds until I 
finally can login.
I do have quite a few contacts, both from jabber and icq, some of them 
with meta contacts, but ~140 contacts + meta information should be 
parseable in less time.

I have included an strace with relative times (attachment)
It looks like DCOP communication takes _extremely_ long (25 seconds on 
my p3 550 notebook/192 mb ram)

Same operation goes faster (still slow) on my athlon 900/512mb ram: 9.3 
seconds.

As i have almost no knowledge of KDE Internals (DCOP), I'd just like to 
know: Is this expected to be so slow? Do others experience similar 
startup times?



-- 
Regards,
Justin

["kopete.strace.shortened.txt" (text/plain)]

     0.000461 stat64("/home/jh/.kde3.1/share/config/kopeterc", {st_mode=S_IFREG|0600, \
                st_size=4025, ...}) = 0 <0.000058>
     0.000220 stat64("/usr/kde/3.1/share/config/kopeterc", 0xbffff23c) = -1 ENOENT \
(No such file or directory) <0.000028>  0.000329 brk(0x80a9000)            = \
                0x80a9000 <0.000017>
     0.000108 open("/home/jh/.kde3.1/share/config/kopeterc", O_RDONLY|O_LARGEFILE) = \
                3 <0.000037>
     0.000122 fstat64(3, {st_mode=S_IFREG|0600, st_size=4025, ...}) = 0 <0.000013>
     0.000145 fstat64(3, {st_mode=S_IFREG|0600, st_size=4025, ...}) = 0 <0.000013>
     0.000121 old_mmap(NULL, 4025, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000 \
                <0.000024>
     0.000125 fstat64(3, {st_mode=S_IFREG|0600, st_size=4025, ...}) = 0 <0.000013>
     0.000121 rt_sigaction(SIGBUS, {0x411ad598, [BUS], SA_RESTART|0x4000000}, \
{SIG_DFL}, 8) = 0 <0.000015>  0.000671 brk(0x80aa000)            = 0x80aa000 \
<0.000014>  0.000576 brk(0x80ab000)            = 0x80ab000 <0.000015>
     0.000535 brk(0x80ac000)            = 0x80ac000 <0.000014>
     0.000562 brk(0x80ad000)            = 0x80ad000 <0.000015>
     0.000565 brk(0x80ae000)            = 0x80ae000 <0.000015>
     0.000167 fstat64(3, {st_mode=S_IFREG|0600, st_size=4025, ...}) = 0 <0.000014>
     0.000123 munmap(0x40017000, 4025)  = 0 <0.000025>
     0.000082 rt_sigaction(SIGBUS, {SIG_DFL}, {0x411ad598, [BUS], \
SA_RESTART|0x4000000}, 8) = 0 <0.000013>  0.000121 close(3)                  = 0 \
<0.000017>  0.000806 pipe([3, 4])              = 0 <0.000038>
     0.000281 fork()                    = 8102 <0.002344>
     0.019479 close(4)                  = 0 <0.000026>
     0.000195 read(3, "\0", 1)          = 1 <0.000017>
     0.000092 close(3)                  = 0 <0.000025>
     0.001185 uname({sys="Linux", node="shakti.blocksberg.com", ...}) = 0 <0.000016>
     0.000617 open("/home/jh/.DCOPserver_shakti.blocksberg.com__0", \
                O_RDONLY|O_LARGEFILE) = 3 <0.000045>
     0.000146 fstat64(3, {st_mode=S_IFREG|0644, st_size=68, ...}) = 0 <0.000016>
     0.000153 fstat64(3, {st_mode=S_IFREG|0644, st_size=68, ...}) = 0 <0.000013>
     0.000116 fstat64(3, {st_mode=S_IFREG|0644, st_size=68, ...}) = 0 <0.000012>
     0.000277 fstat64(3, {st_mode=S_IFREG|0644, st_size=68, ...}) = 0 <0.000015>
     0.000146 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, \
                -1, 0) = 0x40017000 <0.000021>
     0.000177 read(3, "local/shakti.blocksberg.com:/tmp"..., 4096) = 68 <0.000036>
     0.000256 close(3)                  = 0 <0.000018>
     0.000075 munmap(0x40017000, 4096)  = 0 <0.000030>
     0.000396 socket(PF_UNIX, SOCK_STREAM, 0) = 3 <0.000047>
     0.000158 uname({sys="Linux", node="shakti.blocksberg.com", ...}) = 0 <0.000015>
     0.000437 connect(3, {sin_family=AF_UNIX, \
path="/tmp/.ICE-unix/dcop5335-1052480594"}, 37) = 0 <0.000316>  0.000526 fcntl64(3, \
F_SETFD, FD_CLOEXEC) = 0 <0.000013>  0.000078 brk(0x80af000)            = 0x80af000 \
<0.000020>  0.000207 write(3, "\0\1\0\0\0\0\0\0", 8) = 8 <0.000038>
     0.000201 read(3, "\0\1\0\0\0\0\0\0", 8) = 8 <0.000019>
     0.000204 access("/home/jh/.ICEauthority", R_OK) = 0 <0.000032>
     0.000284 open("/home/jh/.ICEauthority", O_RDONLY) = 4 <0.000028>
     0.000158 fstat64(4, {st_mode=S_IFREG|0600, st_size=565, ...}) = 0 <0.000016>
     0.000132 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, \
                -1, 0) = 0x40017000 <0.000020>
     0.000112 read(4, "\0\3ICE\0\0\0\37tcp/shakti.blocksberg.c"..., 4096) = 565 \
<0.000037>  0.000219 read(4, "", 4096)         = 0 <0.000014>
     0.000110 close(4)                  = 0 <0.000017>
     0.000068 munmap(0x40017000, 4096)  = 0 <0.000030>
     0.000110 write(3, "\0\2\1\1\6\0\0\0\0\0\0\0\0\0\0\0\3\0MIT\0\0\0\3\0001.0"..., \
56) = 56 <0.000076>  0.000190 read(3, "\0\3\0\0\1\0\0\0", 8) = 8 <0.000015>
     0.000160 read(3, "\0\0\0\0\0\0\0\0", 8) = 8 <0.000019>
     0.000128 access("/home/jh/.ICEauthority", R_OK) = 0 <0.000026>
     0.000104 open("/home/jh/.ICEauthority", O_RDONLY) = 4 <0.000022>
     0.000094 fstat64(4, {st_mode=S_IFREG|0600, st_size=565, ...}) = 0 <0.000013>
     0.000124 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, \
                -1, 0) = 0x40017000 <0.000018>
     0.000106 read(4, "\0\3ICE\0\0\0\37tcp/shakti.blocksberg.c"..., 4096) = 565 \
<0.000029>  0.000186 close(4)                  = 0 <0.000016>
     0.000067 munmap(0x40017000, 4096)  = 0 <0.000023>
     0.000087 write(3, "\0\4\1\1\3\0\0\0\20\0\0\0\0\0\0\0\257u\363 ^\r^\27\261"..., \
32) = 32 <0.000124>  0.000254 read(3, "\0\6\0\0\2\0\0\0", 8) = 8 <0.000014>
     0.000109 read(3, "\3\0MIT\0\0\0\3\0001.0\0\0\0", 16) = 16 <0.000023>
     0.000162 access("/home/jh/.ICEauthority", R_OK) = 0 <0.000026>
     0.000105 open("/home/jh/.ICEauthority", O_RDONLY) = 4 <0.000024>
     0.000110 fstat64(4, {st_mode=S_IFREG|0600, st_size=565, ...}) = 0 <0.000014>
     0.000126 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, \
                -1, 0) = 0x40017000 <0.000018>
     0.000107 read(4, "\0\3ICE\0\0\0\37tcp/shakti.blocksberg.c"..., 4096) = 565 \
<0.000030>  0.000180 read(4, "", 4096)         = 0 <0.000013>
     0.000072 close(4)                  = 0 <0.000015>
     0.000065 munmap(0x40017000, 4096)  = 0 <0.000025>
     0.000090 write(3, "\0\7\2\0\7\0\0\0\1\1\0\0\0\0\0\0\4\0DCOP^\27\3\0KDE\301"..., \
64) = 64 <0.000168>  0.000284 read(3, "\0\3\0\0\1\0\0\0", 8) = 8 <0.000014>
     0.000106 read(3, "\0\0MIT\0\0\0", 8) = 8 <0.000024>
     0.000100 access("/home/jh/.ICEauthority", R_OK) = 0 <0.000024>
     0.000100 open("/home/jh/.ICEauthority", O_RDONLY) = 4 <0.000022>
     0.000093 fstat64(4, {st_mode=S_IFREG|0600, st_size=565, ...}) = 0 <0.000014>
     0.000123 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, \
                -1, 0) = 0x40017000 <0.000017>
     0.000106 read(4, "\0\3ICE\0\0\0\37tcp/shakti.blocksberg.c"..., 4096) = 565 \
<0.000027>  0.000166 close(4)                  = 0 <0.000016>
     0.000067 munmap(0x40017000, 4096)  = 0 <0.000025>
     0.000086 write(3, "\0\4\2\0\3\0\0\0\20\0\0\0\0\0\0\0\257u\363 ^\r^\27\261"..., \
32) = 32 <0.000142>  0.000255 read(3, "\0\10\0\2\2\0\0\0", 8) = 8 <0.000014>
     0.000090 read(3, "\3\0KDE\0\0\0\3\0002.0\0\0\0", 16) = 16 <0.000023>
     0.000243 getsockopt(3, SOL_SOCKET, SO_PEERCRED, [5335], [12]) = 0 <0.000017>
     0.000128 getuid32()                = 500 <0.000012>
     0.000131 getpid()                  = 8101 <0.000012>
     0.000463 write(3, "\2\2\2\0H\0\0\0\0\0\0\0", 12) = 12 <0.000115>
     0.000214 write(3, "\0\0\0\0\0\0\0\vDCOPServer\0\0\0\0\1\0\0\0\0\25regi"..., 53) \
= 53 <0.000027>  0.000127 write(3, "\0\0\0\17anonymous-8101\0", 19) = 19 <0.001341>
     0.001510 read(3, "\2\3\0\0027\0\0\0", 8) = 8 <0.000015>
     0.000109 read(3, "]\0\0\0", 4)     = 4 <0.000025>
     0.000121 read(3, "\0\0\0\vDCOPServer\0\0\0\0\0\0\0\0\tQCString\0"..., 55) = 55 \
<0.000033>  0.000373 write(3, "\2\2\2\0\\\0\0\0]\0\0\0", 12) = 12 <0.000118>
     0.000207 write(3, "\0\0\0\17anonymous-8101\0\0\0\0\vDCOPServe"..., 81) = 81 \
<0.000028>  0.000114 write(3, "\0\0\0\7kopete\0", 11) = 11 <0.000142>
     0.000235 read(3, "\2\3\0\0023\0\0\0", 8) = 8 <0.000015>
     0.000089 read(3, "]\0\0\0", 4)     = 4 <0.000023>
     0.000092 read(3, "\0\0\0\vDCOPServer\0\0\0\0\17anonymous-810"..., 51) = 51 \
<0.000031>  0.000327 write(3, "\2\2\2\0X\0\0\0]\0\0\0", 12) = 12 <0.000085>
     0.000172 write(3, "\0\0\0\17anonymous-8101\0\0\0\0\7kopete\0\0\0"..., 63) = 63 \
                <0.000027>
     0.000134 write(3, "\0\0\0\t/home/jh\0\0\0\0\1\0\0\0\0\0\0\0\0", 25) = 25 \
<0.000093>  0.000194 read(3, "\2\5\0\2\"\0\0\0", 8) = 8 <1.094912>
     1.095057 read(3, "]\0\0\0", 4)     = 4 <0.000025>
     0.000141 read(3, "\0\0\0\7kopete\0\0\0\0\17anonymous-8101\0\0\0"..., 34) = 34 \
<0.000023>  0.000145 read(3, "\2\4\0\2\0\0\0\0", 8) = 8 <25.465211>
    25.467740 read(3, "\1\0\0\0", 4)    = 4 <0.000020>
     0.000460 stat64("/home/jh/.kde3.1/share/config/", {st_mode=S_IFDIR|0700, \
                st_size=4096, ...}) = 0 <0.000044>
     0.000224 access("/home/jh/.kde3.1/share/config/kdebugrc", W_OK) = -1 ENOENT (No \
                such file or directory) <0.000024>
     0.000108 access("/home/jh/.kde3.1/share/config/kdebugrc", F_OK) = -1 ENOENT (No \
such file or directory) <0.000021>  0.000122 access("/home/jh/.kde3.1/share/config", \
W_OK) = 0 <0.000020>  0.000197 brk(0x80b0000)            = 0x80b0000 <0.000020>
     0.000436 stat64("/home/jh/.kde3.1/share/config/kdebugrc", 0xbfffe06c) = -1 \
                ENOENT (No such file or directory) <0.000026>
     0.000121 stat64("/usr/kde/3.1/share/config/kdebugrc", {st_mode=S_IFREG|0644, \
                st_size=1947, ...}) = 0 <0.000029>
     0.000220 open("/usr/kde/3.1/share/config/kdebugrc", O_RDONLY|O_LARGEFILE) = 4 \
                <0.000031>
     0.000126 fstat64(4, {st_mode=S_IFREG|0644, st_size=1947, ...}) = 0 <0.000012>
     0.000144 fstat64(4, {st_mode=S_IFREG|0644, st_size=1947, ...}) = 0 <0.000013>
     0.000120 old_mmap(NULL, 1947, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40017000 \
                <0.000022>
     0.000106 fstat64(4, {st_mode=S_IFREG|0644, st_size=1947, ...}) = 0 <0.000013>
     0.000121 rt_sigaction(SIGBUS, {0x411ad598, [BUS], SA_RESTART|0x4000000}, \
{SIG_DFL}, 8) = 0 <0.000015>  0.000400 brk(0x80b1000)            = 0x80b1000 \
                <0.000015>
     0.000552 fstat64(4, {st_mode=S_IFREG|0644, st_size=1947, ...}) = 0 <0.000013>
     0.000119 munmap(0x40017000, 1947)  = 0 <0.000023>
     0.000079 rt_sigaction(SIGBUS, {SIG_DFL}, {0x411ad598, [BUS], \
SA_RESTART|0x4000000}, 8) = 0 <0.000013>  0.000116 close(4)                  = 0 \
                <0.000017>
     0.000348 write(2, "ERROR: KUniqueApplication: DCOP "..., 53ERROR: \
KUniqueApplication: DCOP communication error! ) = 53 <0.000017>
     0.000268 close(3)                  = 0 <0.000032>
     0.004060 _exit(255)                = ?
QApplication::postEvent: Unexpected null receiver



_______________________________________________
Kopete-devel mailing list
Kopete-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kopete-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic