Page 1 of 1

How to reduce the CPU usage rate of Everything?

Posted: Sun Sep 29, 2019 8:25 am
by qianw
I was a bit confused about the CPU usage rate of Everything.
When I call EverythingSDK to query repeatedly, the Everything Client's CPU usage rate is up to 50%.
I'm not sure what caused it.

Re: How to reduce the CPU usage rate of Everything?

Posted: Mon Sep 30, 2019 10:58 am
by void
The Everything Client performs the search query.

Are you sending multiple queries at the same time via IPC?

Sending a new query with the SDK should cancel the current one (if it exists).

Are you sorting by a type that does not have fast sorting enabled? eg: Date created?

Can you give an example of the search queries?

Please try reducing the number of results returned by specifying a result offset and maximum result count in the SDK.

Please try using count:x in your search query to limit the number of results.
For example: count:100 foo bar
Note: that this can make the query much slower as it will only execute on one thread.

To reduce the number of threads Everything uses to perform a search query:
In Everything, type in the following search and press ENTER:
/threads=1

To use all available threads when performing a search query (the default)
In Everything, type in the following search and press ENTER:
/threads=0