Does Ctrl-L use Everything?

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Does Ctrl-L use Everything?

Post by *Hacker »

Hi,
TC 9.50b8 x64, Windows 10 v1903 x64.
I select four dirs in the root of a drive, press Ctrl-L to calculate the occupied space. I can hear the HDD start working away and it takes TC 1 minute 39 seconds to show the result. Everything does have the sizes of those dirs indexed but TC does not seem to use it. Why?
Configuration - Options - Operation - Calculate space occupied by subdirectories - 'Everything' is enabled.
Configuration - Options - Ignore List is disabled.
Perhaps TC does not detect Everything correctly on my PC? How do I check? Everything runs as a service.

Secondary question - should it take so long even if Everything is not used? 4 dirs, 40 920 subdirs, 612 169 files -> 1 minute 39 seconds.

TIA
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Does Ctrl-L use Everything?

Post by *Hacker »

A user on the Slovak / Czech forum reports that for counting the size of 6692 folders it takes:
TC 32-bit - 55 seconds
TC 64-bit - 6 minutes 36 seconds
Double Commander - 3 seconds

No info about caching or ignore list or the like, though.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Does Ctrl-L use Everything?

Post by *ghisler(Author) »

Ctrl+L doesn't use Everything. Alt+Shift+Enter does.
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Does Ctrl-L use Everything?

Post by *tuska »

2Hacker
With these settings, you are on the safe side - not only on this topic:
☑ Start Everything on system startup
☐ Run as administrator
☑ Everything Service

☑ Index file size
☑ Index folder size

Personally, I have currently turned on all but these options under "Indexes":
☐ Multi-user database filename
☐ Compress database

For about 100,000 files in about 10,000 subdirectories after ALT+Shift+Enter
the result of the file sizes appears almost instantaneously.
Even when selecting folders with the spacebar, the file size is displayed immediately.


Windows 10 Pro (x64) Version 1909 (OS build 18363.476)
Intel(R) Core(TM) i7-4770 CPU @ 3.4OGHz, 16 GB RAM
TC 9.50ß8 x64/x86 | Everything - Version 1.4.1.958 (x64)
☑ 'Everything' | Search queries: TC <=> 'Everything'
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Does Ctrl-L use Everything?

Post by *Hacker »

Christian,
I see. Could Ctrl-L also make use of Everything, please?
Also, the question about slowness remains, especially in light of what user TesterTC wrote:
TC 32-bit - 55 seconds
TC 64-bit - 6 minutes 36 seconds
Double Commander - 3 seconds
Tuska,
Thank you, I have it set up in a similar way.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Does Ctrl-L use Everything?

Post by *tuska »

Hacker wrote:Could Ctrl-L also make use of Everything, please?
I would like to keep CTRL+L in its current form (TC method).
Hacker wrote:Also, the question about slowness remains,...
- For me, it looks like this that this user would not use 'Everything' at all (he didn't mention it...).

- Usually problems arise when users have checked "Run as administrator" and "Everything Service".
    Which settings does the user have?
    See also: Installing Everything
- Was the drive indexed in 'Everything'? E.g. Indexes - NTFS - Settings for X: (X:) ... ☑ Include in database
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Does Ctrl-L use Everything?

Post by *tuska »

Hacker wrote:Also, the question about slowness remains,...
That's strange.

With cm_CountDirContent TC 9.50ß8 x64 and TC 9.22a x64 requires here with me for approx. 10,000 directories
on drive D: and drive I: (no SSD!), namely
- Drive D: Total space occupied: 304 634 659 311 bytes in 95 528 file(s), in 10 089 directories (283G)
- Drive I: Total space occupied: 304 634 624 183 bytes in 95 525 file(s), in 10 087 directories (283G)
only about 15 seconds each! (After PC restart)
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Does Ctrl-L use Everything?

Post by *Hacker »

tuska,
I would like to keep CTRL+L in its current form (TC method).
What is the advantage?

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Does Ctrl-L use Everything?

Post by *tuska »

Hacker wrote: 2019-12-06, 18:55 UTC tuska,
I would like to keep CTRL+L in its current form (TC method).
What is the advantage?

Roman
- I have a comparison between TC and 'Everything' regarding space consumption
- I am shown the number of files and subdirectories
- The required space on the destination drive is also displayed

If this data can also be displayed with CTRL+L under using of 'Everything', then I support this proposal.
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Does Ctrl-L use Everything?

Post by *Hacker »

tuska,
Well, you can always turn off using Everything, in that case.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
NotNull
Senior Member
Senior Member
Posts: 269
Joined: 2019-11-25, 20:43 UTC
Location: NL

Re: Does Ctrl-L use Everything?

Post by *NotNull »

Use Alt-Enter?
(minus the disk statistics)
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Does Ctrl-L use Everything?

Post by *tuska »

2Hacker
I would suggest
- that one leave Ctrl+L as it is and
- a new shortcut for using TC and 'Everything', e.g. CTRL+SHIFT+L

2NotNull
Unfortunately, the shortcut ALT+ENTER is already taken for "Show property sheet." (See Help menu - Keyboard)
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Does Ctrl-L use Everything?

Post by *Hacker »

tuska,
the shortcut ALT+ENTER is already taken for "Show property sheet."
I guess that was the point - to use Alt-Enter instead of Ctrl-L if one does not want to use Everything for space calculation.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Does Ctrl-L use Everything?

Post by *petermad »

TC 32-bit - 55 seconds
TC 64-bit - 6 minutes 36 seconds
Double Commander - 3 seconds
The difference could be due to caching.

Here are tests from 3 drives of mine:
C: Total space occupied: 93.137.268.978 bytes in 204.143 file(s), in 21.830 directories (NTFS)
65 seconds first time after reboot, 7 seconds second time (cached)

G: Total space occupied: 352.957.204.408 bytes in 195.437 file(s), in 14.306 directories (NTFS)
56 seconds first time after reboot, 5 seconds second time (cached)

F: Total space occupied: 20.360.196.433 bytes in 86.154 file(s), in 6.793 directories (FAT32)
18 seconds first time after reboot, 2 seconds second time

Tested with TC 9.5b8 x64 on a Windows 7 PC with an ordinary SCSI harddisk, and an Intel i7-4790, 3.60GHz processor.

The number of directories on my drive F: corresponds to TesterTC's - and the speed after caching is a little better than what TesterTC gets for Double Commander - so I think there is a big chance that TesterTC tested in Double Commander AFTER he tested in TC.

32bit TC shows similar speed results - and so does Windows Explorer using Alt+Enter
Last edited by petermad on 2019-12-07, 02:38 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
NotNull
Senior Member
Senior Member
Posts: 269
Joined: 2019-11-25, 20:43 UTC
Location: NL

Re: Does Ctrl-L use Everything?

Post by *NotNull »

Hacker wrote: 2019-12-06, 23:41 UTC tuska,
the shortcut ALT+ENTER is already taken for "Show property sheet."
I guess that was the point - to use Alt-Enter instead of Ctrl-L if one does not want to use Everything for space calculation.
Good guess :)
(the General tab of that property sheet shows for a folder: Size, Size on disk, Number of folders, Number of files )
Post Reply