Hi,
As promised, I started some work on benchmarks.
The first issue is slow startup of lxqt.
Previously I tried to develop my own tool until I realize that bootchart
actully does this perfectly well.
So, I add this command to the beginning of /usr/bin/startlxqt.

/usr/lib/systemd/systemd-bootchart --rel --pss --scale-x=200 --scale-y=40
-freq=10 --samples=200 --output=$HOME &

Then just before launching lxqt-session, systemd-bootchart is executed in
the background.
About 1 minute later, there will be a bootchar-*.svg output file in your
home dir. My results are here.

https://drive.google.com/file/d/0B4BhmC8V2mivSVkxMjJfWXRsSVg4eUFEQVZlbW1sdWxabV9V/view?usp=sharing

Surprisingly, the program using most CPU during startup is lxqt-runner.
Peter and Kuzma, do you know what are the potential causes? Some more
profiling for lxqt-runner is needed IMO.
The second is lxqt-panel, which is expected. So we probably need to spend
some time looking into lxqt-runner to see what the problem is. Valgrind &
callgriind can help, I think.
The program that have largest PSS (memory) is pcmanfm-qt, which is
reasonable since the file manager is quite complicated and most parts are
not shared with other processes.
I tried to set the background color of the desktop to a solid color without
using a wallpaper.
Then I got another bootchart for comparison. The memory usage of pcmanfm-qt
decreased siginificantly without the wallpaper.

https://drive.google.com/file/d/0B4BhmC8V2mivWHp4UHh2UlVvX3lyRlhJckVSWHNYWmtGT040/view?usp=sharing

During startup, we also do a lot of I/O. I'll do more profiling to see if
there are still rooms for speed up.

Cheers!
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to