Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Takes ages to save distant world

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Takes ages to save distant world Page: [1]
Login
Message << Older Topic   Newer Topic >>
Takes ages to save distant world - 7/12/2014 5:00:35 PM   
janamdo

 

Posts: 91
Joined: 6/19/2014
From: Netherlands
Status: offline
I am trying to find out some numbers for the objects in distant world and automate a lot for that purpose.
I takes now probably 10 to 15 minutes to save ..too long
The money went from 1.2 million to now minus 0.6 million ..the game must keep on running to see later the figures of the designed ships and other parts
I must get rid of the fleets .. i do have 8 now .. one button to scrap or retire the fleet?
Well to solve this..to reduce the fleet.. i try to attack... perhaps on the weakest neighbour to claim his territority
Multiple targets for the fleet to destroy all in the starsystem?
Fleetmanagement ... what is possible with a fleet(s) ?

Takes now 20 minutes to save..game is unplayable ( i must automatic save set off )what CPU (computerprocessor) i do need and how much memory.. i know this processor in my computer (AMD 4 core) is not strong in calculations
Perhaps a AMD upgrade ? .. motherboard is stiil capable for a stronger CPU, but i think i must be the newest motherboard with a fast chipset
Idea..maybe a sdd to store the game on too.

< Message edited by janamdo -- 7/12/2014 9:00:39 PM >
Post #: 1
RE: Takes ages to save distant world - 7/12/2014 9:02:53 PM   
janamdo

 

Posts: 91
Joined: 6/19/2014
From: Netherlands
Status: offline
space port automation .. is this colony facility building?

< Message edited by janamdo -- 7/12/2014 10:05:37 PM >

(in reply to janamdo)
Post #: 2
RE: Takes ages to save distant world - 7/12/2014 10:20:08 PM   
Bingeling

 

Posts: 5186
Joined: 8/12/2010
Status: offline
For me saving becomes very slow when the galaxy is rather full. That is, fully colonized, full colonies, lots of civilian ships all around.

To scrap many ships, use the ship list. Sort military ships by fleet. Click the first, and shift-flick the last to select all the fleet members, and use the scrap button that should be there.

The automation symbol on spaceports can safely be ignored.

(in reply to janamdo)
Post #: 3
RE: Takes ages to save distant world - 7/13/2014 5:28:45 PM   
Unforeseen


Posts: 608
Joined: 3/26/2013
From: United States of Disease
Status: offline
This is nothing :P, in MOO3 changing turns took over an hour by the time the game got to around turn 4OO to 5OO.

_____________________________


(in reply to Bingeling)
Post #: 4
RE: Takes ages to save distant world - 7/13/2014 9:05:10 PM   
Tehlongone


Posts: 208
Joined: 12/21/2010
Status: offline
It started happening when pirates were introduced, I find it doesn't happen if I make pirates non-respawnable and take an active effort in eradicating them. I think it's because each faction has thousands of ships it barely uses and there are, what, 50+ factions? It's less of a problem with civilizations at least.

< Message edited by Tehlongone -- 7/13/2014 10:13:27 PM >

(in reply to Unforeseen)
Post #: 5
RE: Takes ages to save distant world - 7/14/2014 2:15:00 AM   
Unforeseen


Posts: 608
Joined: 3/26/2013
From: United States of Disease
Status: offline
When the galaxy has a lot of things in it to save, it's going to take awhile to copy everything accurately and safely unfortunately. Also, I hate to say it but AMD is pretty poor overall. I think they finally came up with some kind of new technology that is improving their ability but Intel was working on their own better version of it. I'd say, as a rule of thumb if you plan on doing a lot of gaming that requires good processing speeds spend the extra money to get an intel processor and make sure your MB can handle it. AMD's are good for entertainment/work computers since they are cheaper generally.

Also, another note. ATI GFX...are really really terrible. I have used an ATI card in all but two of my computers and every single one of them over the last 1O or so years have been a huge disappointment. Very choppy graphics, terrible update system and the program that comes with it is unintuitive and buggy.

Ram...the absolute most you would need is 8. I wouldn't dare go below 4. I personally use 16 and will never go back.

_____________________________


(in reply to Tehlongone)
Post #: 6
RE: Takes ages to save distant world - 7/14/2014 10:20:38 AM   
radwyn

 

Posts: 18
Joined: 2/5/2012
Status: offline
On my intel i7 system save times are only measured in seconds

(in reply to Unforeseen)
Post #: 7
RE: Takes ages to save distant world - 7/14/2014 11:58:11 AM   
Gilmer


