You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
konsole is slow to start, stats too many icons #67691
This could be from XDG_DATA_DIRS or XCURSOR_PATH values? Maybe try messing with those to see if it changes things. My values on KDE are smaller though:
Setting it to "" shaves off 250ms on my fast computer:
# time /run/current-system/sw/bin/konsole -e 'zsh -is eval exit'
/run/current-system/sw/bin/konsole -e 'zsh -is eval exit' 0.34s user 0.30s system 97% cpu 0.663 total
# time /run/current-system/sw/bin/konsole -e 'zsh -is eval exit'
/run/current-system/sw/bin/konsole -e 'zsh -is eval exit' 0.32s user 0.32s system 97% cpu 0.653 total
# time XDG_DATA_DIRS="" /run/current-system/sw/bin/konsole -e 'zsh -is eval exit'
XDG_DATA_DIRS="" /run/current-system/sw/bin/konsole -e 'zsh -is eval exit' 0.30s user 0.08s system 95% cpu 0.396 total
# time XDG_DATA_DIRS="" /run/current-system/sw/bin/konsole -e 'zsh -is eval exit'
XDG_DATA_DIRS="" /run/current-system/sw/bin/konsole -e 'zsh -is eval exit' 0.32s user 0.08s system 97% cpu 0.408 total
and 500-1000ms on my slower computer:
# time /run/current-system/sw/bin/konsole -e 'zsh -is eval exit'
/run/current-system/sw/bin/konsole -e 'zsh -is eval exit' 0.84s user 0.78s system 89% cpu 1.811 total
# time /run/current-system/sw/bin/konsole -e 'zsh -is eval exit'
/run/current-system/sw/bin/konsole -e 'zsh -is eval exit' 0.87s user 0.92s system 76% cpu 2.332 total
# time /run/current-system/sw/bin/konsole -e 'zsh -is eval exit'
/run/current-system/sw/bin/konsole -e 'zsh -is eval exit' 0.74s user 0.66s system 86% cpu 1.620 total
# time /run/current-system/sw/bin/konsole -e 'zsh -is eval exit'
/run/current-system/sw/bin/konsole -e 'zsh -is eval exit' 0.63s user 0.60s system 99% cpu 1.227 total
# time /run/current-system/sw/bin/konsole -e 'zsh -is eval exit'
/run/current-system/sw/bin/konsole -e 'zsh -is eval exit' 0.63s user 0.60s system 98% cpu 1.254 total
# time /run/current-system/sw/bin/konsole -e 'zsh -is eval exit'
/run/current-system/sw/bin/konsole -e 'zsh -is eval exit' 0.76s user 0.74s system 78% cpu 1.923 total
# time XDG_DATA_DIRS="" /run/current-system/sw/bin/konsole -e 'zsh -is eval exit'
XDG_DATA_DIRS="" /run/current-system/sw/bin/konsole -e 'zsh -is eval exit' 0.57s user 0.14s system 100% cpu 0.718 total
# time XDG_DATA_DIRS="" /run/current-system/sw/bin/konsole -e 'zsh -is eval exit'
XDG_DATA_DIRS="" /run/current-system/sw/bin/konsole -e 'zsh -is eval exit' 0.58s user 0.17s system 100% cpu 0.737 total
# time XDG_DATA_DIRS="" /run/current-system/sw/bin/konsole -e 'zsh -is eval exit'
XDG_DATA_DIRS="" /run/current-system/sw/bin/konsole -e 'zsh -is eval exit' 0.64s user 0.15s system 95% cpu 0.823 total
# time XDG_DATA_DIRS="" /run/current-system/sw/bin/konsole -e 'zsh -is eval exit'
XDG_DATA_DIRS="" /run/current-system/sw/bin/konsole -e 'zsh -is eval exit' 0.57s user 0.14s system 98% cpu 0.720 total
# time XDG_DATA_DIRS="" /run/current-system/sw/bin/konsole -e 'zsh -is eval exit'
XDG_DATA_DIRS="" /run/current-system/sw/bin/konsole -e 'zsh -is eval exit' 0.56s user 0.17s system 98% cpu 0.737 total
Activity
matthewbauer commentedon Aug 29, 2019
This could be from XDG_DATA_DIRS or XCURSOR_PATH values? Maybe try messing with those to see if it changes things. My values on KDE are smaller though:
ivan commentedon Aug 29, 2019
my XCURSOR_PATH looks small and reasonable, but XDG_DATA_DIRS is large:
Setting it to
""shaves off 250ms on my fast computer:and 500-1000ms on my slower computer:
matthewbauer commentedon Aug 29, 2019
I suspect this is fallout from #54525.
ttuegel commentedon Aug 31, 2019
I notice two separate bugs:
XDG_DATA_DIRS.XDG_DATA_DIRSare redundant; there should not be XDG data in both the$outand$binoutput, yet we are searching both.ambrop72 commentedon Sep 9, 2019
I think what we need is the capability in
makeWrapperand similar to add to a list-type variable only if the value is not already inside.lheckemann commentedon Oct 5, 2019
I believe this is fixed by #69426/#69427. Feel free to reopen or let me know if I'm mistaken.
ivan commentedon Nov 8, 2019
I cannot reopen, but this is not fixed in xfce4 on release-19.09 (I cannot test master right now, sorry):
ivan commentedon Nov 8, 2019
Oh, I see the problem, I was using konsole to start another konsole, and
XDG_DATA_DIRSbecomes longer each time.I am now using this workaround in
~/.zshrcto remove duplicate entries and keep konsole down to 31533 stats for icon files:nixos-discourse commentedon Mar 14, 2025
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/why-nixos-has-consistently-worse-cpu-performance-compared-to-ubuntu/61677/9