After ages finally a new blog entry… and still no comments possible. Sorry guys, I suck, but vi is the easiest blogging tool to set up.
Whatever, this post is a reply to Aaron Seigo’s last posting (I first started to write it as a comment on his blog but blogger.com’s comment functionality sucks and I missed my vi). Under the title “konsole vs xterm, or proof that KDE is not bloated” he writes:
[...] I explained to [somebody who complained about konsole's assumed bloatedness] that since konsole allows multiple tabs one avoids the overhead of multiple instances of the same app when running multiple sessions; having an equal number of xterms would be “heavier” for some value of N sessions. [...]
Yeah Aaron, for the usage case you quoted, Konsole might be indeed less a hog than xterm et al. And I actually always have some Konsole with a bunch of tabs open somewhere.
But I also have the habit to open up “one shot” shells for commands I just quickly hack in; like looking up man pages (the startup time of kio_help is even worse than Konsole) or some shell commands to try out. Those I normally open via minicli or a (better: the only) symbol I have in my Kicker. Much quicker than locating first the collected shells, change focus and open up a new tab.
Multiple konsole windows also have the advantage that you can spread them over several desktops.
So in those cases the footprints of all the Konsoles probably add up, at least for the short time they run. But that’s not so bad, I have enough memory in my box.
What’s worse is the startup time for a single new konsole instance; just compare the numbers:
mss@otherland ~ $ time xterm -e bash -c exit
real 0m0.363s
user 0m0.032s
sys 0m0.018s
mss@otherland ~ $ time konsole -e bash -c exit
real 0m2.148s
user 0m0.872s
sys 0m0.153s
I must admit that all my KDE is compiled with full debug enabled which makes it a bit sluggish sometimes, but comparable numbers to the above I get on the boxes at my university’s labs which run a standard SuSE install. So guys, please get down those frickin startup times KDE apps generally show. (Or maybe I should try prelink one day?)
But you know what? I use Konsole instead of xterm anyway — for the features it offers I have no problem waiting a few jiffies for a new shell. And these times are already much too hectic anyway…
Recent Comments