Posts: 1452
Joined: 7/1/2011
Status: offline
How long into the game in game years are you janamdo. This concerns me, since I am about 10 years in but my saves are fairly quick.

_____________________________

"Venimus, vidimus, Deus vicit" John III Sobieski as he entered Vienna on 9/11/1683. "I came, I saw, God conquered."
He that has a mind to fight, let him fight, for now is the time. - Anacreon

(in reply to radwyn)
Post #: 8
RE: Takes ages to save distant world - 7/14/2014 12:03:57 PM   
aaatoysandmore

 

Posts: 2848
Joined: 9/11/2013
Status: offline

quote:

ORIGINAL: Tehlongone

It started happening when pirates were introduced, I find it doesn't happen if I make pirates non-respawnable and take an active effort in eradicating them. I think it's because each faction has thousands of ships it barely uses and there are, what, 50+ factions? It's less of a problem with civilizations at least.


Depends on how many you select for the game. I just select 8 or 9 and play in a large or huge galaxy and I don't have any problems saving. But, I'm using quad core 64 bit OS and lotsa ram.

(in reply to Tehlongone)
Post #: 9
RE: Takes ages to save distant world - 7/14/2014 12:27:42 PM   
janamdo

 

Posts: 91
Joined: 6/19/2014
From: Netherlands
Status: offline
quote:

ORIGINAL: H Gilmer

How long into the game in game years are you janamdo. This concerns me, since I am about 10 years in but my saves are fairly quick.

Hi H Gilmer,
When i finally stopped playing it was 2278.01.28 and started in 2100.01.06
I use also 64 bit windows professional and quad core (can overclock it : turbo ) and 4 ram ( way too little )?
The graphic card is from ati, but a gamerscard (overclocking possible)..works great on the highest resolution.
Gives 7.8 (max index for graphics), but 7,3 for the processor, and memory ,yes

Still a AMD CPU mark for AMD FX-8350 gives for my CPU 2,831 and for amd fx-8350 9,0333 it has the best CPU Mark/$price
It is 4 times faster .. and the ranking is under intel core i7-3770@3,40 Ghz 9,33
Perhaps upgrade to this processor and more ram and the motherboard must support this

< Message edited by janamdo -- 7/14/2014 2:07:33 PM >

(in reply to Gilmer)
Post #: 10
RE: Takes ages to save distant world - 7/14/2014 1:21:34 PM   
Jeeves


Posts: 940
Joined: 9/28/2010
From: Arlington TN U.S.A
Status: offline
I'll make a bet. It isn't your processor or memory that is causing the long time to save. It's your DISK DRIVE. You need a Terabyte disk drive with at least a gig of ram for buffering, which costs under $100 now. Saving with tens of thousands of ships at year 14 takes me under 30 seconds once I got a good disk drive...

Lonnie Courtney Clay

Looks like I'm a bit off on price, but here's an example...

http://www.seagate.com/internal-hard-drives/solid-state-hybrid/desktop-solid-state-hybrid-drive/



< Message edited by Jeeves -- 7/14/2014 2:31:40 PM >


_____________________________

Live long and prosper!

Lonnie Courtney Clay

(in reply to janamdo)
Post #: 11
RE: Takes ages to save distant world - 7/14/2014 3:47:17 PM   
janamdo

 

Posts: 91
Joined: 6/19/2014
From: Netherlands
Status: offline
Thanks! for the link to this new harddrive technology for me
Strange enough i did not read in my magazines, about this hybrid drive ..SSHD
Yes , you are right i forget the harddrive ..7.3 as benchmark, but its old
Windows, the operating sytem residu on a sdd drive luckily.

I found a link to the store for a hybrid drive hybrid drive

< Message edited by janamdo -- 7/14/2014 4:48:09 PM >

(in reply to Jeeves)
Post #: 12
RE: Takes ages to save distant world - 7/14/2014 5:02:10 PM   
mxmissile

 

Posts: 30
Joined: 10/30/2013
Status: offline
Can't express how important it is to run this game off a SSD. However, it is a shame the game requires this.

(in reply to janamdo)
Post #: 13
RE: Takes ages to save distant world - 7/14/2014 6:00:15 PM   
janamdo

 

Posts: 91
Joined: 6/19/2014
From: Netherlands
Status: offline

quote:

ORIGINAL: mxmissile

it is a shame the game requires this.

Are the algorithms not efficient enough ?
Now i am forced to buy a sshd when i play on large scale, but i am a starter so there is no direct need to buy this hybrid drive and i can save a little money now and then for a new sshd drive.

(in reply to mxmissile)
Post #: 14
RE: Takes ages to save distant world - 7/14/2014 6:19:13 PM   
Bingeling

 

