I have a lenovo laptop with ubuntu 14.04 (64 bit) installed on it. It has Intel® Core™ i3-3110M CPU @ 2.40GHz × 4 processor, 4 GiB ram and Nvidia 635 M graphics card. The system works fine under normal operations but it lags, stuck a lot during copying files. Earlier I was using 13.10 and no such problem was with with. Any help would be appreciated.
Looking at the
top output you provided in the comments you have one problem (not enough cache memory) that can be divided into two sub-problems:
The cheap solution:
- Easiest to solve. Chromium is known to be a memory hog: uninstall it and use FireFox instead.
A bit more complex to solve.
a. Make a system backup! If you don't know how, read What's a good backup strategy for 1 PC (You've now officially become user type 4 instead of being user type 3)
sudo apt-get install compizconfig-settings-manager(aka CCSM)
c. Go to the dash and type "Compiz" and the CCSM icon should come up.
d. And now it's up to you: turn off anything you don't use! E.g. if you don't use multiple desktops, turn off "Expo" and "Desktop wall" (and that's why you have to take a back-up: you're on your own here; I don't know what you use and what not)
The expensive solution
Buy more RAM. Double it (at least). :-(
I found that disabling the transparent huge pages feature does help.
Check if it is enabled:
- enabled: [always] madvise never
- disabled: always madvise [never]
To disable do:
sudo su -c 'echo never >/sys/kernel/mm/transparent_hugepage/enabled'
To [re]enable do:
sudo su -c 'echo always >/sys/kernel/mm/transparent_hugepage/enabled'
More info at: https://access.redhat.com/solutions/46111