Laptops Under 200

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, 3 October 2011

Boost System Performance (RAM specifically) in Ubuntu using zRam!

Posted on 00:57 by Unknown
I gotta admit that apart from all the criticism, MS Windows Kernel is pretty good at managing memory and system resources. Although the GNU/Linux Kernel is certainly one of the most robust & highly secured ones out there, but sometimes I do feel a bit "sluggish" performance while the Memory gets filled and when it's time to move the data between SWAP (virtual memory, a file, stored on or as a partition in GNU/Linux) to the RAM or vice versa when comparing with the Windows Kernel.

What the heck is "SWAP"?

If you're a bit new to all this hype :)... then SWAP is the temporary storage location that holds programs and other whatnots just before they're loaded into your actual/physical RAM for execution.

Anyhow, apparently there are few solutions for enhancing the performance and one in particular called zRam (successor of a project known as "Compcache", link below) that's integrated into the GNU/Linux Kernel. But the integration is "unofficial" meaning that, it's not included in the Kernel by default (unless the developers manually put it there).
Image via: Compcache (the original project)...
Concerning the Ubuntu users, Ubuntu also does not come it integrated by default but thanks to one of the core developers of the Elementary OS, Sergey Davidoff, not only he has made a PPA which makes the installation a breeze but also has made optimisations of is own which enhances the performance a bit more too!.

In his own words...
"... the result on my desktop with a quad-core CPU and 2Gb of RAM was fantastic:instead of freezing after running out of RAM, the system worked like nothing happened... got almost the same results on a 6-year-old laptop with Pentium M and 1Gb of RAM!...

I've improved the script to automatically adapt to the amount of memory in the system and automatically scale across several CPUs or CPU cores, packaged it in..."
You can install the zRam memory performance optimizer in Ubuntu 11.10 Oneiric Ocelot and 11.04 Natty Narwhal by using the below commands.
sudo add-apt-repository ppa:shnatsel/zram

sudo apt-get update

sudo apt-get install zramswap-enabler
Now I used it for very short period thus cannot say much about its performance (it's still in my system, I'm gonna keep it this time :D), so I let you decide that. But after considering Sergey and few others who've used it... it seems worth installing!.

But I'm just wondering whether this could have a somewhat negative effect on computers with lower-end processors (such as Netbooks for instance) since the idea here is to compress some of the data on the RAM and store it within the RAM itself which requires some decent amount of your CPU cycles.