Posts: 5186
Joined: 8/12/2010
Status: offline
From what I have seen, saving can take quite a while even on an SSD. It could be a mix of computation power and hd-speed.

Also, when watching it save the 200MB size games, it takes a long while at the end without the file size showing much development. It could be file allocation or something confusing things, though.

< Message edited by Bingeling -- 7/14/2014 7:20:34 PM >

(in reply to janamdo)
Post #: 15
RE: Takes ages to save distant world - 7/14/2014 6:34:30 PM   
janamdo

 

Posts: 91
Joined: 6/19/2014
From: Netherlands
Status: offline
quote:

ORIGINAL: Bingeling

From what I have seen, saving can take quite a while even on an SSD. It could be a mix of computation power and hd-speed.



You are completely right..exactly.
My computersystem is rather slow ( i use now the turbo power ..overclocking gives at least 20 % more clockspeed? ..i noticed no improvement on the windows index )
So i must upgrade the whole system than, to get those figures as @Lonnie described and he is a powerplayer with probably a powercomputer.



< Message edited by janamdo -- 7/14/2014 7:44:32 PM >

(in reply to Bingeling)
Post #: 16
RE: Takes ages to save distant world - 7/14/2014 7:32:31 PM   
Bingeling

 

Posts: 5186
Joined: 8/12/2010
Status: offline
One issue comparing save times, is that we are comparing apples and oranges. We should use the same game to get some meaningful comparisons going.

I tested two save games on my computer. The save folder is on an SSD, the game is on a slower plate drive. It is a i5-3470 with 16MB of memory, running at default speeds. 64 bit windows 7.

The smallish game tried had a 55MB save file. It is the end save of my Universe AAR played with the first patch after release. Loading it took 1 minute 5 seconds, saving it took 30 seconds. The in game year is 2193.

I restarted distant worlds afterwards.

The other is from a beta version of Universe, it was an automated game with some moderately successful Gizureans. The save file is 137 MB. The year in teh game is 2403, it has run three times as many years as my manual game. The moderately sized mepire has 1300 ships and bases, and several are the same size, a couple are larger.

Load time? 2 minutes 52 seconds.
Save time? 10 minutes 25 seconds.

During saving my task manager reported 50% CPU usage the entire time (with some small drops into the high 40s). Writing a 137MB file is no huge task on an SSD, DW must do a whole lot of calculations while saving. Memory usage rose to 1.5GB and stayed there.

I would of course never, ever, play a game for 300 years, even if it did not take 10 minutes to save.

It is worth noticing that the smaller game was much faster to save than to load. The "giant" game was the opposite.

(in reply to janamdo)
Post #: 17
RE: Takes ages to save distant world - 7/14/2014 8:06:01 PM   
johanwanderer

 

Posts: 209
Joined: 6/28/2014
Status: offline
I like to compare to with printing. Let's say if you want to print a 100-page document 5 times, you have two options, with and without collating. Without collating, the printer will print the 1st page 5 times, then the 2nd page 5 times, etc. while only incur the printing setup for each page once. With collating, the printer will print the enter document once, then go back and print it again, incurring the setup penalty at every page.

I suspect something similar is happening in the Distant Worlds saving process. The game iterate through the whole graph of the galaxy, loading it (possibly incur a memory swap), then serialize/save it to the compressed save stream. There's probably some iteration code in there that uses a O(n2) (or worse) loop to pick through the game elements to save.

With my setup, (quad-core CPU, 6 GB RAM, 16TB game disk on a RAID-6) my current game (95+ years in, 700 stars galaxy, 140+MB save size) takes over 20 minutes to save now. While saving, the game uses 25% of CPU (or 100% on one core). I notice that the save time starts to get works after you get to about the 90MB mark. before that, I would happily leave it on 30-minutes autosave. Afterward, it gets progressively slower, and at this point I can no longer use autosave. All of this is to support my claim about the O(n2+) iteration above, and to say that the saving process is CPU-bound.

I listed my game setup to illustrate that it's not just the galaxy's size but also the complexity of it. I have over 500 mini-carriers in my game, so over 4000 fighters in my empire; all of which need saving.

Maybe the Devs can have an option to just create a memory-mapped save file, and basically dump the whole 1.5 GB to disk and copy it (for auto-save). That'll probably takes a whole lot less time for me :)

(in reply to Bingeling)
Post #: 18
RE: Takes ages to save distant world - 7/14/2014 8:54:04 PM   
Lucian

 

Posts: 279
Joined: 12/1/2012
Status: offline

quote:

ORIGINAL: Unforeseen

