Page 1 of 1

Folder management sometimes very slow - how to turn off the use of tree3.far

Posted: Fri 20 Feb, 2015 12:22
by wh1tus
Hello everybody

a. Sorry for posting in English but my Russian is almost non-existant and I would hate to put you through it.
b. Sorry for the length of the post.

For some time I've experiencing an annoying problem in FAR Manager and would like to check with you, more experienced guys, if I am doing something totally wrong. I've been using FAR Manager extensively since versions 1.x and currently I am running the latest nightly builds of the v3.0 x86 version as they become available.

My issue involves major or to be less euphemistinc word -
freeze - during local folder-manipulating operations be it creation of new folder, moving a folder elsewhere or deletion. The length of the freeze can sometimes exceed tens (not tenths) of seconds so you can imagine it is becoming a hassle. Let me point out again that this happens on local drives so it is not caused by network latency or speed.

When this started happening I tried to determine the cause of the problem by using Sysinternals Process Monitor and came to a conclusion that it is connected to use of the tree3.far file as the FAR process seemed to spend a lot of time working with it. As I've understood it this file contains the drive folder hierarchy and is created either in the root of the drive or when the root is not writable in the FAR profile folder. Further tests seemed to suggest that if I delete the tree3.far file the problem disappears and returns when FAR recreates it. This would suggest that when \tree3.far file (or it's alternative in profile folder) exists FAR tries to update it on-the-fly to reflect all folder modifications that it performs.

Now, I use an applications that creates a large subfolder trees for photo previews so for example at this moment this NTFS partition (physically on a solid-state disk) has over 50,000 folders and the tree3.far file has a size of 117MB. Reading it or even updating it on-the-fly on every operation would result in enormous additional overhead. \

I tried different hacks like making the tree3.far file read only to prevent updates or create a folder of this name to prevent the file's creation altogether but the result was that FAR started giving an error message about not being able to create it.

My questions are:

1. Are there other ppl like me suffering from this and if so then have you been able to come up with a solution to this?
2. Is there a setting in FAR options (that I have blatantly missed) to turn off the use of the tree3.far caching mechanics altogether or for specific drives?

Thank you in advance and best of luck to you.
Jan

P.S. I am experiencing this issue on both of my computers. Their specs are:
Home computer - Intel Core2Duo 2.6GHz, 8GB RAM, Win 8.1 64bit, Intel SSD + traditional HDD
Laptop - Intel Core i5 2.6GHz, 8GB RAM, Win 8.1 64bit, Samsung SSD

Folder management sometimes very slow - how to turn off the use of tree3.far

Posted: Fri 20 Feb, 2015 21:17
by 2useven10
tree.far is annoying useless atavism in far3.
I do not know simple way to turn it off for now.
I've just created incident in far bug-tracker about that.
Probably it will be completely cut off from far3 code soon.

http://bugs.farmanager.com/view.php?id=2951 (in russian)

Folder management sometimes very slow - how to turn off the use of tree3.far

Posted: Fri 20 Feb, 2015 21:50
by Wave
2useven10 wrote:I do not know simple way to turn it off for now.
macros?

Folder management sometimes very slow - how to turn off the use of tree3.far

Posted: Fri 20 Feb, 2015 22:24
by wh1tus
2useven10 wrote:tree.far is annoying useless atavism in far3.
I do not know simple way to turn it off for now.
I've just created incident in far bug-tracker about that.
Probably it will be completely cut off from far3 code soon.

http://bugs.farmanager.com/view.php?id=2951 (in russian)
Thank you. I'd love to see it gone as well. Also, before I posted my question above, I'd tried looking for relevant threads on the forum but most of the live here goes on in the russian forum which is rather hard to understand for me.

Folder management sometimes very slow - how to turn off the use of tree3.far

Posted: Fri 27 Feb, 2015 16:56
by 2useven10
Wave wrote:macros?
1) Not simple
2) Didn't help if tree3.far already exists

Folder management sometimes very slow - how to turn off the use of tree3.far

Posted: Thu 28 May, 2015 10:34
by wh1tus
*BUMP*

Folder management sometimes very slow - how to turn off the use of tree3.far

Posted: Mon 15 Jun, 2015 14:42
by 2useven10
4392 -- Turn off by default.
far:config Panel.Tree.TurnOffCompletely = True