LINUX.ORG.RU

Сообщения dinn

 

[kde][plasma] что случилось с Aaronом?

Форум — Talks

++performance

Plasma uses a lot of files from disk, particularly when using QML and scripted Plasmoids, but also whenever something requests an image from the theme. The Package class is responsible for the former functionality and the Theme class for the latter. We already cache the results of the Theme rendering, but not the results of looking around on disk for the requested image. There is essentially no caching at all for Package: every request for a file sends it looking on disk for it.

The impact of this is relatively low thanks to caching by the operating system, but it isn't negligable. When we start thinking of smaller devices it becomes even less negligable. So while working on libplasma2 I decided something needed to be done.

This past week I started a refactoring of the Package classes so that less memory was used, both by using a smaller data structure on devices and by using an implicitly shared pointer for the private data (which improves things on all targets, including the desktop). PackageStructure went from being a data bearing class to a mutator of Package, which allows them to be properly shared between Package objects. I then added a lookup cache to Package.

The result was that the copy test (100k copies and deletions) went from ~2700ms to ~37ms, while 100k copies, file lookups and deletions went from ~3900ms to ~40ms. All while the memory footprint shrunk. Unfortunately, this isn't really backportable to libplasma1 as the changes that were required to achieve this were significant. These changes were on top of previous changes made in the refactoring of Package and PackageStructure which drew the data «closer» to Package and cut out a lot of collection creation and copying. So reasonably good wins there.

Theme also got a lookup cache, and the good news is that this is backportable and has, in fact, been cherry picked into both the 4.7 and master (will be 4.8) branches. There the results were striking as well: 100k lookups of 3 different files in the theme dropped from a little over 6 seconds to ~1/4th of a second. That's an order of magnitude improvement. Unlike with Package, overall this will end up taking a little more memory, but we're talking about a few kilobytes at most which isn't particularly significant compared to the time savings. Since Theme is used heavily and the same SVGs are asked for over and over again during a Plasma applications execution, this should have some very nice impacts at runtime.

http://aseigo.blogspot.com/2011/07/performance.html

 ,

dinn
()

KDEPIM 4.6.0

Новости — KDE
Группа KDE

Завершён затянувшийся переход KDEPIM на новую архитектуру, использующую Akonadi. Это позволит организовать централизованную синхронизацию и кеширование персональных данных, таких как список контактов, календарь-планировщик, почтовые сообщения для облегчения работы с этими данными из разных KDE-приложений. В связи со столь масштабными изменениями была пропущена версия 4.5, а версия 4.6.0 была выпущена отдельно от остальных программ, входящих в состав KDE SC 4.6.

Совместно с KDEPIM 4.6.0 рекомендуется использовать последние версии программ Akonadi и Soprano, а также библиотек kdelibs4.6 и kdepimlibs4.6.

Исходный код

>>> Анонс

 ,

dinn
()

Уже почти свершилось: KDEPIM 4.6 RC

Форум — Talks

Allen Winter

Howdy,

I'm happy to announce that KDEPIM 4.6 has now entered into the Release Candidate stage.

Soon you will find tarballs on ktown in ftp://ktown.kde.org/pub/kde/unstable/kdepim/4.5.96

sha1sums f425f143fe3381be2bb018bab92d89fd112595f0 kdepim-4.5.96.tar.bz2 fd1cf58d5b62c647a7920dfc1d79126843750b1e kdepim-runtime-4.5.96.tar.bz2

Translations are included as with all the previous KDEPIM 4.6 beta tarballs.

Please test these and let me know if they build ok for you.

Our goal is to release KDEPIM 4.6.0 final with the next KDE SC 4.6.4 bugfix release. For best results, please use with the most recent releases of Akonadi, Soprano, kdelibs and kdepimlibs

Предлагаю всем протестировать, отписаться на bugs.kde.org и отсрочить релиз до KDE 4.7.

dinn
()

свой pastebin

Форум — Talks

Ищу дистрибутив pastebin'а. Требования:

- php + mysql

- приятный внешний вид

- отсутствие лишних функций (интеграции с соцсетями, твиттерами и прочего)

Предложения написания своего велосипеда не рассматриваются.

dinn
()

fancontrol и 4-х ядерный процессор ☑️

Форум — General

Собственно, есть 4-х ядерный процессор и хочется настроить, чтобы частота вращения вентилятора зависела от температуры ядер процессора. Только вот вентилятор один, а ядер 4 и температурных датчиков 4. Как настроить, чтобы бралось максимальное значение температуры и в зависимости от него выставлялась частота.

dinn
()

openSUSE 11.4 уже доступен

Форум — Talks

http://mirror.isoc.org.il/pub/opensuse/distribution/11.4/iso/

С зеркала качается медленно, да и полных DVD нет, поэтому пользуемся торрентами.

openSUSE-11.4-DVD-x86_64.iso

openSUSE-11.4-DVD-i586.iso

dinn
()

RSS подписка на новые темы