1406: startup is very slow without disk cache

General discussions
Locked
Lem
Posts: 7
Joined: Sun Dec 19, 2010 11:25 am

1406: startup is very slow without disk cache

Post by Lem »

Hurry up, hurry up: I need a fix yesterday!

Ah ha, LOL. Just kidding! First of all, Merry Xmas! And thanks for everything. So, chill out. :)

I'm noticing that with 1406 (I come from 139x) starting up Guayadeque takes a lot of time (*without* disk cache).
A lot means a minute or so, and the PC is a fairly fast core2duo with fairly fast HDs.
Just wondering whether this is normal, and whether You are aware of it.

Here it is: I'm attaching the output of the command:

(sync && echo 3 | sudo tee /proc/sys/vm/drop_caches && strace -c guayadeque) &> /tmp/straceg.txt

If You need a more detailed strace, please let me know the exact options (BTW: strace -ttT is 12MB).

Bye and thanks again.

P.S. It doesn't let me upload the attachment, so I paste here the output:

lem@biggy:~$ (sync && echo 3 | sudo tee /proc/sys/vm/drop_caches && strace -c ayadeque) &> /tmp/straceg
3
15:48:29: Deleted stale lock file '/home/lem/.guayadeque/.guayadeque-lem'.
15:48:29: Initialized locale ( it_IT )
15:48:29: Library Db Version 21
15:48:29: Library Paths:
15:48:29: /media/archivio/musica/
15:48:29: Mount Added...
15:48:29: Mount Path: /media/archivio/
15:48:29: IconStr: '. GEmblemedIcon .%20GThemedIcon%20drive-harddisk-ata%20drive-harddisk%20drive .%20GEmblem%20gdu-encrypted-unlock%201'
15:48:29: Mount Added...
15:48:29: Mount Path: /media/cinematv/
15:48:29: IconStr: '. GEmblemedIcon .%20GThemedIcon%20drive-harddisk-ata%20drive-harddisk%20drive .%20GEmblem%20gdu-encrypted-unlock%201'
15:48:29: Mount Added...
15:48:29: Mount Path: /media/ibox/
15:48:29: IconStr: '. GEmblemedIcon .%20GThemedIcon%20drive-harddisk-ata%20drive-harddisk%20drive .%20GEmblem%20gdu-encrypted-unlock%201'
15:48:29: Mount Added...
15:48:29: Mount Path: /media/oly/
15:48:29: IconStr: '. GThemedIcon drive-harddisk-ata drive-harddisk drive'
15:48:29: 00001FFF
15:48:30: RefreshBitmaps 0 3
15:48:30: RefreshBitmaps 0 2
15:48:30: RefreshBitmaps 1250 3
15:48:30: RefreshBitmaps 1250 2
15:48:30: Id: 4 Pane: PlayerVumeters Show:1 Flags:00001FFF
15:48:30: ... 'ARCHIVIO'
15:48:30: ... 'CINEMATV'
15:48:30: ... 'IBOX'
15:48:30: ... 'OLY'
15:48:30: Searching for basecmd 14000
15:48:30: Searching for basecmd 14020
15:48:30: Searching for basecmd 14040
15:48:30: Searching for basecmd 14060
15:48:34: Tree Flag 00000002
15:48:34: SetPath: /
15:48:34: Library Db Version 21
15:50:28: Library Db Version 21
15:50:29: RefreshBitmaps 338 24
15:50:29: RefreshBitmaps 338 24
15:50:29: Updating the podcasts...
15:50:29: ... 'ARCHIVIO'
15:50:29: ... 'CINEMATV'
15:50:29: ... 'IBOX'
15:50:29: ... 'OLY'
15:50:29: Searching for basecmd 14000
15:50:29: Searching for basecmd 14020
15:50:29: Searching for basecmd 14040
15:50:29: Searching for basecmd 14060
15:50:29: The current selected directory is '/'
15:50:29: SetPath: /
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
75.74 0.304337 6 52192 961 read
12.66 0.050878 195 261 wait4
5.35 0.021509 81 265 clone
2.49 0.010000 10000 1 statfs
2.19 0.008787 129 68 getdents
1.44 0.005775 23 254 198 access
0.11 0.000426 1 660 115 open
0.01 0.000044 0 5000 write
0.01 0.000031 0 53132 lseek
0.00 0.000007 0 215 mprotect
0.00 0.000000 0 584 close
0.00 0.000000 0 1589 609 stat
0.00 0.000000 0 280 fstat
0.00 0.000000 0 12 2 lstat
0.00 0.000000 0 1667 poll
0.00 0.000000 0 363 mmap
0.00 0.000000 0 43 munmap
0.00 0.000000 0 497 brk
0.00 0.000000 0 1031 rt_sigaction
0.00 0.000000 0 513 rt_sigprocmask
0.00 0.000000 0 5 5 ioctl
0.00 0.000000 0 711 writev
0.00 0.000000 0 20 pipe
0.00 0.000000 0 60 select
0.00 0.000000 0 2 shmget
0.00 0.000000 0 2 shmat
0.00 0.000000 0 2 shmctl
0.00 0.000000 0 1 dup
0.00 0.000000 0 8 socket
0.00 0.000000 0 8 2 connect
0.00 0.000000 0 2 getsockname
0.00 0.000000 0 2 getpeername
0.00 0.000000 0 1 execve
0.00 0.000000 0 1 1 kill
0.00 0.000000 0 12 uname
0.00 0.000000 0 264 fcntl
0.00 0.000000 0 1 fsync
0.00 0.000000 0 4 unlink
0.00 0.000000 0 7 readlink
0.00 0.000000 0 1 chmod
0.00 0.000000 0 1 getrlimit
0.00 0.000000 0 2 getrusage
0.00 0.000000 0 3 times
0.00 0.000000 0 3 getuid
0.00 0.000000 0 3 geteuid
0.00 0.000000 0 1 getresuid
0.00 0.000000 0 1 getresgid
0.00 0.000000 0 1 sched_getparam
0.00 0.000000 0 1 sched_getscheduler
0.00 0.000000 0 5 sched_get_priority_max
0.00 0.000000 0 4 sched_get_priority_min
0.00 0.000000 0 1 arch_prctl
0.00 0.000000 0 17 1 futex
0.00 0.000000 0 1 set_tid_address
0.00 0.000000 0 2 clock_getres
0.00 0.000000 0 5 5 inotify_add_watch
0.00 0.000000 0 1 set_robust_list
0.00 0.000000 0 1 pipe2
0.00 0.000000 0 1 inotify_init1
------ ----------- ----------- --------- --------- ----------------
100.00 0.401794 119795 1899 total
User avatar
anonbeat
Posts: 2048
Joined: Thu Sep 16, 2010 9:47 pm

1406: startup is very slow without disk cache

Post by anonbeat »

You have enabled the Jamendo view and prolly with lots of tracks added to it ?
Lem
Posts: 7
Joined: Sun Dec 19, 2010 11:25 am

1406: startup is very slow without disk cache

Post by Lem »

Yep.
Ehm... I had enabled 100% Jamendo, despite I do not even use it!

Solved! :)

Bye.
Locked