You are not logged in.
Hello there!
Recently I bought 4GB of ram for my notebook. My idea is preloading some applications like a kde, firefox, qt and gtk libs and binaries for a better performance.
I tried to copy files from hd to ram using tmpfs and creating symbolic links from HD locations to ram location, but I think that has not improved anything
I installed the preload from AUR, but it seems that not effect too...
Any ideas ?
p.s: sorry for my bad english.
ArchLinux Brasil - http://archlinux-br.org
Offline
You can try 'readahead', I guess it does what you want, but only while cold booting your notebook.
Offline
Perhaps a cachedir of your desired packages placed in flash drive can be preloaded into ram.
The cachedir in flash could be loaded from pacman as follows;
..... pacman --cachedir /media/disk/cache -Sw (package name(s)......
Then the install of such packages is done as follows;
........pacman -Udf (paste package(s))...................
This produces a reasonably fast install.
I leave the ram part of the problem to your liking......
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
@freakcode
The preload script does a readahead, but isn't effective how I expected. I tried to use a "prelink" scripts. It's worked well, but now, it's crashes while prelinking libs/binaries
I'm using a XFS filesystem now! I'm already searching more performance
@lilsirecho
hmm... I'll try this! If I got something new, I replay here
A 64bits O.S can boost performance, right ?
Thanks guys!
ArchLinux Brasil - http://archlinux-br.org
Offline
I ran a test of a full KDE download into cachedir .
Then used
pacman -Udf /media/disk/Cache/*.pkg.tar.gz
to install the entire 225MB of KDE.
It took 95 seconds to install.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
lilsirecho: He's not talking about package installation, but application startup.
1000
Offline
you could also try preload
its in aur...
runs on my system, even though i am not sure if it improved anything...
Offline
@xdeusx
Yeap! I'm using it, but I think it not improved anything in my system...
See the /var/log/preload.log file:
[Mon Dec 31 08:27:28 2007] 2923285kb available for preloading, using 43380kb of it
[Mon Dec 31 08:27:28 2007] readaheading 313 files
I'm giving ~2.9GB of ram for it, but it uses only ~43MB as ram cache
And here, my free -m output
[root@Selene hlegius]# free -m
total used free shared buffers cached
Mem: 3537 839 2697 0 0 573
-/+ buffers/cache: 265 3272
Swap: 0 0 0
Yes! I'm using the Arch i686 I'll install the x86_64 today for wins more 500MB of ram which I'm losing with the i686
ArchLinux Brasil - http://archlinux-br.org
Offline
My idea is preloading some applications like a kde, firefox, qt and gtk libs and binaries for a better performance.
It seems to me if QT (3 and/or 4) and GTK2 were loaded into memory at boot, that almost everything else that you're asking about would fall into place. Maybe there's a good way to do this?
Offline
It seems to me if QT (3 and/or 4) and GTK2 were loaded into memory at boot, that almost everything else that you're asking about would fall into place. Maybe there's a good way to do this?
Are you suggest to load on ram only qt3 and gtk2 libraries and binaries ?
Finally, preload app gets more ram
[Tue Jan 1 11:50:06 2008] 3541229kb available for preloading, using 207172kb of it
[Tue Jan 1 11:50:06 2008] readaheading 291 files
Now, I'm using Arch64 with Reiserfs and JFS as filesystem and performance boosts a little
ArchLinux Brasil - http://archlinux-br.org
Offline
Are you suggest to load on ram only qt3 and gtk2 libraries and binaries ?
It's something I was thinking about anyway. I'm not sure how to do such a thing though. I do know that starting QT and GTK for the first time is the only place where I still have bottlenecks on my system. Although, it's really not a big deal to me.
Offline
A good test might to try out Faunos and run it from Ram
Been reading about software raid but it went waaay over my head
Mr Green
Offline