Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to interpret Windows Task Manager?

I run Windows 7 RC1, which uses the same WTM from Vista. When i look at the processes, there some columns I'm not sure what the differences are:

  • Memory - working set
  • Memory - private working set
  • Memory - commit size

can anyone tell me what they are?

like image 356
Tam N. Avatar asked Jul 23 '09 09:07

Tam N.


People also ask

How do you analyze Task Manager?

Press Ctrl+Shift+Esc to open the Task Manager with a keyboard shortcut or right-click the Windows taskbar and select “Task Manager.” You can also press Ctrl+Alt+Delete and then click “Task Manager” on the screen that appears or find the Task Manager shortcut in your Start menu.

What do the numbers in Task Manager mean?

The number in parentheses next to a process in task manager shows how many components this particular process is running, and you can check these components by expanding the process.

What can Task Manager tell you about performance?

Task Manager lets you view the programs, processes, and services currently running on the PC. You can use Task Manager to monitor your computer's performance, and to close a program that is not responding, view network status, and see which users are connected to the PC.

What do the percentages in Task Manager mean?

What does 100% Disk usage mean? 100% disk usage means that your disk has reached its maximum capacity i.e. it is fully occupied by some or the other task. Every hard-disk has specific read/write speed and generally the sum of the read/write speed is 100mbps to 150mbps.


1 Answers

From the following article, under the section Types of Memory Usage:

There are two main types of memory usage: working set and private working set. The private working set is the amount of memory used by a process that cannot be shared among other processes, while working set includes the memory shared by other processes.

That may sound confusing, so let’s try to simplify it a bit. Lets pretend that there are two kids who are coloring, and both of the kids have 5 of their own crayons. They decide to share some of their crayons so that they have more colors to choose from. When each child is asked how many crayons they used, both of them said they used 7 crayons, because they each shared 2 of their crayons.

The point of that metaphor is that one might assume that there were a total of 14 crayons if they didn’t know that the two kids were sharing, but in reality there were only 10 crayons available. Here is the rundown:

  • Working Set: This includes all of the shared crayons, so the total would be 14.
  • Private Working Set: This includes only the crayons that each child owns, and doesn’t reflect how many were actually used in each picture. The total is therefore 10.

This is a really good comparison to how memory is measured. Many applications reuse code that you already have on your system, because in the end it helps reduce the overall memory consumption. If you are viewing the working set memory usage you might get confused because all of your running processes might actually add up to more than the amount of RAM you have installed, which is the same problem we had with the crayon metaphor above. Naturally the working set will always be larger than the private working set.

like image 118
Gordon Thompson Avatar answered Oct 16 '22 22:10

Gordon Thompson