This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

?[TC 8.50x32] Local directory reading is too slow!
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> TC Behaviour which will not be changed Printable version
View previous topic :: View next topic  
Author Message
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 7851
Location: Valsted, Denmark

PostPosted: Thu Mar 13, 2014 4:15 pm    Post subject: Reply with quote

Quote:

System: i7; Win8.1 64bit; SSD 256Gb


What's i7 ?
_________________
#524
Danish Total Commander Translator
TC 9.20 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.91b3 on Android 6.0

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
HolgerK
Power Member
Power Member


Joined: 26 Jan 2006
Posts: 4822
Location: Europe, Aachen

PostPosted: Thu Mar 13, 2014 4:34 pm    Post subject: Reply with quote

petermad wrote:
What's i7 ?


http://www.intel.com/content/www/us/en/processors/processor-numbers.html

Regards
Holger
Back to top
View user's profile Send private message Send e-mail
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 7851
Location: Valsted, Denmark

PostPosted: Thu Mar 13, 2014 4:42 pm    Post subject: Reply with quote

2HolgerK

Thanks Smile
_________________
#524
Danish Total Commander Translator
TC 9.20 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.91b3 on Android 6.0

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
betamaster
Junior Member
Junior Member


Joined: 27 Feb 2014
Posts: 13

PostPosted: Thu Mar 13, 2014 9:02 pm    Post subject: Reply with quote

ghisler(Author) wrote:
Hmm, really strange that this is slow. Are you in a Windows domain? Or a remote desktop environment? I just wonder why this operation is so slow for a few people, but not for most others...


Use Remotely,also use Virtual Windows in Linux - These two were having lags morely..
Windows enviroment directly - lesser lags at times

After editing - No lags Smile

wincmd.ini
[Configuration]
TestIfSharedDir=0
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35943
Location: Switzerland

PostPosted: Fri Mar 14, 2014 11:10 am    Post subject: Reply with quote

2Hemlikevew
I need more info - your case seems to be different from the other posts in this thread. Please let me know when you find out someting with Process Monitor.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Hemlikevew
Junior Member
Junior Member


Joined: 13 Mar 2014
Posts: 7

PostPosted: Sat Mar 15, 2014 4:35 am    Post subject: Reply with quote

More info after a number of tests:

Lags seems due to Windows Defender start scanning "open with" associated exe for files in dir as per Process Monitor log.

First time on dir open the TC receiving DefaultIcon path then accessing associated exe and here MsMpEng.exe jumps in scanning associated exe and lag therefore.

The different behaviour noted for TCx32 and TCx64 (dir with 8 subdirs; 1 pdf; 4 jpg):

TCx32: Open dir in TCx32 and subdirs to appear immidiately then PDF file to appear after scan then 4 JPG files to appear altogether.
TCx64: Open dir in TCx64 and its content to appear altogether after scan.

Same behaviour noted on 2 different PC: desktop i7; Win 8.1x64; SSD (initial problem here) and notebook i7; Win 8.1x64; SSD (copied dir with 1 pdf and 4 jpg there).

Files in dir: 1 pdf 160kb; 1st jpg 409kb; 2nd jpg 1mb; 3rd jpg 1mb; 4th jpg 202kb so nothing special.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35943
Location: Switzerland

PostPosted: Sun Mar 16, 2014 5:10 am    Post subject: Reply with quote

Indeed associations like pdf (no per file icon) are always loaded in ther foreground - it has been like this for many years. I don't see why this should suddenly be slower in TC 8.5 than TC 8.0...
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Hemlikevew
Junior Member
Junior Member


Joined: 13 Mar 2014
Posts: 7

PostPosted: Sun Mar 16, 2014 6:36 am    Post subject: Reply with quote

ghisler(Author) wrote:
Indeed associations like pdf (no per file icon) are always loaded in ther foreground - it has been like this for many years. I don't see why this should suddenly be slower in TC 8.5 than TC 8.0...

Indeed not related only to 8.5, seems like coincidence. Sorry, not tested problem from all sides at beginning. Problem is solved for me. Many thanks.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35943
Location: Switzerland

PostPosted: Mon Mar 17, 2014 8:57 am    Post subject: Reply with quote

I will probably move that to a background thread too in the future, but it could mean more blank icons for many files until the icons are loaded...
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Hemlikevew
Junior Member
Junior Member


Joined: 13 Mar 2014
Posts: 7

PostPosted: Mon Mar 17, 2014 1:55 pm    Post subject: Reply with quote

ghisler(Author) wrote:
I will probably move that to a background thread too in the future, but it could mean more blank icons for many files until the icons are loaded...

IMHO it seems better to await for icons than await for dir content keeping in mind potential solution selecting only standard icons to show (or even no icons). Not sure how other antiviruses act, but Windows Defender being included as common Windows feature cause noticeable delay.
Back to top
View user's profile Send private message
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 7851
Location: Valsted, Denmark

PostPosted: Mon Mar 17, 2014 2:33 pm    Post subject: Reply with quote

Quote:
IMHO it seems better to await for icons than await for dir content


I agree.
_________________
#524
Danish Total Commander Translator
TC 9.20 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.91b3 on Android 6.0

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35943
Location: Switzerland

PostPosted: Tue Mar 18, 2014 11:03 am    Post subject: Reply with quote

Making that change will be a LOT of work, so I cannot say yet when I will find the time...
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35943
Location: Switzerland

PostPosted: Wed Mar 19, 2014 2:20 pm    Post subject: Reply with quote

I have now partially implemented this: Icons from system associations will now be loaded in a separate background thread (not the thread used for EXE icons, thumbnails etc, that was too slow). Icons defined in internal associations are not yet loaded in a background thread, this has been postponed to a later beta.

Furthermore, I'm now using a different method to check whether folders are shared or not (this only applies when overlay icons are off): I'm now building a list of all shares with NetShareEnum, and then check this list instead of calling a separate Windows function for each folder. This has the downside that shares will not be found when using 8.3 names, but I think that this is an acceptable loss.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Hemlikevew
Junior Member
Junior Member


Joined: 13 Mar 2014
Posts: 7

PostPosted: Thu Mar 20, 2014 11:58 am    Post subject: Reply with quote

Tested beta 4 and dir content appears immidiately all the time. On other hand the most of icons are "missing" after nearly each TCx64 close-open until some panels related activity (many different scenarios observed) despite antivirus (e.g. Windows Defender) enabled or turned off. The only way to reveal the icon for sure is to place cursor on the file for current implementation.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35943
Location: Switzerland

PostPosted: Fri Mar 21, 2014 11:24 am    Post subject: Reply with quote

This is a known bug in the 64-bit version which will be fixed in beta 5. You may try the 32-bit version, there is should work fine with icon sizes smaller than 32x32 (up to 31x31).
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC Behaviour which will not be changed All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group