Page 1 of 2

Spring.exe huge delay on startup

Posted: 31 Jan 2010, 14:03
by srapop
takes ages to start the program,all of sudden.
pretty much exactly 40 to 45 sec.
(which get you out of teamgames :P )
i tested it both with start from the lobby and by mouse click.

my specs:
Windows 7 RC (32 bit)
ATI Radeon X1200
AMD Turion 64 x2 Mobile Technology TL 60
2 gb ram

thx in advance :P

Re: Spring.exe huge delay on startup

Posted: 31 Jan 2010, 23:57
by hoijui
what do you mean with start?
till the window first shows up, till it starts loading, till you are in-game. what maps/mods, which parts seem to take long, is CPU/HD usage high or low during all this time, ...

Re: Spring.exe huge delay on startup

Posted: 31 Jan 2010, 23:57
by aegis
repathing on new release?

Re: Spring.exe huge delay on startup

Posted: 31 Jan 2010, 23:59
by hoijui
:D doh!
yeah that would be the most obvious one of course.
try loading the same map two times in a row. is it faster the second time?

Re: Spring.exe huge delay on startup

Posted: 01 Feb 2010, 17:38
by srapop
hoijui wrote:what do you mean with start?
till the window first shows up, till it starts loading, till you are in-game. what maps/mods, which parts seem to take long, is CPU/HD usage high or low during all this time, ...
till the window shows up.CPU is quite high,goes to 95% and it usually (without spring) is at about 65.
the loading speed and ingame, everything feels smooth.
i use the older version,80.5.2.

Re: Spring.exe huge delay on startup

Posted: 01 Feb 2010, 18:47
by bartvbl
I got the same problem
See attachment:
on the left is the time before I start spring, then the huge increase is spring starting up, then it lowers again when the window pops up. This is the latest version.
Quad core, vista

I used to have the problem with the previous version as well.

Re: Spring.exe huge delay on startup

Posted: 02 Feb 2010, 01:05
by zerver
It is Windows that phones home to Bill Gates and asks him if Spring is a trusted application, but he's slow to answer.

Re: Spring.exe huge delay on startup

Posted: 03 Feb 2010, 10:31
by bartvbl
zerver wrote:It is Windows that phones home to Bill Gates and asks him if Spring is a trusted application, but he's slow to answer.
Now that explains it! :mrgreen:

Re: Spring.exe huge delay on startup

Posted: 03 Feb 2010, 11:00
by Gota
Yes,Yes,Yes!!!

Same issue.
I dont know how to recreate it but sometimes it takes spring a long time to launch.
When i say launch i don't mean map pathing i mean for it to start at all.
A game launches and i wait in the lobby for like 40 seconds for anything to happen.
And it's not just form the lobby even when just launching spring.exe manually.
I havent played enough using latest Spring to see if this is the same with the new version but it was a huge issue for me with the last version.

Again, i dont know when exactly this happens and its not cause i have tons of stuff running in the background cause i never do when i launch a game.

I have duel core intel,windows xp 32,ati 4850,2 gigs ram.

Re: Spring.exe huge delay on startup

Posted: 03 Feb 2010, 11:52
by Beherith
I know what causes this. You probably have a ton of .sdd directories, and unpacked mods and maps in your spring folders. Also, defragmenting the drive spring sits on seems to help.

Remove the unused .sdd dirs and other dirs from your maps and mods folders.

Re: Spring.exe huge delay on startup

Posted: 03 Feb 2010, 12:04
by Gota
Beherith wrote:I know what causes this. You probably have a ton of .sdd directories, and unpacked mods and maps in your spring folders. Also, defragmenting the drive spring sits on seems to help.

Remove the unused .sdd dirs and other dirs from your maps and mods folders.
Hmm,perhaps but shouldn't that cause this to occur every spring launch as oppose to only sometimes?
Or does it only do heavy calculations when i change stuff in an sdd folder?

Re: Spring.exe huge delay on startup

Posted: 03 Feb 2010, 12:05
by Beherith
Yep, it has to hash every file iirc. (might be wrong on this one)

Re: Spring.exe huge delay on startup

Posted: 03 Feb 2010, 14:43
by Tobi
.sdd is only rehashed when the directory timestamp changes.

This changes whenever a file is renamed/deleted/added in the directory (not in subdirectories).

It may be slow because it does have to stat all the files in maps/, mods/, packages/ and base/ to see if timestamp of any of them changed. If this file metadata is not cached yet it means quite a bit of disk access to fetch it.

Re: Spring.exe huge delay on startup

Posted: 03 Feb 2010, 16:27
by zerver
Actually I have seen this behavior occasionally and IIRC spring just sits there without any CPU or disk activity. I think this could have something to do with locked system resources, perhaps graphics driver related.

Re: Spring.exe huge delay on startup

Posted: 03 Feb 2010, 17:50
by srapop
Beherith wrote:I know what causes this. You probably have a ton of .sdd directories, and unpacked mods and maps in your spring folders. Also, defragmenting the drive spring sits on seems to help.

Remove the unused .sdd dirs and other dirs from your maps and mods folders.

i defragmented my disk the first time spring.exe launched slow.didnt make any change.
i had two .sdd folders,damned and evolution,which i renamed both to .spl :P then spring took "only" about 30 seconds.
what is an unpacked map or mod file?

Re: Spring.exe huge delay on startup

Posted: 03 Feb 2010, 18:09
by srapop
could be that the problem is in the /base directory.i moved three files which weren't spring base content.then it took like 15 sec.

Re: Spring.exe huge delay on startup

Posted: 06 Feb 2010, 10:17
by beejayzed
I've had this before with the archivecache file being recreated. Tasclient was using the wrong path case for some reason, causing Spring to recreate it whenever Tasclient rewrote it. A new Tasclient release fixed that particular problem, but there may be something else happening related to the cache file.

Try running procmon and see what's happening.

Re: Spring.exe huge delay on startup

Posted: 06 Feb 2010, 11:01
by Auswaschbar

Re: Spring.exe huge delay on startup

Posted: 06 Feb 2010, 12:27
by srapop
we are talking about Spring.exe very slow to launch at all;
i mean,independent of how you start it,it takes ages to at least show up the menu with "test the game" and "launch lobby".

Re: Spring.exe huge delay on startup

Posted: 06 Feb 2010, 14:19
by Beherith
Not related, Im not running an antivirus or firewall.