You are not logged in.

#1 2011-11-05 15:12:20

lgolebio
Member
From: Poland / Wroclaw
Registered: 2008-07-28
Posts: 101

Transmission-gtk slow startup (11 seconds )

For some reason transmission-gtk startups very slowly. It takes 11 seconds to launch the program. All packages are up to date. I have XFCE. When I run transmission-gtk from terminal, no errors shows. Where might be the problem ?

Offline

#2 2011-11-06 14:00:22

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Transmission-gtk slow startup (11 seconds )

Does it need access to a disk that puts itself to sleep when idle?
You can try strace to see what's going on when you launch it.

Offline

#3 2011-11-06 16:30:03

lgolebio
Member
From: Poland / Wroclaw
Registered: 2008-07-28
Posts: 101

Re: Transmission-gtk slow startup (11 seconds )

Does it need access to a disk that puts itself to sleep when idle?

Nope. Only local hard drive is used, which is constantly on.

[lukasz@lukasz-dell Desktop]$ strace -c transmission-gtk
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 59.11    0.026518          37       708           poll
 22.29    0.009999         159        63           nanosleep
 16.19    0.007263          15       476           getdents64
  0.62    0.000276           0      1163           close
  0.42    0.000190           0      3455      2132 stat64
  0.33    0.000150           0      1453       294 open
  0.31    0.000138           1       240           writev
  0.26    0.000115           0      1598           gettimeofday
  0.23    0.000103           0      2828       734 read
  0.17    0.000077          11         7           write
  0.08    0.000035           0       890           fstat64
  0.00    0.000000           0         1           execve
  0.00    0.000000           0         3           time
  0.00    0.000000           0        82        35 access
  0.00    0.000000           0         1           pipe
  0.00    0.000000           0        53           brk
  0.00    0.000000           0        28           munmap
  0.00    0.000000           0         3           clone
  0.00    0.000000           0         9           uname
  0.00    0.000000           0        54           mprotect
  0.00    0.000000           0         4           _llseek
  0.00    0.000000           0         2           getdents
  0.00    0.000000           0         1           sched_getparam
  0.00    0.000000           0         1           sched_getscheduler
  0.00    0.000000           0         4           sched_get_priority_max
  0.00    0.000000           0         3           sched_get_priority_min
  0.00    0.000000           0         7         1 rt_sigaction
  0.00    0.000000           0         1           rt_sigprocmask
  0.00    0.000000           0         1           getrlimit
  0.00    0.000000           0       215           mmap2
  0.00    0.000000           0        35           lstat64
  0.00    0.000000           0         3           getuid32
  0.00    0.000000           0         3           geteuid32
  0.00    0.000000           0         2           getegid32
  0.00    0.000000           0         1           getresuid32
  0.00    0.000000           0         1           getresgid32
  0.00    0.000000           0        11           fcntl64
  0.00    0.000000           0        27         2 futex
  0.00    0.000000           0         1           set_thread_area
  0.00    0.000000           0         1           set_tid_address
  0.00    0.000000           0       518           clock_gettime
  0.00    0.000000           0         1           clock_getres
  0.00    0.000000           0         2           fadvise64_64
  0.00    0.000000           0         1           set_robust_list
  0.00    0.000000           0         4           eventfd2
  0.00    0.000000           0         5           socket
  0.00    0.000000           0         5         2 connect
  0.00    0.000000           0         2           getsockname
  0.00    0.000000           0         1           getpeername
  0.00    0.000000           0         8           send
  0.00    0.000000           0         3           recv
  0.00    0.000000           0         3           sendmsg
  0.00    0.000000           0         4         2 recvmsg
  0.00    0.000000           0         2           shmat
  0.00    0.000000           0         2           shmget
  0.00    0.000000           0         2           shmctl
------ ----------- ----------- --------- --------- ----------------
100.00    0.044864                 14002      3202 total

Offline

#4 2011-11-06 17:06:54

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Transmission-gtk slow startup (11 seconds )

is dbus started?


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2011-11-06 17:18:06

lgolebio
Member
From: Poland / Wroclaw
Registered: 2008-07-28
Posts: 101

Re: Transmission-gtk slow startup (11 seconds )

Yes, up and running.

Offline

#6 2011-11-06 18:41:58

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Transmission-gtk slow startup (11 seconds )

Same issue here. Dbus running using local drive without idling. I can not recall same issue on Ubuntu when i was using it a year ago.

