On Sat, Jul 5, 2014 at 10:40 AM, Alexis López Zubieta <azubi...@estudiantes.uci.cu> wrote: > Hello: > I have experienced the same issue when PCmanFm was integrated to the > "core" of MoonLight. I'm not a senior programer but by my little > experience when an application that doesn't perform any complex > calculation takes to long to start up or response it is due I/O > operations or any other locks, not due the programing language. > > I recommend to review the pcmanfm code before take any decision.
I did profiling for it previously. All of the I/O operations in pcmanfm-qt are done in libfm, which is the same library used by pcmanfm-gtk. I did not do other significant I/O operations in the Qt version. Besides, we have been trying to optimized the I/O part for libfm in the past years. So there is nothing we can reduce the I/O more at the moment. Actually the startup of pcmanfm-qt is fast, compared to other similar Qt-based programs. It's desktop icon support loads slowly because loading and decoding the wallpaper takes some time. I did some optimization for this part and now it's faster. In my own simple benchmarks, lxqt-panel actually takes more time than pcmanfm-qt to load. During profiling, however, I'm not able to find any single hot spot that can be optimized easily. The profiler showed that much of the time is used in XdgDesktopFileCache handling, but that's probably necessary. I have to do more profiling and experiments. However, the benefit of the loadable module approach is clear. 1. Icon pixmap cache can be shared among all of the major components. (this reduced both I/O and memory usage) 2. in-memory desktop file cache can be shared 3. minimized library relocations (C++ libraries requires much more relocations than C libraries) 4. the data section of the shared libraries can be shared, reducing total memory usage. Maybe I have to do some real experiments first to see how effective this approach is. I think we only need to merge pcmanfm-qt desktop, lxqt-panel, and lxqt-runner. The other daemons can be left in place ATM. Later if I have time, I'd like to do some real experiments in some branches and report the results so we can do further discussions. Cheers! > Best > Alexis López Zubieta > Nova Light Development Team > University of Informatics Sciences ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Lxde-list mailing list Lxde-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxde-list