Far 3 significantly slower

You want to talk about Far Manager, but don't know where to turn?
unodgs
Posts: 2
Joined: Sat 13 Feb, 2010 16:06

Far 3 significantly slower

Post by unodgs » Sat 21 Jul, 2012 12:03

Hi!
I really love Far, but the latest version is significantly slower than version 2. Especially on folder changing. I have two fars running side by side (similar plugins, same window size and same font). In Far2 changing folder is almost instantly,in Far3 I can feel meaningful difference. It is better visible if I keep holding enter. The difference is visible on my home desktop (win7 32b, 2GB Ram, athlon 64 x2 1800Mhz) and laptop (core duo p8600 2.4 Ghz, win7 64b, 4 GB ram). Only in my office (quad core intel, 8Gb ram) far3 is working fast. Does anyone of you experience the same?

User avatar
HaRT
Moderator
Posts: 8118
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 68 times
Been thanked: 107 times

Re: Far 3 significantly slower

Post by HaRT » Sat 21 Jul, 2012 13:04

To perform clear measurements, you have to run both FAR2 and FAR3 without any plugins and macros, set exactly the same panel modes and do exactly the same actions. To avoid performance effects of file system caching, you have to run each FAR version after rebooting the system (definitely, with heavy background applications disabled). Please post what exactly you've done (how many times has the directory been changed, how many files is there, what are panel modes, etc) and the timings.
Фар есть инструмент, а не нянька. © 2009 DrKnS

User avatar
DrKnS
Posts: 4646
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 4 times
Been thanked: 125 times
Contact:

Re: Far 3 significantly slower

Post by DrKnS » Sat 21 Jul, 2012 13:20

It is better visible if I keep holding enter
When you enter directory, far stores its name in history.
v2 stores the history in the windows registry, v3 stores it in the sqlite database, which can work a bit slower, especially when combined with slow storage devices such as flash drives or with some poorly coded anti-virus software.

Try to disable folder history in options/system settings to be sure.

User avatar
HaRT
Moderator
Posts: 8118
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 68 times
Been thanked: 107 times

Re: Far 3 significantly slower

Post by HaRT » Sat 21 Jul, 2012 13:48

DrKnS wrote:v3 stores it in the sqlite database
Can these operations be queued in the background to avoid users' waiting for their completion?
Фар есть инструмент, а не нянька. © 2009 DrKnS

User avatar
DrKnS
Posts: 4646
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 4 times
Been thanked: 125 times
Contact:

Re: Far 3 significantly slower

Post by DrKnS » Sat 21 Jul, 2012 14:14

Maybe.

User avatar
techie
Posts: 761
Joined: Mon 03 Oct, 2005 22:42
Has thanked: 28 times
Been thanked: 2 times

Re: Far 3 significantly slower

Post by techie » Thu 26 Jul, 2012 06:52

DrKnS wrote:When you enter directory, far stores its name in history.
v2 stores the history in the windows registry, v3 stores it in the sqlite database, which can work a bit slower, especially when combined with slow storage devices such as flash drives or with some poorly coded anti-virus software.

Try to disable folder history in options/system settings to be sure.
OMG. Does that mean Far constantly rapes my precious SSD? This really-really-really suxx. Can I see how much times it writes to disk and to which sectors? Can I have a delayed write or "write on exit" or only store folder history in memory. Turning it off completely is not an option.

2useven10
Posts: 3045
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 2 times
Been thanked: 84 times

Re: Far 3 significantly slower

Post by 2useven10 » Thu 26 Jul, 2012 14:30

Ask your operating system about it.
It is theirs (OS and SSD) personal business.

Kirillony
Posts: 183
Joined: Tue 24 Jan, 2006 18:49
Has thanked: 1 time

Re: Far 3 significantly slower

Post by Kirillony » Thu 26 Jul, 2012 18:53

unodgs
I suggest you try ReadOnlyConfig=1 in Far.exe.ini It's so fast.

ujos
Posts: 30
Joined: Fri 27 Apr, 2012 15:10

Re: Far 3 significantly slower

Post by ujos » Mon 30 Jul, 2012 09:28

IF far is really significantly slower, it will be great to have an option to choose properties storage type: sqlite, registry, file...

unodgs
Posts: 2
Joined: Sat 13 Feb, 2010 16:06

Re: Far 3 significantly slower

Post by unodgs » Sun 05 Aug, 2012 10:45

It's me again. Running far without macros did not help. Nothing changed. No matter what directory I enter in (full of files or with only a few) Far3 is always slower than Far2. But I tried this ReadOnlyConfig=1 (thanks Kirillony!) and that helped. What a noticeable difference! Now Far3 speed is the same as Far2. But am I loosing something by settings this flag on?

2useven10
Posts: 3045
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 2 times
Been thanked: 84 times

Re: Far 3 significantly slower

Post by 2useven10 » Sun 05 Aug, 2012 10:53

all configuration databases opened in-memory so,
all your setting changes will take effect only in current session,
when your close far it will be lost.

User avatar
HaRT
Moderator
Posts: 8118
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 68 times
Been thanked: 107 times

Re: Far 3 significantly slower

Post by HaRT » Sun 05 Aug, 2012 13:50

Фар есть инструмент, а не нянька. © 2009 DrKnS

far3user
Posts: 1
Joined: Fri 05 Apr, 2013 09:48

Re: Far 3 significantly slower

Post by far3user » Fri 05 Apr, 2013 09:52

Hi all,
I love Far3, but I agree, that saving history to the database can be done by asynchronous/backround way.
On my computer with SSD it is unusable slooooow, when enabled.
If I disable it in options, Far3 is much more faster (as Far2).

Continue with your great job.
Cheers, Jan

User avatar
t-rex
Страшный и ужасный
Posts: 4872
Joined: Tue 15 Mar, 2005 16:17
Location: Tel-Aviv
Contact:

Re: Far 3 significantly slower

Post by t-rex » Wed 10 Apr, 2013 09:06

Done, does it feel better?

soso
Posts: 5
Joined: Thu 04 Apr, 2013 10:09

Re: Far 3 significantly slower

Post by soso » Wed 10 Apr, 2013 10:25

t-rex wrote:Done, does it feel better?
I just upgraded to latest nightly build and yes it's better. One q, the history is still saved in db?

User avatar
t-rex
Страшный и ужасный
Posts: 4872
Joined: Tue 15 Mar, 2005 16:17
Location: Tel-Aviv
Contact:

Re: Far 3 significantly slower

Post by t-rex » Wed 10 Apr, 2013 10:38

Yes, nothing changed, it's just async.

Post Reply

Return to “General Discussions”