How to improve Ubuntu performance on netbook

994

Solution 1

I know this is an old question, but I had similar problems on my Samsung netbook and maybe the described steps will be useful to someone. My netbook is an old machine and Ubuntu 12.04 was too slow to be useful. I tried several tweaks, which improved things, but not enough.

I didn't feel like replacing Ubuntu with Lubuntu and then installing all the software that I like in Ubuntu.

So I did the following:

I really like Unity and I use it on my desktop computer. And while the above doesn't allow you to use some cool features such as the global menu and HUD, I find it's a very good compromise. Everything now works really, really fast.

Solution 2

You can try zRamswap which is a program that create a compressed RAM block and make it act as a swap disk. Basically, this program increase performances by using a small amount of RAM as a swap area (instead of swap disk which is slow compared to RAM).

You can install this program by adding this ppa to your software sources:

 sudo apt-add-repository ppa:shnatsel/zram
 sudo apt-get update
 sudo apt-get install zramswap-enabler

Solution 3

First thing to do to lower memory consumption is to stop using applications that are memory hogs. The applications that I had to switch away from were Banshee, Evolution, Liferea, and Tomboy. The applications which I switched to respectively were Rhythmbox, Thunderbird, Google Reader and none (graduated from school so no longer need a note taking application).

Second thing to do is to make Firefox more friendly. In Preferences » General uncheck the Don't load tabs until selected checkbox and set the When Firefox starts option to Show my windows and tabs from last time. Whenever my computer gets slow, I close Firefox and re-open it which causes all tabs to not be loaded except for the one that I am currently using. If you have flash installed then the Flashblock plugin is necessary. Firefox tabs in the background that are using flash are very demanding and Flashblock helps you stay aware when Flash is in use. AdBlock will also help keep Firefox more resource friendly if you are desperate.

That is all the advice that I have for you. I have found the Unity 3D interface to be very usable on my older netbook (Intel Atom N270 with GMA 950). My computer does get slow at times but that is almost exclusively a Firefox problem but I tend to open up a lot of tabs so that is easily fixed.

Solution 4

I am using a pretty smooth 14.04 on my samsung nc10 plus. maybe it will help you out on 12.04 too:

First of all i deactivated the effects in unity using unity tweak tool and compiz config:

sudo apt-get install unity-tweak-tool compizconfig-settings-manager

I also set the swap usage to a more reasonable level:

open sysctl.conf gksudo gedit /etc/sysctl.conf and add vm.swappiness=10 to the file, then reboot.

Last of all I deleted all unity-lenses exept the applicaion- and the files-lense:

sudo apt-get autoremove --purge unity-lens-music unity-lens-video unity-lens-photos unity-lens-gwibber unity-lens-shopping 

After doing that, my netbook runs pretty smooth and good runing unity. If you are only concerned abou the look, try installing the gnome flashback session:

sudo apt-get install gnome-session-flashback

That's all I can do to provide some help. Cheers.

Solution 5

I would install Lubuntu or Xubuntu as it has lower requirements. In a terminal, execute:

sudo apt-get install xubuntu-desktop

or

sudo apt-get install lubuntu-desktop

I personally use Lubuntu, but you can use either.

Share:
994

Related videos on Youtube

if __name__ is None
Author by

if __name__ is None

Updated on September 18, 2022

Comments

  • if __name__ is None
    if __name__ is None over 1 year

    I've just recently started working with Python WSGI based frameworks (Pyramid and Flask). I've been working with Apache since forever, but recently I got a lot hype for asynchronous non-blocking event-based technologies like node.js and Nginx.

    So I've decided, that when my application goes into production, its going to run in virtual cloud server on Nginx and its going to be super, duper fast...but than I thought...wait a second...wsgi application is a BLOCKING application by design. So wouldn't a wsgi application actually run worse on Nginx than Apache, since it would block the process and jam the server right away? Probably Apache is much better than for my application with its multi-threading.

    Anyway, now I am trying to figure out what am I going to use in production, so I can prepare and optimize in that way. I am pretty much a newbie on this field, so I've got some ideas, but Im not sure what route to take.

    1.) Have nginx serve my wsgi app, but create some kind of load balancer that sends requests to various nginx instances, as running single process would probably fail miserably as my python app would be blocking it. So I would have 4-8 nginx's running.
    2.) Have apache serve everything, wsgi+static
    3.) Have apache serve the app via mod_wsgi, and nginx serve static files
    4.) Any other solutions?
    

    I am looking for a best equilibrium between performance, resource usage, reliability and convenience. I do not believe that either nginx or apache would be a bottleneck for my app if configured correctly.

    Thanks

  • nikhil
    nikhil almost 12 years
    Doesn't really answer the question though.
  • Alexey Shytikov
    Alexey Shytikov almost 12 years
    100% I'd like to have Ubuntu look and feel on my netbook. I believe there is some capacity in it to run 12.04 smoothly. I just haven't found it (yet :)
  • FuzzyQ
    FuzzyQ almost 12 years
    Please note that with precise pangolin there's no longer the need for that ppa. Simply type sudo apt-get install zram-config in a terminal, wait for the installation to finish and reboot. There's no need for further configuration.
  • Nikec
    Nikec over 11 years
    One more thing that I forgot, sorry: when installing the LXDE core on top of Ubuntu 12.04 all the icons disappear (at least that is what always happened to me). This can be corrected by installing LXAppearance, running it and selecting one of the listed icon themes. (sudo apt-get lxappearance)
  • if __name__ is None
    if __name__ is None over 11 years
    yeah I really don't wanna do wsgi on nginx. What if I use nginx just as proxy for apache, and run app via apache thru wsgi?
  • Graham Dumpleton
    Graham Dumpleton over 11 years
    Go watch my talk where I talk in part about these issues. lanyrd.com/2012/pycon/spcdg
  • Cerin
    Cerin almost 8 years
    Using LXDE to make your computer faster is like replacing your car with a skateboard to save on gas. You're not wrong...but this is not a solution anyone wants.