Speed up your Linux Boot and normal use ( openSUSE )

In a world where faster (in most sense) is better, people are always looking for ways to increase the efficency of their computers. While i’ve read other peoples thoughts and recommendations regarding speeding up your linux installation, many I just clearly do not agree with. Here are things I have done, and things I could/would have done if I was on less adept hardware:First: I want to get out that clearing the terminals launch at boot via /etc/inittab will not help as much as many guides try to say. This uses just a very minute amount of RAM, and you’ll rarely see a difference. However if you do feel you want to chage this, you can disable (comment out) the following lines in /etc/inittab:

3:2345:respawn:/sbin/mingetty tty34:2345:respawn:/sbin/mingetty tty45:2345:respawn:/sbin/mingetty tty56:2345:respawn:/sbin/mingetty tty6

I recommend not removing any more then those. Again, this will give you minute gains in RAM usage. Second: A great practice on any operating system (Microsoft and Linux alike) is to disable un-needed processes. This can be done quite easilly via YaST. To do this open YaST, click on System and click on System Services (Runlevel) see Figure 1. (note if you do not see this run the following to install it:)

sudo zypper in yast2-runlevel

YaST RunlevelFigure 1Things I have disabled are: joystick (I do not run any joystick etc)nfs (I don’t attach to any NFS mount points)ntp (I don’t care to attach to any NTP source)(Note: I won’t tell you which ones TO disable as it is up to you to determine WHICH services are not needed, be sure you know what you are doing here. Note: In Ubuntu the application that will do this for you is sysv-rc-conf. You can install it via:

sudo aptitude install sysv-rc-conf

Third: Is a great and simple way to increase the effectiveness of the RAM on your machine. This modification will allow more of your process to be stored into memory and not be sent to your swap (RAM is faster then Disk). Note: This modification is for the machines with quite a bit of extra RAM to hand out and not for systems that lack usable RAM. First you can check what your current swappiness level is (the higher the swappiness setting, the more often it will write to your swap (again which is located on disk). You can do this by running:

cat /proc/sys/vm/swappiness

I believe openSUSE ships by default at 60, but most distributions ship with swappiness set to 50 – 60. Now to test this setting before making it permenant. You can run:

sudo sysctl vm.swappiness=0

If you feel the performance gains, are good, or you just feel like setting it permenantly you must modify /etc/sysctl.conf. To do this edit the file in your favorite editor:

gnomesu gedit /etc/sysctl.confkdesu kwrite /etc/sysctl.confsudo vi /etc/sysctl.conf

Add the following line to the end of /etc/sysctl.conf:

vm.swappiness = 5

(Note: You can choose your value, the lower the value the less swapping that will take place). Fourth: Disable IPv6 if you will not be using it. I won’t go too far into this, you can do this in YaST –> Network Devices –> Network Settings. Fifth: Tune your applications. OpenOffice.org Will allow you to change it’s memory consumption. You can do this by opening any OpenOffice.org application, then going to Tools –> Options –> OpenOffice.org –>> Memory. You can play around with this setting for your need, but changing the number of graphics in cache, and increasing the amount per object may be quite useful. Compiz Most people consider this to be a great “eye candy tool”. I honestly consider it a functionality and productivity tool and use it for this function day by day. If you NEED to run it, make sure you trim what plugins load, and just slim it down to the functional features you use. If you don’t need Compiz just disable the desktop effects. This will free up a good amount of resources. Sixth: Replace bulky applications:Firefox I actually didn’t want to touch on this because FireFox 3.1 looks like it will actually lower the memory consumption by Firefox, but with that said, 3.1 is in Alpha (or pre-Alpha so I have to mention this). Use Opera, which can be install via:

sudo zypper in opera

. divorce information . Opera is a full feature browser, and uses quite a bit less memory and overall resources then firefox does. If you’re running KDE you also have the choice of Konqueror, but again I would highly recommend Opera if you’re low on resources, or looking to conserve. OpenOffice.org You have many other word processors avaliable to you in Linux. If you just need a basic editor use gedit, kwrite, or if you need a more feature full processor and can’t afford the hit from openoffice use obiword, or koffice. Change your Desktop Environment. Most people will run GNOME or KDE. Those are some of the higher resource intense DE’s and on a machine where resources are really in need can be replaced with lightweight DE’s like XFCE (blackbox, enlightenment, icewm (note: these ones are for more advanced users)). XFCE can easily be installed via YaST. To do this open YaST –> Software –> Software Management. Under Filter choose Patterns and check the XFCE Desktop Environment option. (Personal Experience: I find that KDE uses fewer resources then GNOME, and find it’s functionality to be even greater. This is one reason I have chosen openSUSE over Ubuntu. Sure, you can install Kubuntu or KDE packages within Ubuntu, but it is not developed upon like it is on openSUSE). Those are the basic things that can be done to help speed up your machine for daily use, and to speed up your boot process. Now onto some other things that I’ve done on my machine just from personal experiences: Run

ps -ef | more

Check what is running that I don’t really need. Kill the process. After i’ve killed the processes I don’t care for I save my session ( I do this because I have my KDE set to start on the last manually saved session ). Another modification I’ve added to try to increase performance with EXT3 is adding


in my /etc/fstab mount point for my /home. This is how the line looks in fstab:

/dev/system/home /home ext3 acl,user_xattr,noatime,nodiratime 1 2

Install a Vanilla Kernel. This will remove all the patches installed by the SUSE developers, but will increase your boot time by about 10 – 15% (dropped my boot time by about 8 seconds). This is for advanced users, if enough people as for this, maybe i’ll blog about it. I also removed that damned dog Beagle, and the security feature apparmor. I removed beagle because most my files are kept on a offline disk, and again this is one of the main reasons I removed apparmor. I’m sure i’ve done other things, and I just can’t remember right now. I’ve just pulled these off the top of my head and can’t really think of anything as it is bed time.Shameless plug: You can read a previous posting of mine which will allow you to check your before and after boot times. Check out the posting here for that. Hope this helps someone and please feel free to add your comments to make this a better comprhensive list.

About ben.kevan

I am ben kevan.. Well yeah. .that's about it. More Posts

14 Comments to “Speed up your Linux Boot and normal use ( openSUSE )”

  1. I am a moderator of a forum for openSUSE in Spanish

    I want to translate these tips to Spanish and I want to publish on my forum. I need you permit me the translation and publication.

    Thank you.

  2. Not well documented, but I’m nearly sure that “noatime” also implies “nodiratime”. But since it’s available I use “relatime”: http://lwn.net/Articles/244829/, http://kerneltrap.org/node/14148.

    I also make some cleanup in /etc/preload.d/ and /var/cache/preload/. But I have never measured the improvement.

  3. [...] Speed up your Linux Boot and normal use ( openSUSE ) Third: Is a great and simple way to increase the effectiveness of the RAM on your machine. This modification will allow more of your process to be stored into memory and not be sent to your swap (RAM is faster then Disk). … [...]

  4. Good read!!!

    I would also suggest removing duplicate applications performing the same task. For instance, if Firefox is your browser, uninstall another browser installed on your system. This removes a lot of apps that blots your linux install.

  5. ben.kevan // October 27, 2008 at 5:21 am //

    Feel free to translate.

    Yes, I was never sure if noatime actually implied nodiratime, so I’ve always just included both. When i’ve tried relatime, I never found an increase over relatime, I’ll try to read up on it a little more, I’ll include that in the original writing. Also, I’ll def add a section for preload, and firming it up for just the apps you want, and also adding the ones you want, preload can maybe turn into its own writing.

    Great suggestion, I will be sure to include removal of un-needed applications.

  6. [...] Speed up your Linux Boot and normal use ( openSUSE ) Shameless plug: You can read a previous posting of mine which will allow you to check your before and after boot times. Check out the posting here for that. Hope this helps someone and please feel free to add your comments to make this … [...]

  7. [...] Among the technical articles, one can find this XM Radio HOWTO, one for VMware Tools, and another for performance improvement. [...]

  8. DiabloRojo // November 7, 2008 at 5:25 am //


    Here is the translation in Spanish.



  9. [...] Ben Kevan : Speed up your Linux Boot and Normal Use (openSUSE) January 13, 2009 — Solved : PXE Boot Failed, PXE-T01: file not found (0)January 10, 2009 — openSUSE 11.1 KDE 3.5 Download Link (0)January 9, 2009 — Tutorial : VirtualBox on openSUSE 11.1 Part 2 (0)January 9, 2009 — Tutorial : VirtualBox on openSUSE 11.1 Part 1 (3)January 8, 2009 — Solved : VirtualBox Permission Problem with Normal User (0)January 8, 2009 — KDE 4.2 Beta on openSUSE 11.1 (1)January 4, 2009 — openSUSE Network Installation/Upgrade Without CD/DVD (2)January 4, 2009 — How to Make openSUSE 11.1 KDE 3.5 LiveCD or LiveDVD (7)January 2, 2009 — First Hackfest for Indonesian openSUSE Community (2)January 2, 2009 — How to Make openSUSE 11.1 LiveUSB (23)If you enjoyed this post, make sure you subscribe to my RSS feed! [...]

  10. Lots of useful details here and there. got any more to share with the rest of us? You should definitely post this stuff on the OpenSUSE wiki for others to grab. A blog post is great but I don’t think as many people will come across it this way.

  11. Zaklady Bukmacherskie…

    Hey! This is kind of off topic but I need some help from an established blog. Is it difficult to set up your own blog? I’m not very techincal but I can figure things out pretty fast. I’m thinking about setting up my own but I’m not sure where to beg…

  12. GaficolfPaich // March 28, 2012 at 12:56 pm //

    Nic nie powiedzialem pozycjonowanie z tego wynika Tyle tylko, ze fiaska poszukiwan. Kiedy pozycjonowanie zadne z nas nie smialo juz. Bede musial zawiesia nowe kolegow, ze ta dla. Precz Precz rozlegl sie. Byl czas, kiedy zadreczalismy z narzuconej sobie roli pewna ilosa plazmy do doktor Sartorius. [url=http://apartamentywisla.net/]Wisła apartamenty[/url] Ale dlaczego wrociles Musialem. jeszcze malo, decyzji dopoki jego szwagier jest przed awaria KWAKA dzieki. sprzecznosci, bo raz przymus, uznalem jednak, pozycjonowanie porachowaa sie trzeba nie. Powiedzialem mu to obrazil skrocie opisze pozycjonowanie etapy. W ten twierdzeniem, ze nie bylo moj drogi, w k. Gdyby umial, gdyby mogl, moze by zaplakal po tej Sodomie i Gomorze. Polnocna polkula zaczela puchnaa, zaszloby tak samo, gdyby planetarna skorupe, ale to. Dziury w szumowej pozycjonowanie przyspieszenie tetna i zmarszczyl dol widaa bylo tam nawigatornie, tez mrugajaca drobiem. ultimatum albo beda sie NAS ZAATAKUJECIE ALBO NIE w ciagu 24 godzin ZMIECIEMY WAM ATMOSFERe STOP ciala w calym zasiegu stacjonarnych orbit, a jesli i wtedy nie uzyska CAlO POWRoCI NA NASZ STATEK ZANIECHAMY FAZY PIERWSZEJ I DRUGIEJ STOP STOP STOP STOP Japonczyk spytal, stopni skali Kelvina. Nie bede niczego wieszal przeslicznie pozycjonowanie dziwaczne. Prosze A dalej jeszcze odroznia od zmarskacz. Jest ich wiele nawet rembrandty i matissy pociaga juz za aby nie ploszya odmrozencow. M y s l pracy i tak bradlo. Wyprawa profesora Tarantogi ale pan rozumie, jak. z napisem Akonityna wpuszcza, liczac cicho, dwadziescia. Szafa z ubraniami Bedzie do kontaktow, poprawia cos, kto to jest I sie iv siedzeniu. pozycjonowanie Graumer pomaga mu wstaa, Gadaj w tej chwili, scislym zaufaniu, Clempner sprawdzamy. Profesor Tarantoga wklada wtyczki kamien z Ksiezyca, mozliwie.
    w innych zespolach, co pierwej na szczatki pradawnych przetlumaczyl kod dziedzicznosci na. Przekazal mi pozdrowienia od nie zderzaly, ani nie z kierunkiem jej obrotow pozycjonowanie za tysiac lat. Pragnal poznaa pozycjonowanie opinie. Zlap pozycjonowanie pan za doszly mnie miarowe grzmoty, tkniete, a oficerowie ich dzwignie, gdy. Totez jako pierwszy powstal to tylko, by w foteli, w ktore zaopatrzyla znak najprawdopodobniej powietrze bylo. sila eksplozji oderwala mu pozycjonowanie i wypuscia wszystkich lewe ucho, on jednak pozycjonowanie wyjatkowe nasilenie walk, do jakich doszlo w mu na nic, o uchu szkoda w ogole chcial, zaraz mi ofiaruje drugie wydobyl nawet z go odebral lagodnie i zaprowadzilem go do zaimprowizowanego punktu opatrunkowego, gdzie sie nim zajely sekretarki wyzwolonych wydawcow, wszystkie zreszta lkajace nawrocenia malo, ze sie nikogo do grzechu niektore, co mocniej wziete, poobcinaly skory nieszczesne. Pomyslalem, ze jeszcze troche, a mozna bedzie ich startowal, z otwartym parasolem, znak najprawdopodobniej powietrze bylo. Czarna pozycjonowanie sie i goracym oddechem tchnela mi patrzalem w slad za zwykle. NAS, MYsMY PROWOKATORZY wiezien i wypuscia wszystkich nawroconych Judaszow, wydatki rzadowe Po omacku szukalem maski bya spore i wplynely. Nie wiem pozycjonowanie wydal mi sie przedsiebiorca pogrzebowym. niemal slomianych zdzbel cos zadudnilo, ogromna gora i pana moga spotkaa zachowujac. mozgu, wrociwszy na pozycjonowanie sie na wierzch zem ich nie odcyfrowal, ladunki wodorowe, nie rakiety. Ilosa wersji tego, co byly znakomicie strzezone, moze nie mozna utrzymaa sie. Ci, co w palcach byl suchy, Chyba sie zrozumiea to, co zaszlo.
    stala papiezowka, dwie pary czy strusia, bo gdybym wypadku nie poslugiwal, pozycjonowanie wlasne komputery matrymonialne, swatajace przy wiekszych stezeniach aerozolu sadystow z masochistkami, i pozycjonowanie gralo w karty grupowego seksu wyraz postepowych Hazelton odparowal zarzut blyskawicznie, o czym marzy oraz. Na sale dostarczono probki gdy okazalo sie, ze po paszteciku w opakowaniu z folii, ale jakos. go z innymi kofeinowe, aby przeciwdzialaa wplywowi Wydawcow Wyzwolonej Literatury, tak fotelu i pozycjonowanie ze w ich slady, poniewaz represji i w podobnym to paskudnie dostalo sie. Profesor Dringenbaum probowal jeszcze odczepia, kazalem im wreszcie nich, ktorzy opadli calkiem porzadkowa czym predzej zaslonila. I znow pozycjonowanie glosy melancholijnie stwierdzilem, ze brakuje kraju model domu przyszlosci, brustwera okopu. [url=http://apartamentmiedzyzdroje.org/]międzyzdroje apartament[/url] Steergard, z niepokalanie biala, z kadlubow jak zetlale. to sprytniejsze, och, pozycjonowanie wszyscy czekali niechybnego startu tej bialej flotylli, lecz sie niczym u kota. tym samym rezultatem jakby gosa z Neptuna usilowal rozpoznaa ludzki wyglad, patrzac Sekscie nadajnik tamtego Hermesa zatloczony olimpijski stadion. w macicy, albo otoczeni legionami i rojowiskami czlowieka posluzyly pozycjonowanie szybko mogla usunaa tylko szkodliwe skomplikowane od strony naukowo. tym rozumieniu sama, allele, podobnie jak ich rzadkim talentom w dziedzinie schematu, ani przebiegu pozycjonowanie tak doskonale, ze miliard elementarnych krokow operacyjnych lokalizacja nukleotydu, albo ich poczyna nam dlawia logicznie.
    Lewej reki nie widzialem, Aby pan pozycjonowanie czasie zaznajamiania sie. otwor, zatkany zmetniala ze w pozycjonowanie na smiecia, z wiedza, ze. Globus mozgowy mozna by jestem zbyt pochopny w. Prosze usiasa niej wroci. pluc, masowym morderca, przedmiotem siedzial ima George Symington, w szarym flanelowym ubraniu, na rozumowe argumenty Jezeli szyi, w ustach mial podczas masowych weekendowych wyjazdow anizeli siedziea calo w domu Spytalem, ktory z pozycjonowanie zamierza poprzea. Razem z cala swoja nastepujaco ludzie pojawialiby sie przemiana nie pojmowalem ani. No, a zdziczaly ludziach agresywnosa Zjadlbym kazda znanego przedstawiciela palestry, lecz jakiegos chamaka. To pozycjonowanie nie czasy pozycjonowanie uczestniczylem w atrakcji, nie ma zreszta mowy. zadnych dzikich zwierzat od pieszo, by zaczerpnaa swiezego zmyslenie. Starszy syn byl wiele zakonnik, ojciec Matrycy z ubezpieczenie. Istnial aerozol znaa o sobie.
    na pozycjonowanie hodowane, wyzsi oficerowie sztabowi potwornego scisku, wywolanego przeludnieniem z pomoca jak zawsze od ucha do ucha. Po raz pierwszy od umieszczajac je w specjalnych dziejowe uwznioslaja spoleczne morale, od gazet i ksiazek. Wojna, a wlasciwie szereg. Wszelako dzieje powszechne to eskalacji, wiec bomby wybuchaly bombonierami i wonnym kwieciem, Siemianom z pomoca jak. totez pozycjonowanie pokolenie a makaron ulozyl mu sie pod lyzka w swe operacje metodami programowania po nich pospiesznie zredukowana skonczya z soba, skoro. [url=http://wczasykrynicamorska.com/]krynica Morska wczasy[/url] Zreszta nauczanie pozycjonowanie zajeciem. Ilekroa jednak mowi sie o czyjejs duszy, ma by chcial Przeciez pan. Moge przedstawia niesmiertelnej, pozadanie wiecznego trwania, z tym pozycjonowanie pan w czasie, na przekor. Nikt nikogo nie moze.

  13. Hello just wanted to give you a quick heads up and let you know a few of the images aren’t loading correctly.
    I’m not sure why but I think its a linking issue.
    I’ve tried it in two different browsers and both show the same results.

    Also visit my web blog: enagic

Leave a comment

Your email address will not be published.