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

List:       sylpheed
Subject:    [sylpheed:21851] Why Sylpheed is So Slow Downloading
From:       Paul Dickson <dickson () permanentmail ! com>
Date:       2003-10-30 19:12:04
[Download RAW message or body]

I consider sylpheed to be extemely slow downloading.  Not capturing each
message (which is really very quick), but the opening each new folder
accessed during the download can take up to 30 seconds more more on my
system.  So I finally strace'd sylpheed, and it did what I thought it
might be doing...seaching for the last message by accessing each message
in the given folder.

Perhaps a better method of finding the highest message number could be
found?  The strace below took 16 seconds to locate the highest message
number.

	-Paul



write(5, "[11:34:06] POP3> RETR 1\n", 24) = 24
fcntl64(8, F_GETFL)                     = 0x802 (flags O_RDWR|O_NONBLOCK)
write(8, "RETR 1\r\n", 8)               = 8
gettimeofday({1067538846, 410005}, NULL) = 0
ioctl(4, FIONREAD, [0])                 = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN|POLLPRI}, {fd=6, events=POLLIN}, {fd=8, events=POLLIN, \
revents=POLLIN}], 4, 0) = 1 fcntl64(8, F_GETFL)                     = 0x802 (flags O_RDWR|O_NONBLOCK)
read(8, "+OK 5158 octets\r\nReturn-Path: <f"..., 4095) = 4095
time([1067538846])                      = 1067538846
write(5, "[11:34:06] POP3< +OK 5158 octets"..., 33) = 33
gettimeofday({1067538846, 413591}, NULL) = 0
gettimeofday({1067538846, 414093}, NULL) = 0
ioctl(4, FIONREAD, [0])                 = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN|POLLPRI}, {fd=6, events=POLLIN}], 3, 0) = 0
gettimeofday({1067538846, 416808}, NULL) = 0
write(4, "\f\0\7\0\344\0\340\1\17\0\0\0\336\1\0\0\221\2\0\0x\0\0"..., 296) = 296
ioctl(4, FIONREAD, [0])                 = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN|POLLPRI}, {fd=6, events=POLLIN}], 3, 0) = 0
gettimeofday({1067538846, 419489}, NULL) = 0
write(4, ">\0\7\0\262\7\340\1\344\0\340\1\6\0\340\1\0\0\0\0\0\0\0"..., 28) = 28
ioctl(4, FIONREAD, [0])                 = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN|POLLPRI}, {fd=6, events=POLLIN}], 3, 0) = 0
gettimeofday({1067538846, 421895}, NULL) = 0
gettimeofday({1067538846, 422470}, NULL) = 0
ioctl(4, FIONREAD, [0])                 = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN|POLLPRI}, {fd=6, events=POLLIN}, {fd=8, events=POLLIN, \
revents=POLLIN}], 4, -1) = 1 gettimeofday({1067538846, 423965}, NULL) = 0
fcntl64(8, F_GETFL)                     = 0x802 (flags O_RDWR|O_NONBLOCK)
read(8, "e", 4096)                      = 1
gettimeofday({1067538846, 425379}, NULL) = 0
gettimeofday({1067538846, 425852}, NULL) = 0
ioctl(4, FIONREAD, [0])                 = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN|POLLPRI}, {fd=6, events=POLLIN}, {fd=8, events=POLLIN, \
revents=POLLIN}], 4, -1) = 1 gettimeofday({1067538846, 450669}, NULL) = 0
fcntl64(8, F_GETFL)                     = 0x802 (flags O_RDWR|O_NONBLOCK)
read(8, "s. While running up2date you\r\n| "..., 4096) = 1082
open("/home/dickson/.sylpheed/tmp/tmpfile.00000000", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 9
fchmod(9, 0600)                         = 0
fstat64(9, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4094f000
write(9, "Return-Path: <fedora-test-list-a"..., 4096) = 4096
write(9, "ience.  Rather, this seems to be"..., 944) = 944
close(9)                                = 0
munmap(0x4094f000, 4096)                = 0
open("/home/dickson/.sylpheed/tmp/tmpfile.00000000", O_RDONLY) = 9
fstat64(9, {st_mode=S_IFREG|0600, st_size=5040, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4094f000
read(9, "Return-Path: <fedora-test-list-a"..., 4096) = 4096
close(9)                                = 0
munmap(0x4094f000, 4096)                = 0
chdir("/home/dickson/Mail/RedHat/fedora/test") = 0
open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 9
fstat64(9, {st_mode=S_IFDIR|0700, st_size=218848, ...}) = 0
fcntl64(9, F_SETFD, FD_CLOEXEC)         = 0
getdents64(9, /* 5461 entries */, 131072) = 131064
stat64("1", {st_mode=S_IFREG|0600, st_size=3576, ...}) = 0
stat64("2", {st_mode=S_IFREG|0600, st_size=9773, ...}) = 0
stat64("3", {st_mode=S_IFREG|0600, st_size=2787, ...}) = 0
stat64("4", {st_mode=S_IFREG|0600, st_size=2549, ...}) = 0
stat64("5", {st_mode=S_IFREG|0600, st_size=3099, ...}) = 0

	[ lots and lots of lines deleted ]

stat64("9111", {st_mode=S_IFREG|0600, st_size=4045, ...}) = 0
stat64("9112", {st_mode=S_IFREG|0600, st_size=4426, ...}) = 0
stat64("9113", {st_mode=S_IFREG|0600, st_size=4064, ...}) = 0
stat64("9114", {st_mode=S_IFREG|0600, st_size=6664, ...}) = 0
getdents64(9, /* 0 entries */, 131072)  = 0
close(9)                                = 0
stat64("/home/dickson/Mail/RedHat/fedora/test", {st_mode=S_IFDIR|0700, st_size=218848, ...}) = 0
open("/home/dickson/Mail/RedHat/fedora/test/.sylpheed_mark", O_RDONLY) = 9
fstat64(9, {st_mode=S_IFREG|0600, st_size=48548, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4094f000
read(9, "\2\0\0\0\1\0\0\0\0\1\0\0\2\0\0\0\0\0\0\0\n\0\0\0\0\0\0"..., 131072) = 48548
brk(0)                                  = 0x8353000
brk(0x8374000)                          = 0x8374000
read(9, "", 131072)                     = 0
close(9)                                = 0
munmap(0x4094f000, 131072)              = 0
stat64("/home/dickson/Mail/RedHat/fedora/test", {st_mode=S_IFDIR|0700, st_size=218848, ...}) = 0
stat64("/home/dickson/Mail/RedHat/fedora/test/9115", 0xbfffe74c) = -1 ENOENT (No such file or directory)
link("/home/dickson/.sylpheed/tmp/tmpfile.00000000", "/home/dickson/Mail/RedHat/fedora/test/9115") = -1 \
EXDEV (Invalid cross-device link) open("/home/dickson/.sylpheed/tmp/tmpfile.00000000", O_RDONLY) = 9
stat64("/home/dickson/Mail/RedHat/fedora/test/9115", 0xbfffc73c) = -1 ENOENT (No such file or directory)
open("/home/dickson/Mail/RedHat/fedora/test/9115", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 10
fchmod(10, 0600)                        = 0
fstat64(9, {st_mode=S_IFREG|0600, st_size=5040, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4094f000
read(9, "Return-Path: <fedora-test-list-a"..., 8192) = 5040
read(9, "", 4096)                       = 0
fstat64(10, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40950000
read(9, "", 8192)                       = 0
close(9)                                = 0
munmap(0x4094f000, 4096)                = 0
write(10, "Return-Path: <fedora-test-list-a"..., 5040) = 5040
close(10)                               = 0
munmap(0x40950000, 131072)              = 0
unlink("/home/dickson/.sylpheed/tmp/tmpfile.00000000") = 0
time([1067538862])                      = 1067538862
write(5, "[11:34:22] POP3> DELE 1\n", 24) = 24
fcntl64(8, F_GETFL)                     = 0x802 (flags O_RDWR|O_NONBLOCK)
write(8, "DELE 1\r\n", 8)               = 8
gettimeofday({1067538862, 212824}, NULL) = 0
write(4, "F\0\5\0W\7\340\1a\0\340\1\1\0\1\0\1\0\1\0C\0\5\0W\7\340"..., 256) = 256
ioctl(4, FIONREAD, [32])                = 0
read(4, "\2q=\221R\374go?\0\0\0\4\0\340\1\245\0\340\1M\1X\0/\0$"..., 32) = 32
poll([{fd=4, events=POLLIN, revents=POLLIN}, {fd=3, events=POLLIN|POLLPRI}, {fd=6, events=POLLIN}, {fd=8, \
events=POLLIN, revents=POLLIN}], 4, 0) = 2 fcntl64(8, F_GETFL)                     = 0x802 (flags \
O_RDWR|O_NONBLOCK) read(8, "+OK Message deleted\r\n", 4095) = 21


	-Paul


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

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