So I'm just wondering it could result in a somewhat, shortened battery life, perhaps. But then again while reading the original "Compache" developers' page, he says...
"Market is now getting flooded with these "lightweight laptops". These are memory constrained but have CPU enough to drive on compressed memory"
So then perhaps after all, it may not has a huge effect on your CPU, unless it's really slow :D. But later if you wanted to remove it... then just open the terminal window and enter the below command to completely un-install it.
sudo apt-get remove zramswap-enabler
Enjoy!.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in linux, optimizations | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • How to Install "The Board" in Ubuntu? (GTK+ written dedicated Digital Diary)
    If you frequently use your computer for hours and hours daily... then even after installing cool theme and other stuff to make the desktop l...
  • traGtor - ffmpeg Encoder GUI for GNU/Linux (one of the best!)
    I maybe wrong on this one but I think the origin of the Qt written KDE desktop actually comes from the German programmers. But the point is ...
  • Install Gdiskdump in Ubuntu 11.04 - An Easy To Use Disk Cloning Tool for GNU/Linux!
    Although for Microsoft Windows there are several excellent commercial and free applications available yet with GNU/Linux when it comes to di...
  • Wipe - Secure File Delete Application for GNU/Linux
    Not just in GNU/Linux but in any operating system, just because you deleted the files from the hard disk drive doesn't mean that they...
  • How to Access Few "Advanced Preferences" Settings in Nautilus File Manager?
    Nautilus is the default file management utility in Gnome desktop environment (which is also shared by the Ubuntu Unity as well). Although ...
  • Install GPRename in Ubuntu - Renaming Multiple Files/Folders Made Ease!
    If you have a large number of files or folders to be renamed, then doing them all by hand is a daunting task. That's where the batch/mas...
  • Have You Watched the "Free Software Song"?
    I saw this song (in video) for the first time few years ago while watching the Revolution OS, a movie which basically exposes the birth of G...
  • Install Agave in Ubuntu - Excellent Color Palettes Creator for GNU/Linux!
    I think anyone would agree on the fact that both colors and our emotions (buggers... control our lives one way or the other :P) are bound to...
  • GDM Tweaker - A Tool For Changing GDM Background/Theme Easily
    Although Ubuntu decided to drop GDM from the future releases still with Ubuntu, setting up your GDM screen is almost impossible (you know c...
  • MediaInfo - An Advanced Audio/Video Tag "Reader" for GNU/Linux and MS Windows
    If you have installed the proper codecs in MS Windows and GNU/Linux, the operating system can read Tag information which holds information s...

Categories

  • 11.04 natty narwhal
  • 11.10
  • 3d rendering
  • addons
  • address books
  • adobe
  • adobe flash
  • adobe flash player
  • amarok
  • amarok for windows
  • andorid
  • android
  • android applications
  • android apps
  • android phones
  • android tablets
  • app launchers
  • apple
  • applets
  • application indicator
  • applications
  • applications for windows
  • archive managers
  • arios
  • art
  • arts
  • asus
  • asus eee pc
  • ati
  • ati catalyst
  • audio
  • audio converts
  • audio editors
  • audio encoders
  • audio players
  • audio tag editing
  • audio utilities
  • ayatana scrollbars
  • backup
  • backup tools
  • banners
  • batter saver
  • battery calibration
  • benchmark testing
  • bittorrent
  • bittorrent clients
  • blogger
  • blogger news
  • blogger platform
  • blogging
  • blogging tips
  • blogging utilities
  • blu-ray
  • boot loaders
  • BSOD
  • business card creator
  • Canonical
  • cd/dvd burners
  • chat clients
  • checksum checker
  • chrome
  • chrome addons
  • chrome os
  • chromium
  • clamav
  • cloud computing
  • cloud comupting
  • cloud storage
  • clutter
  • collaborative editor
  • command line
  • commands
  • community
  • compiz
  • computer repair
  • computers
  • cross-platform
  • data backup
  • data encrption
  • desklets
  • desktop environments
  • digital audio workstation
  • disk cloning
  • disk drive erasers
  • disk image burning
  • disk images
  • disk partition editors
  • display managers
  • distributions
  • docks
  • download managers
  • drawing tools
  • drivers
  • driving lessons
  • dropbox
  • dvd authoring
  • dvd backup
  • dvd creator
  • e-book managers
  • e-mail
  • e-mail clients
  • e-mails
  • eee pc
  • elementary os
  • email clients
  • emails
  • encoding
  • encorders
  • experiences
  • facebook
  • fedora
  • fedora core
  • fedora core 15
  • fedora core learn
  • feed readers
  • file management tools
  • file managers
  • file manegers
  • file recovering
  • file splitters
  • file systems
  • filesystems
  • finance
  • firefox
  • firefox 5
  • firefox 6
  • firefox addons
  • firefox5
  • firmware utilities
  • flash videos
  • flickr
  • fonts
  • frustrations
  • fun
  • gadgets
  • GDM
  • gentoo
  • gimp
  • gmail
  • Gnome
  • gnome 3 shell theme
  • gnome 3.2
  • gnome applications
  • gnome desktop
  • gnome shell
  • gnome3
  • gnu
  • gnu emacs
  • gnu-linux
  • gnu-linux distributions
  • goober
  • google
  • google chrome
  • google chrome extensions
  • google maps
  • GPU
  • graphic design
  • graphic utilities
  • grey screen of death
  • grub editors
  • gtk
  • gtk applications
  • gtk themes
  • gtk3
  • gtk3 themes
  • hardware monitors
  • hdd clone tools
  • hdd tools
  • health
  • hobbies
  • html5
  • icons
  • ideas
  • im clients
  • iMac computer repair
  • iMac error
  • image editiors
  • image organizers
  • image resizers
  • image utilities
  • image viewers
  • iphone
  • itunes
  • java
  • journal applications
  • kde
  • kde 4.6
  • kde applications
  • kde-qt
  • kernel
  • kubuntu
  • kubuntu 11.04
  • laptops
  • learn
  • learn linux
  • legal
  • libre office
  • life
  • lightdm
  • linux
  • Linux distributions
  • linux keyboards
  • linux mint
  • linux multimedia players
  • linux music players
  • loco teams
  • logmein
  • lubuntu
  • lxde vs xfce
  • mac osx
  • mandriva
  • media players
  • metacity
  • microsoft windows
  • mounting
  • mplayer
  • ms windows
  • multi-touch gestures
  • multimedia
  • multimedia codecs
  • multimedia converters
  • multimedia players
  • multimedia utilities
  • music players
  • mypaint
  • natty narwhal
  • nautilus
  • nautilus scripts
  • nautilus tips
  • netbooks
  • netbooks under 200-250
  • network monitoring
  • networking
  • news
  • nokia phone suite
  • note taking
  • ntfs
  • nvidia
  • office productivity suits
  • office suits
  • oneiric ocelot 11.10
  • online radio
  • online storage
  • open source
  • open-source
  • opensource
  • opensuse
  • operating systems
  • optical disk burners
  • optical disks
  • optimizations
  • package managers
  • painting tools
  • parent control
  • password generators
  • password managers
  • pdf editors
  • pdf readers
  • pdf tools
  • pim software
  • pinguy os
  • plasma
  • plugins
  • portable
  • portable applications
  • portable laptops
  • privacy
  • professional video editors
  • programming tools
  • project management software
  • proprietary drivers
  • python applications
  • qt
  • qt applications
  • qt4
  • registry cleaner
  • remote access
  • remote desktop access
  • reviews
  • roboform
  • rom flashing
  • rss readers
  • satellite trackers
  • scanning tools
  • screen recorders
  • screenshot taker
  • scripts
  • search engines
  • security
  • shell extensions
  • shell themes
  • skype
  • smart phones
  • software
  • software emulators
  • sound servers
  • source code editor
  • stack exchange
  • startup managers
  • stock market
  • swimming
  • system cleaner
  • system information
  • system monitors
  • tablet pcs
  • tablets
  • task killers
  • tech help
  • tech news
  • tech tips
  • technology
  • terminal emulators
  • text editors
  • text translators
  • themes
  • thunar
  • thunderbir
  • thunderbird5
  • tips
  • transformation packs
  • tutorials
  • tweaks
  • twitter
  • ubunt
  • ubuntu
  • ubuntu 11.10
  • ubuntu 11.10 alpha 3
  • ubuntu derivatives
  • ubuntu derrivatives
  • ubuntu minimal install
  • ubuntu netbooks
  • ubuntu news
  • ubuntu one
  • ubuntu tablet
  • ultrabooks
  • unity 2d
  • unity desktop
  • unity desktop apps
  • usb
  • utilities
  • vector graphics
  • video editors
  • video utilities
  • videos
  • virtualbox
  • virtualization
  • virus scanners
  • vlc
  • voip
  • wallpaper contest
  • wallpapers
  • weather apps
  • web browser addons
  • web browsers
  • webcam
  • weight loss
  • weird
  • widgets
  • window managers
  • windows
  • wine
  • xml editors
  • xubuntu
  • youtube

Blog Archive

  • ►  2012 (7)
    • ►  August (2)
    • ►  June (1)
    • ►  May (3)
    • ►  January (1)
  • ▼  2011 (515)
    • ►  December (3)
    • ►  November (1)
    • ▼  October (16)
      • Following an Obsession: Announcing "HecticGeek.com...
      • Remote Desktop Access Comes to Google Chrome!
      • HTML5 Based Text Editor for Ubuntu Linux - GWrite!
      • How to install Fluxbox Window Manager in Ubuntu ?
      • Cross Platform YouTube Music Player - MusicTube!
      • Free Hard Drive Eraser - KillDisk!
      • Ubuntu 12.04 LTS Gets the Official Code Name!
      • How to Split or Merge Files Easily in Ubuntu?
      • Best, Opensource Multimedia Player Frontend for Wi...
      • Individual Web-Page Zooming Extension for Google C...
      • OpenSource Audio Encoder for Windows - winLAME
      • Boost System Performance (RAM specifically) in Ubu...
      • Wanna Add an Awesome Looking Ubuntu 11.10 Oneiric ...
      • Free ISO Burning Software - ImgBurn
      • Free & OpenSource CD/DVD Burning Software - InfraR...
      • New 14 Ubuntu 11.10 Oneiric Ocelot Wallpapers Avai...
    • ►  September (57)
    • ►  August (59)
    • ►  July (81)
    • ►  June (112)
    • ►  May (149)
    • ►  April (33)
    • ►  March (4)
  • ►  2008 (2)
    • ►  March (1)
    • ►  January (1)
Powered by Blogger.

About Me

Unknown
View my complete profile