Fluent-Search icon indicating copy to clipboard operation
Fluent-Search copied to clipboard

[Bug] Unusually high idle CPU usage when running in background despite using Everything for file indexing

Open samipfjo opened this issue 3 years ago • 10 comments

Describe the bug Fluent uses 0.2-1.5% CPU when idling in the background. I'm using Everything for file indexing; listening for a keypress should not take this much CPU.

To Reproduce Steps to reproduce the behavior:

  1. Run Fluent in background
  2. Check CPU usage in Task Manager

Expected behavior Should use 0.0-0.1% CPU

Desktop (please complete the following information):

  • Windows 11 21H2 (22000.778)
  • Latest stable Fluent build from .exe installer on website, July 8th 2022

samipfjo avatar Jul 08 '22 20:07 samipfjo

I was just about to open a bug about this, i just switched to the indexer to Everything but i noticed that the cpu usage remains the same.

There was 2 processes before, one that was using 0.1% and the other that takes 0.7%-1% when idling, once switching the indexer to Everything, the process that was using 0.1% disappeared and the one that used 0.7%-1% remained, so this one must be the app itself and the other the indexer probably.

Is there any downsides to using the Everything indexer instead of the one built in ? I already have it running in the background and it would prevent wasting system resources on two different indexers, but maybe Fluent works better with its own indexer ? I'm not really sure, i'd like the dev to answer this.

0.7%-1% in idle may not be big for some people, but on laptops it's a deal breaker because of the battery life.

KyroOW avatar Jul 09 '22 00:07 KyroOW

@KyroOW I'm of the same mindset; already had Everything running so I might as well use it. Same situation here too, trying to save laptop battery.

samipfjo avatar Jul 09 '22 02:07 samipfjo

@lukepfjo @KyroOW thanks for the feedback. The Fluent Search file indexer has better integration with Fluent Search, for improved performance while searching. I suggest using it unless you're used to Everything query language, or need file content indexing, it will lead to overall less power consumption as file searching using Everything is more CPU intensive.

As for the background idle issue, it can be caused by two things, it would help me if you can do the following -

  1. Open Fluent Search system tray menu and select Enable gaming mode, observe CPU usage
  2. In Settings -> System -> Disable Use GPU, click restart and observe CPU usage (don't forget to revert it afterwards) Let me know if any of these solve the CPU usage for you.

Thanks!

adirh3 avatar Jul 09 '22 08:07 adirh3

Disabling Use GPU didn't change much but enabling gaming mode reduced the usage to 0.2% with occasional spikes to 0.5%, disabled it and it's back to using around 1%.

KyroOW avatar Jul 09 '22 10:07 KyroOW

@KyroOW @lukepfjo if you're not using Process search, I suggest disabling it in Settings -> Processes, as it will reduce background CPU usage. Either way I will keep improving background performance with the next updates.

adirh3 avatar Jul 10 '22 08:07 adirh3

How did you tell Fluent Search to use Everything as it's indexer?? I have used Everything for YEARS, but only just heard about Fluent Search. It looked pretty decent, so I tried it out. But when I couldn't figure out how to set Everything as it's default indexer, I immediately uninstalled it. Not worth the hassle.

PwrSrg avatar Sep 24 '22 05:09 PwrSrg

How did you tell Fluent Search to use Everything as it's indexer?? I have used Everything for YEARS, but only just heard about Fluent Search. It looked pretty decent, so I tried it out. But when I couldn't figure out how to set Everything as it's default indexer, I immediately uninstalled it. Not worth the hassle.

Hey to use Everything indexer open Settings -> Files -> File indexer -> Select Everything

adirh3 avatar Sep 24 '22 18:09 adirh3

AHH, no wonder I couldn't find it. That is buried! 😬

Now if I could just figure out how to tell it to ONLY open on my main display. 🙃

Thanks.

PwrSrg avatar Sep 24 '22 21:09 PwrSrg

AHH, no wonder I couldn't find it. That is buried! grimacing

Now if I could just figure out how to tell it to ONLY open on my main display. upside_down_face

Thanks.

To do that open Settings -> System -> Startup position, set to Display center. Feel free to join the Discord server, you can ask anything there and will get faster replied - https://discord.gg/W2EuWvD6GD

adirh3 avatar Sep 25 '22 06:09 adirh3

This issue has been potentially fixed in version 1.0.0.11 . Changelog - https://install.appcenter.ms/users/adirh3-gmail.com/apps/fluent-search-alpha/distribution_groups/exe

adirh3 avatar Aug 27 '23 21:08 adirh3