roguesJó tudni megoldásokat. ;)
A vm.swappines=1-re állítása inkább VirtualBoxnál érdekes (afelé olvastam erről), mert nálam például mindig a RAM-ot használja a rendszer, tehát felesleges az "add this line ..." utasítás, a 2. pont.
Grafikus alkalmazásokat nem sudo-val, hanem kizárólag gksu-al (KDE-en: kdesu-val) indítunk (!) különben naon fura dolgok történhetnek a rendszerrel (IceAuthority). :O
Én az fstab-ot békében szoktam hagyni. :)
Tehát helyesen:
Speed up Firefox by moving cache into RAM in Ubuntu
This post was written by admin on December 9, 2009
Posted Under: Mozilla Firefox
By default Firefox puts its cache in your home partition.You can speed up Firefox and reduce disk writes by moving this cache into RAM if you have 1GB RAM or more.
1.Edit /etc/fstab,open terminal from Applications->Accessories menu and type:
gksu gedit /etc/fstab (vagy Alt+F2 és oda a szöveg)
Add following into this file and close it.
tmpfs /tmp tmpfs noexec,defaults,noatime 0 0
tmpfs /var/tmp tmpfs noexec,defaults,noatime 0 0
2.Edit /etc/sysctl.conf:
gksu gedit /etc/sysctl.conf (vagy Alt+F2 és oda a szöveg)
add this line and save it: (általában felesleges ténykedés)
vm.swappiness=1
3. (ez lényegében egyezik Kálmánbátyám leírásával)
Type about:config in firefox address bar and click I'll be careful,I promise!.Right click on blank area and create a new string value called browser.cache.disk.parent_directory,set its value to /tmp
Now,reboot your system and experience the performance.
Original text: HOWTO : Ubuntu 9.04 Desktop on Solid State Disk (SSD)
súgom: ... egyébként 2009-ben itt a fórumon is vígan sudo-ztak a zemberek. ;) (de nem szabad)