Last edited by Shark (2011-11-06 20:15:35)


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#7 2011-11-06 18:54:08

lgolebio
Member
From: Poland / Wroclaw
Registered: 2008-07-28
Posts: 101

Re: Transmission-gtk slow startup (11 seconds )

However Transmission-qt  starts up like a charm. Maybe it is gtk related problem ?

Offline

#8 2011-11-06 18:57:48

b4data
Member
Registered: 2010-12-14
Posts: 141

Re: Transmission-gtk slow startup (11 seconds )

OP, have you configured Transmission to use any kind of blocklist? Doing so can significantly increase startup time.

Since you how you mentioned that you think it could be GTK related, does changing GTK theme help at all?

Last edited by b4data (2011-11-06 19:08:12)

Offline

#9 2011-11-06 19:05:35

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Transmission-gtk slow startup (11 seconds )

is your hostname mapped correctly in /etc/hosts ?


Give what you have. To someone, it may be better than you dare to think.

Offline

#10 2011-11-06 19:07:56

lgolebio
Member
From: Poland / Wroclaw
Registered: 2008-07-28
Posts: 101

Re: Transmission-gtk slow startup (11 seconds )

No, it doesn't help at all. Changing theme doesn't solve the problem. Also, I haven't configured transmission to any kind of blocklist.

[lukasz@lukasz-dell ~]$ cat /etc/hosts
#
# /etc/hosts: static lookup table for host names
#

#<ip-address>	<hostname.domain.org>	<hostname>
127.0.0.1	localhost.localdomain	localhost lukasz-dell
::1		localhost.localdomain	localhost

# End of file
[lukasz@lukasz-dell ~]$ cat /etc/rc.conf |grep HOSTNAME
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
HOSTNAME="lukasz-dell"

Last edited by lgolebio (2011-11-06 19:10:59)

Offline

#11 2012-02-27 20:24:46

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: Transmission-gtk slow startup (11 seconds )

I have xfce too, and i'm having this problem too...very slow startup, something like 11-12 seconds!
and obviously etc/hosts is well mapped!

Offline

#12 2012-02-27 20:55:50

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Transmission-gtk slow startup (11 seconds )

I think it is a bug, i suppose. If you have a transmission with kde this problem doesn't appear.


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#13 2012-02-27 20:56:33

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: Transmission-gtk slow startup (11 seconds )

nice to hear, so waiting for a fix!
Thanks for your feedback

Offline

#14 2012-03-12 14:47:48

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: Transmission-gtk slow startup (11 seconds )

Uhm i tried on gnome 3.4 on my other laptop, and that problem is away...so, i think the bug is related with xfce and transmission-gtk, not only transmission.

Offline

#15 2012-11-04 08:46:21

ma
Member
Registered: 2012-01-29
Posts: 54

Re: Transmission-gtk slow startup (11 seconds )

I only use Openbox without a DE, but everything about transmission-gtk is sluggish: starting up, opening the Preferences window, scrolling the file list in the Properties window. I was surprised to see that the Qt version is much faster.

Offline

#16 2012-11-04 09:33:34

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: Transmission-gtk slow startup (11 seconds )

I tried on my home pc (gnome 3.6 + arch , testing enabled) and it takes may be a second to start.
On my xfce netbook, it takes again 11seconds to start, and i don't know why. Luckily it is not sluggish as you said; it works very well, except for the slow startup.
I can't understand what is the cause.
There is a thread I opened months ago about this bug ( ? ) in the transmission forum : https://forum.transmissionbt.com/viewto … =9&t=13351 .
May be. give your feedback there to make the thread live again, because nobody noticed it wink

Last edited by nierro (2012-11-04 09:34:09)

Offline

#17 2012-11-04 15:14:18

ma
Member
Registered: 2012-01-29
Posts: 54

Re: Transmission-gtk slow startup (11 seconds )

Ah, I've ditched it for the Qt version. I would not like to register at another forum, trying to find a solution in vain. Part of the reason it's sluggish for me is that as GTK+ 3 “progresses”, it seems to perform worse and worse on my plain old P4 + Radeon 9550 combo. However, it does not explain the slow startup (and the ridiculous delay before the Preferences window opens). Looking at the output of strace, I could see that at one point something kept calling nanosleep() lots of times, resulting in a delay of about 7-8 seconds. What does it and why is beyond me. Anyway, it's not my problem now. smile

Last edited by ma (2012-11-04 15:22:30)

Offline

Board footer

Powered by FluxBB