New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

Slow start in Windows

General discussion

Slow start in Windows

Postby The waiter » Fri Apr 06, 2012 9:04 pm

I suggested this great app to my colleague. He is actually happy but when he needs from time to time to use it, the first start is enough slow under Windows. I use Linux and I have it almost instantly on my desktop. I checked it at my office in 2 core CPU with Win, and yes he is right. It is slow. Is here some possibility to improve first start speed? I know about only solution now. Switch to Linux from Windows:)
The waiter
 
Posts: 53
Joined: Sat Jun 18, 2011 9:26 pm

Re: Slow start in Windows

Postby Tvangeste » Sat Apr 07, 2012 12:53 pm

I use GoldenDict in portable mode, and both the Goldendict and all its dictionaries are installed on a fast SSD drive. This speeds up the cold start significantly for me.
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: Slow start in Windows

Postby ikm » Sat Apr 07, 2012 7:32 pm

Slow starts are usually the case when there are a *lot* of files within the specified dictionary paths. A common problem is when one puts all dictionary resources in the same folder as the dictionary itself. GD has to go through all of them when it starts.
ikm
Автор GoldenDict
 
Posts: 1592
Joined: Wed Feb 04, 2009 10:40 am

Re: Slow start in Windows

Postby The waiter » Sun Apr 08, 2012 5:02 pm

Under Linux I have one folder "GD dicts" and under them more subfolders with dictionaries. I have no problem with the speed. So, what do you recommend under Windows? More paths to different dictionary folders?
The waiter
 
Posts: 53
Joined: Sat Jun 18, 2011 9:26 pm

Re: Slow start in Windows

Postby ikm » Sun Apr 08, 2012 7:02 pm

I recommend either zipping all dsl resources or putting them into a <dictname>.dsl.files/ subdirectory.
ikm
Автор GoldenDict
 
Posts: 1592
Joined: Wed Feb 04, 2009 10:40 am

Re: Slow start in Windows

Postby The waiter » Mon Apr 09, 2012 7:10 pm

I have all dicts zipped by dictzip. Its still slow. I will play with portable version and let you know
The waiter
 
Posts: 53
Joined: Sat Jun 18, 2011 9:26 pm

Re: Slow start in Windows

Postby ikm » Mon Apr 09, 2012 10:00 pm

I'm not talking about the dictionaries themselves, but about their resources - additional files like .wav, .jpg etc referenced from within them.
ikm
Автор GoldenDict
 
Posts: 1592
Joined: Wed Feb 04, 2009 10:40 am

Re: Slow start in Windows

Postby Tvangeste » Tue Apr 10, 2012 4:21 pm

Here's my situation: I have about 120 dictionaries installed. Some are big, some are medium-size. Indexes take about 600Mb. On a regular HDD drive, it takes about 15-20 seconds for the GoldenDict to start-up for the first time (cold start). Restarts are very fast, fully closing and the starting Goldendict again takes less than a second.

This shows that the hard disk is a bottleneck. Starting from the SDD disks is much, much faster though.
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: Slow start in Windows

Postby The waiter » Wed Apr 11, 2012 9:31 am

Hmm, I have cca 10 dictionaries but without any wav or jpeg. I have just Stardict or dsl.dz structures. As I said in Windows it takes more time (cca 10 secs at first run after boot) but under Linux it is just 1 sec. Maybe it is related to GTK or QT4 libraries which are better impelemented in Linux and ported in Windows. But you are developers, you should know...
The waiter
 
Posts: 53
Joined: Sat Jun 18, 2011 9:26 pm

Re: Slow start in Windows

Postby Tvangeste » Wed Apr 11, 2012 11:26 am

The waiter, hmm, something is not right in your case. For just 10 dictionaries, the startup should be pretty fast, even on Windows.

Please check that your dictionary path setting is correct and doesn't include folders with deep nested sub-folders or something like that (for example, folders with huge about of various files).

Ideally, all 10 dictionaries should be placed in a single folder, and that folder should be set in the dictionary path settings, without recursion into sub-folders. This should be the fastest way.
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Next

Return to General

Who is online

Users browsing this forum: No registered users and 55 guests