Is there a way to avoid Everything using 80 % of CPU?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Biff
Posts: 1158
Joined: Mon May 25, 2015 7:09 am

Is there a way to avoid Everything using 80 % of CPU?

Post by Biff »

Is there a way to avoid Everything using 80 % of CPU (when searching for content):
Image
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Is there a way to avoid Everything using 80 % of CPU?

Post by NotNull »

Everything has an option to limit the number of threads when doing a content search:
content_max_threads

The maximum number of threads to use when content searching.
Set to 0 to use the maximum available. (default)

The default value equals the number of logical processors.
To get the number of logical processors on your system, run the following command on the CMD prompt:

Code: Select all

wmic cpu get NumberOfLogicalProcessors
So lets say there are 8 logical processors in your system, you can set content_max_threads to 4 to divide the CPU load in half (roughly).
Or simply set it to 1 to minimize the load on the system.

Obviously content searches will take a longer time this way.



To change the value of content_max_threads:
  • Go to Menu:Tools => Options => Advanced
  • In the Show Settings containg: field, type threads
  • Select content_max_threads
  • Change it to the desired value, for example 1
  • Press OK
You might need to restart Everything after changing this value.
Biff
Posts: 1158
Joined: Mon May 25, 2015 7:09 am

Re: Is there a way to avoid Everything using 80 % of CPU?

Post by Biff »

Thank you very much!

So content_max_threads works for content searches only.

So there are 12 of them:
Image
Obviously content searches will take a longer time this way.
Yes, the drawback. I will try some different amounts of processors. Content searching with 80 % CPU already lasts some time. Maybe depending on the entire RAM and CPU use.

Many thanks again!
Post Reply