Bug 349096 - High I/O load in baloo_file_extractor freezes plasma
Summary: High I/O load in baloo_file_extractor freezes plasma
Status: RESOLVED FIXED
Alias: None
Product: Baloo
Classification: Frameworks and Libraries
Component: General (show other bugs)
Version: 5.9.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Vishesh Handa
URL: https://forum.kde.org/viewtopic.php?f...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-13 12:09 UTC by Dhiraj Kumar Hazra
Modified: 2016-04-22 17:20 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.13


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dhiraj Kumar Hazra 2015-06-13 12:09:47 UTC
While in AC power, if I copy a number of files in my laptop from another device, after few minutes the laptop nearly hangs and have to wait for a long time for it to become normal. 

When I close baloo in the meantime then the laptop comes back to normal again.  I do not see this problem when the laptop is running on battery power (guess baloo was not indexing in battery power). 

A detailed discussion can be found here :

https://forum.kde.org/viewtopic.php?f=67&t=126746

Latest top and iotop results :

http://s000.tinyupload.com/index.php?file_id=14815722271601814644

http://s000.tinyupload.com/index.php?file_id=59097666719662160074 


Reproducible: Always

Steps to Reproduce:
1. Copy about 100-300 mb data files from external source
2. Wait for few minutes in AC power 
3. Plasma freezes
4. Killing baloo makes plasma normal again




Software and system versions :

plasma-workspace-5.3.1-2.fc22.x86_64
kf5-frameworkintegration-5.10.0-1.fc22.x86_64
kernel-4.0.4-301.fc22.x86_64

lspci -k 

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
        Subsystem: Hewlett-Packard Company Device 1967
        Kernel modules: ie31200_edac
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:01.1 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x8 Controller (rev 06)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
        Subsystem: Hewlett-Packard Company Device 1967
        Kernel driver in use: i915
        Kernel modules: i915
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
        Subsystem: Hewlett-Packard Company Device 1967
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
        Subsystem: Hewlett-Packard Company Device 1967
        Kernel driver in use: xhci_hcd
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
        Subsystem: Hewlett-Packard Company Device 1967
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
        Subsystem: Hewlett-Packard Company Device 1967
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.6 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #7 (rev d5)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
        Subsystem: Hewlett-Packard Company Device 1967
        Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller (rev 05)
        Subsystem: Hewlett-Packard Company Device 1967
        Kernel driver in use: lpc_ich
        Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
        Subsystem: Hewlett-Packard Company Device 1967
        Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
        Subsystem: Hewlett-Packard Company Device 1967
        Kernel modules: i2c_i801
07:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
        Subsystem: Hewlett-Packard Company Device 21a0
        Kernel modules: nouveau
08:00.0 Network controller: Broadcom Corporation BCM4352 802.11ac Wireless Network Adapter (rev 03)
        DeviceName:  
        Subsystem: Hewlett-Packard Company Device 2154
        Kernel driver in use: wl
        Kernel modules: wl
0a:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)
        Subsystem: Hewlett-Packard Company Device 1967
        Kernel driver in use: rtsx_pci
        Kernel modules: rtsx_pci
10:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
        DeviceName: Hanksville Gbe Lan Connection
        Subsystem: Hewlett-Packard Company Device 1967
        Kernel driver in use: r8169
        Kernel modules: r8169
Comment 1 Vishesh Handa 2015-06-13 17:11:05 UTC
What kind of files were these 200-300 mb of files?
Comment 2 Dhiraj Kumar Hazra 2015-06-13 17:46:55 UTC
(In reply to Vishesh Handa from comment #1)
> What kind of files were these 200-300 mb of files?

Text files (mainly codes, compiled .mod .o files)
Comment 3 Vishesh Handa 2015-10-05 09:57:16 UTC
We consume a lot less disk IO now.
Comment 4 Siddharth 2016-04-22 17:20:44 UTC
After installing kubuntu-desktop on my Ubuntu 15.10 installation, I updated to 16.04 today. I noticed a lot of lag in KDE especially when clicking to open new windows. Tried killing the baloo process and then system was back to normal. Is this related to this bug?