This is nothing :P, in MOO3 changing turns took over an hour by the time the game got to around turn 4OO to 5OO.


I'm trying hard to pretend that MOO3 never existed and this isn't helping.

(in reply to Unforeseen)
Post #: 19
RE: Takes ages to save distant world - 7/14/2014 11:58:24 PM   
Unforeseen


Posts: 608
Joined: 3/26/2013
From: United States of Disease
Status: offline
I'm running DW off a 10K RPM 3OO gb drive. I DO have an SSD but it is only 9O gb is only used to run windows and programs that need to be on the same drive as windows to function.

Edit: As an afterthought I DO have a 1TB drive in my computer that I converted from an external drive but I don't run anything other than movies on it.

< Message edited by Unforeseen -- 7/15/2014 12:59:41 AM >


_____________________________


(in reply to Lucian)
Post #: 20
RE: Takes ages to save distant world - 7/16/2014 1:24:06 PM   
Jeeves


Posts: 940
Joined: 9/28/2010
From: Arlington TN U.S.A
Status: offline
quote:

I listed my game setup to illustrate that it's not just the galaxy's size but also the complexity of it. I have over 500 mini-carriers in my game, so over 4000 fighters in my empire; all of which need saving.


AHA! There's your problem, different from me since I build few carriers. I've never had a save take more than two minutes as a consequence. But you can't do much about the carriers of AI empires, so you still need a memory buffered hard drive to reduce save time.


Lonnie Courtney Clay


_____________________________

Live long and prosper!

Lonnie Courtney Clay

(in reply to johanwanderer)
Post #: 21
RE: Takes ages to save distant world - 7/16/2014 1:26:55 PM   
Jeeves


Posts: 940
Joined: 9/28/2010
From: Arlington TN U.S.A
Status: offline

quote:

ORIGINAL: Lucian


quote:

ORIGINAL: Unforeseen

This is nothing :P, in MOO3 changing turns took over an hour by the time the game got to around turn 4OO to 5OO.


I'm trying hard to pretend that MOO3 never existed and this isn't helping.


LOL, I played it for a couple of weeks and gave up due to the long time. I played Space Empires IV and V but gave them up too due to the long turn processing waits...


Lonnie Courtney Clay


_____________________________

Live long and prosper!

Lonnie Courtney Clay

(in reply to Lucian)
Post #: 22
RE: Takes ages to save distant world - 7/26/2014 9:01:46 AM   
janamdo

 

Posts: 91
Joined: 6/19/2014
From: Netherlands
Status: offline
Buying the a -hybride harddisk has reduced the save and loading times..definitely the best and rather cheap solution and other slow games are working better too.. and can be used for musiccomposing programs too ..i am happy with this performance improvement.

(in reply to Jeeves)
Post #: 23
RE: Takes ages to save distant world - 9/28/2014 12:09:59 PM   
Jeeves


Posts: 940
Joined: 9/28/2010
From: Arlington TN U.S.A
Status: offline
I just got one of these on my computer :

http://www.samsung.com/us/computer/memory-storage/MZ-7PD256BW

Cut my save time for a 45 megabyte file from 85 to 60 seconds, but my real problem seems to be my four year old motherboard and processor. That'll cost a bundle to replace...

Lonnie Courtney Clay


_____________________________

Live long and prosper!

Lonnie Courtney Clay

(in reply to janamdo)
Post #: 24
RE: Takes ages to save distant world - 10/1/2014 9:51:34 PM   
janamdo

 

Posts: 91
Joined: 6/19/2014
From: Netherlands
Status: offline
Yes, four year old motherboard and processor.. it is too old now these days this, and i am in the similar situation with a motherboard and processor, but it is still acceptable that it delivers some needed performance.
It is rather easy to upgrade with a new motherboard and processor, but there is still no real neccessity, because i can do what i like.
For 3 years i am using this pc configuration and it i still acceptable: that new shdd drive as you adviced me to buy, this is a real improvement and Distant world is playable.
bye
Jan

< Message edited by janamdo -- 10/1/2014 10:54:02 PM >

(in reply to Jeeves)
Post #: 25
RE: Takes ages to save distant world - 10/2/2014 3:38:20 AM   
Shark7


Posts: 7937
Joined: 7/24/2007
From: The Big Nowhere
Status: offline
Honestly, the last time I had to replace my PC, I just bought a pre-built. Anymore its just as cheap and a whole lot less of a headache for me.

I priced it out, the cost was the same if I did it myself or let someone else do it.

_____________________________

Distant Worlds Fan

'When in doubt...attack!'

(in reply to janamdo)
Post #: 26
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Takes ages to save distant world Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.313