You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, June 23rd 2003, 9:42pm

Graphics lib caching?

I'm using RH9 w/ an unmodified KDE 3.1. When I use GTK apps, they take forever to load the first time, but are noticeably faster the second time. Qt apps, however, take a very long time to launch, and they don't do any better the second time around. I'm willing to sacrifice some of my memory (128 MB, yes, more would be better but...) for caching the graphics, etc. Is there a way to do this? Any other performance tweaks that you like to use? I do have DMA enabled. Thanks!

2

Friday, June 27th 2003, 11:57pm

There are two reasons why apps start faster the second time:
1- after the first start Linux caches the libraries, so they load faster the next time they are requested
2 - shared libraries are being loaded into your memory, and stay there after the application is closed.

With kde and gnome apps (using another desktop environment), apps first need load the shared libraries.
This is why the load slower compared with when they are started under their own deksktop environment.

RH is Gnome centric, so i Guess that they make sure that the shared libraries of Gnome/gtk-apps stay in memory, even if the apps are closed.

Rinse
Help mee om KDE 3.5.5 in het Nederlands te vertalen

3

Sunday, June 29th 2003, 12:30am

Ok, that makes sense. Is there a way to configure the caching that takes place, so that Qt apps will perform better on subsequent launches? THX!

4

Sunday, June 29th 2003, 1:05am

For kde-apps, you can start kdeinit with Gnome, so that shared libraries etc. are loaded as wel.


Rinse
Help mee om KDE 3.5.5 in het Nederlands te vertalen

5

Sunday, June 29th 2003, 9:39pm

Sorry, I should have clarified this: I don't usually use Gnome (the window manager itself), just some GTK applications. I guess ultimately, I'd like my KDE applications to load faster on the second, and preferably the first launch, and it seems like I just need to adjust a caching setting somewhere. Ideas? Thx.

6

Sunday, June 29th 2003, 10:04pm

You mean kde-apps start slow under KDE?
Hmm, no you can't configure this.
Only thing you can do is recompile kde to make it faster under RH.

Rinse
Help mee om KDE 3.5.5 in het Nederlands te vertalen

7

Tuesday, July 1st 2003, 3:21am

If it makes a BIG difference, then maybe I'll give it a shot. 1) How do I do it, or 2)Where's a good tutorial? BTW, I have a dirt slow Internet connection, so I can't download the sources- just what's on the 3 RH Cd's. Appreciate the help.