Why Intel Core i3 processor with enough free RAM and low CPU usage become very slow?

5

5

In a computer with Intel Core i3 and 4GB of RAM running Windows 8.1 build 9600, in conditions I expect no have performance problems it become very very slow and it's close to freeze (or even freeze it)

see UPDATE at bottom

Conditions:

  • Enough free RAM
  • Enough free HD for swapping
  • 125-135 "processes" (*)
  • No database services such as MySQL, PostgreSQL, etc BUT Java and .NET frameworks
  • Some I/O unexpected peaks when I just using Chrome web browser and I'm not expecting swapping because free RAM

I guess "multitasking" is not so good when threads are >= 100, but it's empirical in an Intel with 2 cores.

Questions:

  • What other informaion I need to make the correct guess about my problem ?
  • More RAM (I'm not sure) could help me ? maybe decreasing I/O for swapping ?
  • A better processor with more cores ? 8 cores ? (Is any linear relationship between number of cores and thread limit ?)

Maybe related with: https://serverfault.com/questions/365061/high-load-average-low-cpu-usage-why

Process Hacker screenshot: Process Hacker screenshot

EDIT:

As @Roland Smith suggest, Google Chrome is a MONSTER consuming resources, I did the following experiment in Chrome / Firefox:

  • 29 tabs
  • More or less same extensions (I could disable all but I don't think it could change much)

Measure of RAM / CPU usage in both web browsers:

Chrome:  116  threads / 2-12% CPU / 60-70% RAM

Firefox: 72 threads / 2-6% CPU / 39% RAM

Google Chrome can gain stability and be very fluent using 1 thread for every tab / extension but definitely it's a cons when you need to have a lot

boctulus

Posted 2014-12-27T16:14:37.710

Reputation: 171

CPU and RAM usage ![Process Hacker][1] << image (follow link) – None – 2014-12-27T16:16:45.283

What you have to suspect and check is the state of the hard disk such as PIO mode instead of DMA, Disk errors -> use chkdsk and so on. The other suspect is the graphic card. Start with this. Slow performances often require a long troubleshooting process. Be patient. – climenole – 2014-12-27T18:05:03.293

One more suggestion. Try System Explorer, run a security scan. This utility give you more information about system and will be usefull to find the "culprit". There: http://systemexplorer.net/

– climenole – 2014-12-27T18:11:42.413

What type of disk does your pc have, HDD or SSD? My laptop runs on a dual core processor, 4GB or RAM and it's very fast. But that was not until I upgraded to an SSD. I did that because the HDD had bad sectors which could not be fixed, and as I result Windows froze from time to times, and browsing was really worse then ever... – Erlis D. – 2014-12-27T18:27:43.893

It's probably Google chrome man, close some tabs – xR34P3Rx – 2014-12-27T18:35:47.450

@" Erlis D." : it's a HDD :\ – boctulus – 2014-12-27T19:20:25.110

There are no quad core Core i3 processors; they are all dual core. – ntoskrnl – 2014-12-27T22:18:43.550

I know, no time to update that :) there are 2 core but they emulate 2 other 2 cores – boctulus – 2014-12-27T22:23:14.353

@ntoskrnl : some Core i7 have are really quad-cores but of course, It's not the case. - http://en.wikipedia.org/wiki/List_of_Intel_Core_i3_microprocessors

– boctulus – 2014-12-27T23:56:51.387

There is an extension that puts unused tabs to sleep: The Great Suspender and this way helps to save resources.

– Kai Noack – 2016-12-10T20:37:21.840

Answers

4

In google Chrome, every tab, web app and running extensions has its own process (not thread). In your screenshot you can see that this adds up to a lot of processes. Each process consumes memory and has to contend will all other processes for CPU time.

If you have enough processes, you can make every computer slow.

Close some tabs in Chrome and/or see if you need disable some extensions/plug-ins.

If the memory usage in the screenshot is correct, try adding more memory first. You CPU usage isn't that high.

I have a quad-core intel CPU. Under FreeBSD it has routinely >200 threads running without problems. The amount of cores limits the amount of threads that can (more or less) run at the same time. But since your CPU usage is low (again based on the screenshot) I don't think this is a problem.

Roland Smith

Posted 2014-12-27T16:14:37.710

Reputation: 1 712

This happens to my father, he has like 30 chrome tabs and wonders why it's slow. – xR34P3Rx – 2014-12-27T18:35:05.683

I've not seen yet a Quad-core running 140 >= threads. Is this related with number of cores ? is any linear relationship between cores and thread limit ? – boctulus – 2014-12-27T18:43:15.383

See updated answer. – Roland Smith – 2014-12-27T18:43:25.610

Roland: you was RIGHT :) – boctulus – 2014-12-27T20:39:09.253

1

Although this answer doesn't apply to the OP, I'll keep this answer for reference by future readers.

Your hard drive may be failing

  • Slow I/O performance can be caused by hard drive problems. If the media is degrading, the hard drive will repeatedly attempt to access the data, which can cause significant delays in accessing data. Use a program such as CrystalDiskInfo to check the state of the hard drive, and be sure to post an image of the results. If it says Caution or Bad, you should back up your data and replace the hard drive as soon as possible as the hard drive could fail soon, resulting in data loss.

Upgrading memory and storage can help

  • Your computer has 4 GB of memory. While this may be sufficient to handle all of the applications you're running, your computer still needs to hit the hard drive quite often to start up applications or load data because there isn't a lot of free memory. Windows (and other operating systems) use free memory to preload data from disk, so adding more memory will allow more data to be stored in memory and reduce slow disk accesses.

  • Replacing the hard drive with an SSD will dramatically increase performance as well. SSDs are significantly faster than hard drives because they are entirely electronic and do not rely on mechanical seeking to access data the way hard drives do. However, I'd consider this less important than a memory upgrade in your situation, since upgrading to an SSD can be expensive and requires migrating data to the new drive.

Alternatively, you can use Windows ReadyBoost to increase performance

  • If neither of the above upgrades are options, ReadyBoost can increase your system's performance by using USB your flash drive or other flash memory device as a cache. ReadyBoost takes advantage of the fact that flash memory has fast random I/O performance to speed access to data.

bwDraco

Posted 2014-12-27T16:14:37.710

Reputation: 41 701

I will run every test you suggest me and update my question. Thanks a lot. – boctulus – 2014-12-27T18:48:47.790