I installed Ubuntu MATE 18.04 and it looks great and attractive as an interface more than Ubuntu 18.04 (for me ) .
But the performance is surprisingly too slow. My laptop is not bad and did not use to be like that. I mean it's slow while scrolling in a window, opening a folder with 500 files for example, or selecting a large number of files for copying to another place the system becomes unresponsive and very slow, opening a media file with vlc or totem alongside with firefox. and many scenarios.
Do you have any tips for that , any tweaking to make it faster , or system configurations ?
Please note that I am not an expert linux user when helping me .
Looking at the screenshot you provided I guess you have a spinning hard drive. If this is the case, replacing it with an SSD drive will probably give you the single greatest gain in "user-apparent-reaction-time". If you can increase the RAM to 8GB that might help too.
Let me cite: The default setting in Ubuntu is swappiness=60. Reducing the default value of swappiness will probably improve overall performance for a typical Ubuntu desktop installation. A value of swappiness=10 is recommended, but feel free to experiment.
If other measures such as changing the swapiness improves the performance of your system to a level that you are happy with, that is fine.
But, if you are left with a system that is still slower than you would like, then replacing your hdd with an ssd would be something to consider. Your CPU allows a max of 8GB RAM, so that would be as far as you could go there.
If you decide to invest in an ssd and/or more RAM do your research first, to be sure not to buy the wrong thing. Particularly with regard to ssd drives - they are not all the same - the "controllers" on some work better with Linux than others, some do not seem to work at all under certain circumstances. I have used Samsung EVO twice, once in HP hardware, once in Lenovo hardware - both times without any problems.
Do you mean that I have to extend RAM ? I will do it .
But about the hard drive I just bought it recently and the shop told me its the best hard drive to use
it's model is : ST1000LM014-1EJ164 (DEMD) and it's size is 1TB .
The shop that sold you this drive sold you a good drive :
A review of the drive:
An explanation of the difference between SSD and SSHD drives:
I wonder, however, if the manufacturer's built in software that makes the hybrid drive work functions well with Linux - I do not know the answer to that question.
As you have 4GB of RAM there is nothing to be gained, as far as I know, from increasing the size of the swap file above 4GB. The old rule-of-thumb was - size of RAM = size of swap.
Possibly. The cheapest way to find out would be to borrow an SSD (one that works with Linux and your hardware, Samsung EVO should work) and swap your SSHD for the SSD. Then install your Linux on the SSD and see if there is a difference, a difference that matters to you in a real-use situation.
@whyalwaysfadi I see by your initial post that you are running MATE 18.04.2 with the hardware stack enabled. I can tell that by your kernel version which appears to be 4.18.0-25-generic x86_64.
Alpinejohn's first suggestion to replace your hard drive with a Solid State Hard Drive was right on the money. That is, an SSD will provide you with a quite noticeable speed increase. His second suggestion to buy more RAM and install it was also good.
Please open a terminal and enter inxi -F and after it finishes, post a screenshot of the results. This command should give all of us a great deal more information on your next moves if you don't feel like upgrading your hard drive or your RAM.
Edit: Also, if you would, please open the System Monitor as you did in your first post but this time select the Resources tab and post a screenshot of that. I'm particularly interested in your Memory and Swap History but your CPU History could also be interesting. Thanks.