Page 1 of 5 123 ... LastLast
Results 1 to 10 of 41

Thread: Digikam & xorg heavy cpu load

  1. #1
    Join Date
    Apr 2010
    Location
    i am location
    Posts
    1,421

    Default Digikam & xorg heavy cpu load

    Hello, i run right now digikam and rebuild my thumbnails. It seems like that this task takes a lot of cpu power and its not digikam itself, rather xorg takes the load.
    Is this right? I just wonder.

    Code:
    top - 17:37:14 up 11:35,  5 users,  load average: 0.77, 0.77, 0.79
    Tasks: 169 total,   3 running, 166 sleeping,   0 stopped,   0 zombie
    Cpu(s): 51.1%us,  2.0%sy,  0.0%ni, 46.8%id,  0.0%wa,  0.2%hi,  0.0%si,  0.0%st
    Mem:   4055392k total,  4008052k used,    47340k free,   255244k buffers
    Swap:  4193276k total,     1276k used,  4192000k free,  2311168k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                 
     7615 root      20   0  531m 414m  11m R   97 10.5  82:58.48 Xorg                                                                    
    14211 joerg     20   0 1275m 359m  59m S    3  9.1  17:56.03 digikam                                                                 
    15309 joerg     20   0  430m  35m  20m S    2  0.9   0:36.96 ksysguard                                                               
     7868 joerg     20   0  568m  72m  34m S    1  1.8  11:57.40 kwin                                                                    
     7923 joerg     20   0 91272  27m 7296 S    1  0.7   3:33.63 skype                                                                   
    16290 joerg     20   0  359m  31m  17m S    1  0.8   0:01.17 konsole                                                                 
    16500 joerg     20   0 61944  14m 8484 R    1  0.4   0:01.67 npviewer.bin                                                            
     7891 joerg     20   0  470m  30m  21m S    0  0.8   0:29.35 kopete                                                                  
     7895 joerg     20   0  644m 123m  23m S    0  3.1   0:21.46 akregator                                                               
    16532 joerg     20   0  8668 1140  788 R    0  0.0   0:00.19 top                                                                     
        1 root      20   0 12408  744  600 S    0  0.0   0:00.42 init                                                                    
        2 root      20   0     0    0    0 S    0  0.0   0:00.00 kthreadd                                                                
        3 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/0                                                             
        4 root      20   0     0    0    0 S    0  0.0   0:02.58 ksoftirqd/0                                                             
        5 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/0                                                              
        6 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/1                                                             
        7 root      20   0     0    0    0 S    0  0.0   0:00.54 ksoftirqd/1                                                             
        8 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/1                                                              
        9 root      20   0     0    0    0 S    0  0.0   0:00.57 events/0                                                                
       10 root      20   0     0    0    0 S    0  0.0   0:01.11 events/1                                                                
       11 root      20   0     0    0    0 S    0  0.0   0:00.00 netns                                                                   
       12 root      20   0     0    0    0 S    0  0.0   0:00.00 async/mgr                                                               
       13 root      20   0     0    0    0 S    0  0.0   0:00.00 pm                                                                      
       14 root      20   0     0    0    0 S    0  0.0   0:00.01 sync_supers                                                             
       15 root      20   0     0    0    0 S    0  0.0   0:00.02 bdi-default                                                             
       16 root      20   0     0    0    0 S    0  0.0   0:00.00 kintegrityd/0                                                           
       17 root      20   0     0    0    0 S    0  0.0   0:00.00 kintegrityd/1                                                           
       18 root      20   0     0    0    0 S    0  0.0   0:01.24 kblockd/0                                                               
       19 root      20   0     0    0    0 S    0  0.0   0:01.24 kblockd/1                                                               
       20 root      20   0     0    0    0 S    0  0.0   0:00.00 kacpid                                                                  
       21 root      20   0     0    0    0 S    0  0.0   0:00.00 kacpi_notify
    +++ ATH0

    . . . . . . . .
    LOGOFF COMPLETE

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Default Re: Digikam & xorg heavy cpu load

    yester64 says: Hello, i run right now digikam and rebuild my thumbnails. It seems like that this task takes a lot of cpu power and its not digikam itself, rather xorg takes the load.
    Is this right? I just wonder.
    As far as I know yester64, it would never be normal for Xorg to be using 97% of your CPU time. That is just crazy, but we need to know more about what you are doing. I see that digikam is a very distant second at 3%. I would ask a lot more about your computer hardware and software setup to be able to say more. What openSUSE version, 32/64 bit, KDE version, computer brand/model, memory total/free, hard disk size/free, video, sound and anything else that might be important. You know the drill cause you have seen it enough around here. Do you have this happen with anything else or is digikam the only cause?

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3
    Join Date
    Jun 2008
    Location
    UK
    Posts
    5,500

    Default Re: Digikam & xorg heavy cpu load

    Not only cpu power, but your 4GB of memory is almost all in use. That doesn't look good. Less than half of my 3GB is now being used with digikam, firefox, xorg loaded.

  4. #4
    Join Date
    Apr 2010
    Location
    i am location
    Posts
    1,421

    Default Re: Digikam & xorg heavy cpu load

    The weird thing is, that in the beginning it runs smooth but after 15 or 17% it gets sluggish. I did not do a whole scan, just a for the missing thumbnails.

    Here it goes.

    Code:
    linux-sf0t:/home/joerg # hwinfo --short
    cpu:                                                            
                           Intel(R) Core(TM)2 CPU         E8500  @ 3.16GHz, 3166 MHz
                           Intel(R) Core(TM)2 CPU         E8500  @ 3.16GHz, 3166 MHz
    keyboard:
      /dev/input/event0    Saitek PLC Saitek Eclipse II Keyboard
    mouse:
      /dev/input/mice      Logitech USB Receiver
    printer:
      /dev/usb/lp0         Brother HL-2040 series
    monitor:
                           Generic Monitor
    graphics card:
                           nVidia GeForce 8800 GT
    sound:
                           Intel 82801I (ICH9 Family) HD Audio Controller
    storage:
                           Intel 82801IB (ICH9) 2 port SATA IDE Controller
                           Intel 82801I (ICH9 Family) 2 port SATA IDE Controller
                           JMicron JMB368 IDE controller
    network:
      eth0                 Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller
    network interface:
      lo                   Loopback network interface
      eth0                 Ethernet network interface
      pan0                 Ethernet network interface
    disk:
      /dev/sdc             WDC WD1600AAJS-0
      /dev/sdb             WDC WD5000AAKS-0
      /dev/sda             WDC WD3200KS-00P
      /dev/sdd             Generic USB SD Reader
      /dev/sde             Generic USB CF Reader
      /dev/sdf             Generic USB SM Reader
      /dev/sdg             Generic USB MS Reader
    partition:
      /dev/sdc1            Partition
      /dev/sdb1            Partition
      /dev/sda1            Partition
      /dev/sda2            Partition
      /dev/sda3            Partition
      /dev/sda4            Partition
    cdrom:
      /dev/sr0             ASUS DRW-24B1ST
    usb controller:
                           Intel 82801I (ICH9 Family) USB UHCI Controller #4
                           Intel 82801I (ICH9 Family) USB UHCI Controller #5
                           Intel 82801I (ICH9 Family) USB UHCI Controller #6
                           Intel 82801I (ICH9 Family) USB2 EHCI Controller #2
                           Intel 82801I (ICH9 Family) USB UHCI Controller #1
                           Intel 82801I (ICH9 Family) USB UHCI Controller #2
                           Intel 82801I (ICH9 Family) USB UHCI Controller #3
                           Intel 82801I (ICH9 Family) USB2 EHCI Controller #1
    bios:
                           BIOS
    bridge:
                           Intel 82G33/G31/P35/P31 Express DRAM Controller
                           Intel 82G33/G31/P35/P31 Express PCI Express Root Port
                           Intel 82801I (ICH9 Family) PCI Express Port 1
                           Intel 82801I (ICH9 Family) PCI Express Port 4
                           Intel 82801I (ICH9 Family) PCI Express Port 5
                           Intel 82801 PCI Bridge
                           Intel 82801IB (ICH9) LPC Interface Controller
    hub:
                           Linux 2.6.34.7-0.4-desktop ehci_hcd EHCI Host Controller
                           Linux 2.6.34.7-0.4-desktop ehci_hcd EHCI Host Controller
                           Linux 2.6.34.7-0.4-desktop uhci_hcd UHCI Host Controller
                           Linux 2.6.34.7-0.4-desktop uhci_hcd UHCI Host Controller
                           Linux 2.6.34.7-0.4-desktop uhci_hcd UHCI Host Controller
                           Linux 2.6.34.7-0.4-desktop uhci_hcd UHCI Host Controller
                           Linux 2.6.34.7-0.4-desktop uhci_hcd UHCI Host Controller
                           Linux 2.6.34.7-0.4-desktop uhci_hcd UHCI Host Controller
    memory:
                           Main Memory
    bluetooth:
                           Cambridge Silicon Radio Bluetooth Dongle (HCI mode)
    unknown:
                           FPU
                           DMA controller
                           PIC
                           Timer
                           Keyboard controller
      /dev/lp0             Parallel controller
                           PS/2 Controller
                           Intel 82801I (ICH9 Family) SMBus Controller
      /dev/ttyS0           16550A
      /dev/input/event1    Saitek PLC Saitek Eclipse II Keyboard
                           Logitech USB Receiver
    Code:
    linux-sf0t:/home/joerg # hwinfo --gfxcard
    28: PCI 100.0: 0300 VGA compatible controller (VGA)             
      [Created at pci.318]
      Unique ID: VCu0.fvBA7Bx+oT8
      Parent ID: vSkL.aGagsEhnrb7
      SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
      SysFS BusID: 0000:01:00.0
      Hardware Class: graphics card
      Model: "nVidia GeForce 8800 GT"
      Vendor: pci 0x10de "nVidia Corporation"
      Device: pci 0x0611 "GeForce 8800 GT"
      SubVendor: pci 0x3842 "eVga.com. Corp."
      SubDevice: pci 0xc809 
      Revision: 0xa2
      Driver: "nvidia"
      Driver Modules: "nvidia"
      Memory Range: 0xf6000000-0xf6ffffff (rw,non-prefetchable)
      Memory Range: 0xe0000000-0xefffffff (ro,non-prefetchable)
      Memory Range: 0xf4000000-0xf5ffffff (rw,non-prefetchable)
      I/O Ports: 0xb000-0xbfff (rw)
      Memory Range: 0xf7000000-0xf701ffff (ro,non-prefetchable,disabled)
      IRQ: 16 (1544013 events)
      I/O Ports: 0x3c0-0x3df (rw)
      Module Alias: "pci:v000010DEd00000611sv00003842sd0000C809bc03sc00i00"
      Driver Info #0:
        XFree86 v4 Server Module: nvidia
      Driver Info #1:
        XFree86 v4 Server Module: nvidia
        3D Support: yes
      Config Status: cfg=new, avail=yes, need=no, active=unknown
      Attached to: #10 (PCI bridge)
    +++ ATH0

    . . . . . . . .
    LOGOFF COMPLETE

  5. #5
    Join Date
    Apr 2010
    Location
    i am location
    Posts
    1,421

    Default Re: Digikam & xorg heavy cpu load

    Can it be that i have a bottleneck somewhere? If i check with KDE's info it showed xorg with around 50%. It looked like that there was something filling up (database?) and then it went slow to slow... very strange.
    Now i know that i have a lot of images that are scanned, but should that matter?
    +++ ATH0

    . . . . . . . .
    LOGOFF COMPLETE

  6. #6
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Digikam & xorg heavy cpu load

    So you did not post any details about your software setup there yester64, but after further review of your original post, it looks like you are running out of memory.

    Code:
    Mem:   4055392k total,  4008052k used,    47340k free,   255244k buffers
    Swap:  4193276k total,     1276k used,  4192000k free,  2311168k cached
    So, before you even run Digikam do you know if you might have loaded Tracker (Seach for tracker using YaST / Software Management) OR if you are using KDE's Nepomuk by chance? Either program can potentially use up all of your memory, depending on how they are configured.

    So, if you are running low on memory, then add one more disk intensive action like scanning for pictures and perhaps the wheels fall off of openSUSE & KDE?

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  7. #7
    Join Date
    Apr 2010
    Location
    i am location
    Posts
    1,421

    Default Re: Digikam & xorg heavy cpu load

    Quote Originally Posted by jdmcdaniel3 View Post
    So you did not post any details about your software setup there yester64, but after further review of your original post, it looks like you are running out of memory.

    Code:
    Mem:   4055392k total,  4008052k used,    47340k free,   255244k buffers
    Swap:  4193276k total,     1276k used,  4192000k free,  2311168k cached
    So, before you even run Digikam do you know if you might have loaded Tracker (Seach for tracker using YaST / Software Management) OR if you are using KDE's Nepomuk by chance? Either program can potentially use up all of your memory, depending on how they are configured.

    So, if you are running low on memory, then add one more disk intensive action like scanning for pictures and perhaps the wheels fall off of openSUSE & KDE?

    Thank You,
    Not installed. Looks like its for database.
    +++ ATH0

    . . . . . . . .
    LOGOFF COMPLETE

  8. #8
    Join Date
    Jun 2008
    Location
    UK
    Posts
    5,500

    Default Re: Digikam & xorg heavy cpu load

    Quote Originally Posted by jdmcdaniel3 View Post
    So you did not post any details about your software setup there yester64, but after further review of your original post, it looks like you are running out of memory.
    Did you not read my post? Of course he is running out of memory. No need for "further review". That's just repitition!

    It could be a memory leak. Hence the buildup: "The weird thing is, that in the beginning it runs smooth but after 15 or 17% it gets sluggish."

  9. #9
    Join Date
    Jun 2008
    Location
    UK
    Posts
    5,500

    Default Re: Digikam & xorg heavy cpu load

    @yester64

    Clue: What happens to memory before you start digikam, and what happens to it before you start your thumbnail rebuild?

  10. #10
    Join Date
    Apr 2010
    Location
    i am location
    Posts
    1,421

    Default Re: Digikam & xorg heavy cpu load

    Its getting late for me, but i will post tomorrow the stats to before and during digikam. Maybe that will give a clue then.
    +++ ATH0

    . . . . . . . .
    LOGOFF COMPLETE

Page 1 of 5 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •