Bug 452927 - Konsole sometimes takes more than 1 second to start on hard disk
Summary: Konsole sometimes takes more than 1 second to start on hard disk
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-23 20:55 UTC by smit
Modified: 2022-04-25 15:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description smit 2022-04-23 20:55:07 UTC
SUMMARY
Same as title.

STEPS TO REPRODUCE
Execute konsole. Can't reproduce all the time but it happens like 4/10 times

OBSERVED RESULT
Sometimes, takes more than 1 or 2 seconds to show window

Compiled console with #define PROFILE_STARTUP and it gives 

Construction completed in 1533 ms
Startup complete in 1537 ms

EXPECTED RESULT
start under 300ms 

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.4-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 19.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION

On my XFS+HDD 4 out 10 tries, konsole takes ~1 second to load and 6 out 10 it takes around ~450ms.

On XFS+SSD it takes under 300ms always. Also tested on old PC who's HDD is slower than mine and its takes around 300ms there too. It looks like this problem is unique to XFS+HDD
Comment 1 smit 2022-04-24 04:25:58 UTC
Also other terminals like qterminal, alacritty and xfce4-terminal start under 300ms everytime on my XFS+HDD setup