Bug 461765

Summary: Search is rather slow with a hard drive
Product: [Plasma] krunner Reporter: Ilias Tsolis <elias_0000_0000>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: alexander.lohnau, nate
Priority: NOR    
Version First Reported In: 5.21.4   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ilias Tsolis 2022-11-13 11:26:18 UTC
SUMMARY
***
Seacrh in application menu is very slow in a very decent machine.
***



STEPS TO REPRODUCE
1. search in my machine in application menu, slow.
2. 
3. 

OBSERVED RESULT
1) Slow search in application menu
2) Many times the bar at bottom is unresponsive. 
3)  Due to slowness, it is hard to document such behaviour.
4) Maybe i must take a video with my mobile next time. 

EXPECTED RESULT
The search in application menu must be almost instant in a such good machine. 

SOFTWARE/OS VERSIONS
     _,met$$$$$gg.           elias@eliasc
      ,g$$$$$$$$$$$$$$$P.        OS: Debian 11 bullseye
    ,g$$P""       """Y$$.".      Kernel: x86_64 Linux 5.11.0-18-generic
   ,$$P'              `$$$.      Uptime: 20d 20h 40m
  ',$$P       ,ggs.     `$$b:    Packages: 6436
  `d$$'     ,$P"'   .    $$$     Shell: bash
   $$P      d$'     ,    $$P     Resolution: 1920x1080
   $$:      $$.   -    ,d$$'     DE: KDE 5.80.0 / Plasma 5.21.4
   $$\;      Y$b._   _,d$P'      WM: KWin
   Y$$.    `.`"Y$$$$P"'          GTK Theme: Breeze [GTK2], Adwaita [GTK3]
   `$$b      "-.__               Icon Theme: breeze
    `Y$$                         Disk: 20T / 26T (83%)
     `Y$$.                       CPU: Intel Core i5-4570S @ 4x 3.6GHz [45.0°C]
       `$$b.                     GPU: NV138
         `Y$$b.                  RAM: 5975MiB / 15961MiB
            `"Y$b._             
                `""""           
Qt: 5.15.2
KDE Frameworks: 5.80.0
kf5-config: 1.0



ADDITIONAL INFORMATION

See my video for slowness (in ogv format) https://ufile.io/37y51qya
This is almost the quickest time in my machine for search results in application menu.
Other times is much much worse. 

Here, in a very recent post for another topic, they suggested that plasma shell is leaking. 
https://unix.stackexchange.com/questions/723999/in-linux-system-is-slowed-very-much-and-cpu-100-when-i-copy-from-non-system-b
Comment 1 Nate Graham 2022-11-14 21:32:38 UTC
What is your storage hardware? Hard drive or SSD?
Comment 2 Ilias Tsolis 2022-11-14 23:05:32 UTC
hard drive (passport western digital)
Comment 3 Nate Graham 2022-11-14 23:49:22 UTC
Well that's almost certainly it. KDE software is known to be somewhat poorly optimized for hard drives in general, and almost everyone uses an SSD as their boot disk these days, so not a lot of people are looking at hard-drive-specific optimizations anymore.
Comment 4 Ilias Tsolis 2022-11-15 15:27:26 UTC
Not most people have SSDs yet. They are expensive and do not have great capacity. so, i dont think this is a reason not to optimize such software.