[Autogenerated] here is process Explorer.
Let's grab some random process,
let's go with Visual Studio just for fun and you'll notice that Visual Studio
has many threats and all of them have a higher priority of normal memory
priority of five and then we have the various priorities that range from eight
to something perhaps some sometimes higher,
sometimes lower.
But somewhere within this range because Visual Studio right
now is running with normal priority class.
Let me look at the ability to change the priority and make
it to background mode and noticed that things would change
immediately for visual studio.
So you notice the thread priorities dropped to four as they're
based priority and you might have some differences because of
various boost that might occur.
And then we have memory priority dropping to one and our priority
dropping to very low so very low means that the Iowa whatever is being
done by a visual studio but this particular instance is not going to be
as important as other processes.
If many processes will do here at the same time,
visual students going to be the last one to get any i o
bandwidth if string things are stressed out in the in terms of
CPU of course it has low priorities.
So again, if there's lots of contention over processors it will be last in line,
so to speak or very far behind in terms of its ability to get CPU time
memory priority is something we haven't talked about just yet and I hope to
discuss that later in the course but essentially means the the importance
of physical pages used by the process.
So this process now has its physical pages less being less important,
which that if the system runs low on physical memory,
those pages belonging to Visual Studio are the ones going to be
moved out first to be used by other processes,
so they will not be retained for as long as it is or it would be for
other process that are not in background mode,
in order to get out of background mall,
we have to select a different priority class.
Like normal here and things will go back to well normal,
our priority will go back to normal, which is the default case.
Memory priority is five, which is also the default.
The values here are between zero and seven.
Like I said, we'll discuss that when we look at memory later on in this course.