CPU usage expected during search?
CPU usage expected during search?
What is the typical CPU usage expected during searches please? It may be that I've not previously noticed such heavy usage, but my searches this morning seem to use 40-100% and take an unduly long time to complete. Are there any particular settings I should check that may have inadvertently been altered?
Terry, UK
Terry, UK
Re: CPU usage expected during search?
How many files, what is your search, & are your particular search parameters indexed (like fast size sort...)?
Actually, if you map CPU usage (Process Hacker, Process Explorer), usage itself can be high (up to 75% or so), but duration is minimal to the point where system performance would not be impacted (in a general sense).
Actually, if you map CPU usage (Process Hacker, Process Explorer), usage itself can be high (up to 75% or so), but duration is minimal to the point where system performance would not be impacted (in a general sense).
Re: CPU usage expected during search?
Thanks, prompted by that I repeated one of my searches:
*hf*.pdf c:
That took 38 secs, with CPU usage in the 70-90% range.
However ... I think I found the cause. Somehow Match Path had become enabled. Removing it got the run down to 3 s, and as you say that was so fast I didn't even get around to looking at CPU.
*hf*.pdf c:
That took 38 secs, with CPU usage in the 70-90% range.
However ... I think I found the cause. Somehow Match Path had become enabled. Removing it got the run down to 3 s, and as you say that was so fast I didn't even get around to looking at CPU.
Re: CPU usage expected during search?
No, something is not right (on your end).
38 sec is unheard of.
3 sec is far far too long.
We should be talking milliseconds.
38 sec is unheard of.
3 sec is far far too long.
We should be talking milliseconds.
Re: CPU usage expected during search?
How many files is Everything indexing?
A normal search should take about 15 milliseconds per 1 million files.
A match path search should take about 50 milliseconds per 1 million files.
wildcards will make the search slower.
Searching can be really slow if Everything is being paged to and from disk.
How much memory is Everything using? and how much memory is available?
Have you modified your Everything filter? Search Menu -> Organized Filters -> Everything -> Edit... -> Search should be empty.
A normal search should take about 15 milliseconds per 1 million files.
A match path search should take about 50 milliseconds per 1 million files.
wildcards will make the search slower.
Searching can be really slow if Everything is being paged to and from disk.
How much memory is Everything using? and how much memory is available?
Have you modified your Everything filter? Search Menu -> Organized Filters -> Everything -> Edit... -> Search should be empty.
Re: CPU usage expected during search?
Thanks.
About 850,000 files on C: (SSD) and 1.3 million on D: Other external drives are indexed too, but irrelevant in the context of my examples.
Nothing modified in Everything filter.
Most searches are 'instant'. I haven't yet had another around 38 s but consistently get about 4 sec for the type of examples I gave:
*hf*.pdf c: 4s
*discovery*.pdf d: 5s
Removing the initial asterisk restores 'instant' performance.
About 850,000 files on C: (SSD) and 1.3 million on D: Other external drives are indexed too, but irrelevant in the context of my examples.
Nothing modified in Everything filter.
Most searches are 'instant'. I haven't yet had another around 38 s but consistently get about 4 sec for the type of examples I gave:
*hf*.pdf c: 4s
*discovery*.pdf d: 5s
Removing the initial asterisk restores 'instant' performance.
Re: CPU usage expected during search?
Interesting.
I am getting about 10 seconds with that search.
Match whole word drops it to 3
removing the period or putting a space before it makes it about instantaneous
I am getting about 10 seconds with that search.
Match whole word drops it to 3
removing the period or putting a space before it makes it about instantaneous
Re: CPU usage expected during search?
Huh, what?
I'm on XP, e4300, 2GB RAM & see nothing like that.
I'm on XP, e4300, 2GB RAM & see nothing like that.
Re: CPU usage expected during search?
Its the that does it.
Searching for *hf*.pdf and Checking Match Whole Filename When Using Wildcards (which is the same logical search) is instantaneous.
Of course just omitting the "*" is also the same and instantaneous
Code: Select all
*anything*.
Searching for *hf*.pdf and Checking Match Whole Filename When Using Wildcards (which is the same logical search) is instantaneous.
Of course just omitting the "*"
Code: Select all
hf ext:pdf
Re: CPU usage expected during search?
Care to post you Everything.ini?
(I don't think there is anything "personal" in there. Skim through. I didn't notice anything.)
(I don't think there is anything "personal" in there. Skim through. I didn't notice anything.)
Re: CPU usage expected during search?
You're right, good find!
But what exactly does "Match Whole Filename When Using Wildcards " mean? I'm using asterisks because I don't know the whole filename.
But what exactly does "Match Whole Filename When Using Wildcards " mean? I'm using asterisks because I don't know the whole filename.
Re: CPU usage expected during search?
Not sure if you meant me or froggie (or both) but here's mine:
https://www.dropbox.com/s/2nn695xjlqv1t ... g.ini?dl=0
Re: CPU usage expected during search?
@terrypin
You don't need the asterisks. Everything will match a search string wherever it appears. So "hf" will match "hf", "abchf", abchfdefg", etc.
The search string is all you need.
is fewer keystrokes and will also work in most cases, although it will find files like "xxxhfxxx.pdf.doc"
Code: Select all
But what exactly does "Match Whole Filename When Using Wildcards " mean? I'm using asterisks because I don't know the whole filename.
The search string
Code: Select all
hf ext:pdf
Code: Select all
hf .pdf
Re: CPU usage expected during search?
No issues here (3MB wmv).
https://drive.google.com/file/d/15CMfep ... sp=sharing
https://drive.google.com/file/d/15CMfep ... sp=sharing
Re: CPU usage expected during search?
I used just whatever was in your Everything.ini (which I hope was its "slow" mode).But I'm guessing you have "Match Whole Filename When Using Wildcards " enabled?
OK, so you did have (Tools | Options | General -> Search) 'Match whole filename when using wildcards' enabled.
Disabling that, & searching using wildcards was noticeably slower, but still not 3 seconds, much less anything more then that.
Re: CPU usage expected during search?
May depend on what you're trying to get out.do we ever need asterisks?
Code: Select all
ncmain .exe
Code: Select all
NCMAIN.EXE
NCMAIN.EXE.7z
NCMAIN.EXE.not
Google Search_ ncmain.exe.url
nc.exe ncmain.txt
Code: Select all
ncmain*.exe
(But, it could find more - if I happened to have some other file name that matched the pattern, like, "ncmainisthebomb.exe".)
Re: CPU usage expected during search?
Code: Select all
So, do we ever need asterisks?
But even in this case I would start with "xxx yyy" and see if there is a need to use a more complex search - often this will find what I need without creating a more complex search.
Re: CPU usage expected during search?
Thanks, understood.froggie wrote: ↑Fri Mar 13, 2020 8:50 pmMaybe in the middle of a string: "xxx*yyy"Code: Select all
So, do we ever need asterisks?
But even in this case I would start with "xxx yyy" and see if there is a need to use a more complex search - often this will find what I need without creating a more complex search.