Nepedia
Back to Discover
Independent Reader
💻

Working set

technology Maturity 9-11 Next article →

Computers use memory to do many jobs at once. Each job is called a process. A process needs certain bits of information to work. We call these bits pages. The working set is the group of pages a process needs right now. It is like a set of tools you use every minute.

Computers keep these pages in the main memory, or RAM. RAM is the fast part of a computer's memory. If a process has all its pages in RAM, it can work well. But if it has too few pages, it will struggle. It will spend too much time looking for pages. This can cause thrashing. Thrashing is when a computer slows down because it moves too many pages back and forth.

To stop thrashing, the computer can swap a process out. This means it moves the whole job to storage. This makes room in the RAM for other jobs. This way, all the jobs can finish much faster. The computer also looks at code and data. These are two different kinds of parts in a working set. If either part is too big for the memory, the computer may thrash again.

195 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.