Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > Civ3-General-Archive > Why So Slow? What's the Bottleneck?
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread   
Pages (3): [ 1   2   3   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
notyoueither is offline notyoueither
Deity
of naught
Aug 2001
time: 22:19
  Old Post 23-04-2002 09:25
Edit/Delete Message Reply w/Quote
#31 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

quote:
Originally posted by Grrr Civ 2 ran like **** on my 486 with 1mb of RAM


I guess Brian Reynolds 'failed'.

asleepathewheel is offline asleepathewheel
Emperor
listening too long to one song
Mar 2002
time: 00:19
  Old Post 23-04-2002 09:41
Edit/Delete Message Reply w/Quote
#32 Report this post to a moderator
Suffering from ads?

quote:
Originally posted by notyoueither


I guess Brian Reynolds 'failed'.


blasphemy

I Am Jeff is offline I Am Jeff
Chieftain
New Jersey
Feb 2002
time: 00:19
  Old Post 23-04-2002 09:44
Edit/Delete Message Reply w/Quote
#33 Report this post to a moderator
Increase Your PM Length

not sure if this was mentioned, but if you goto start then run, then type msconfig. Goto the startup tab. Uncheck everything you dont need. Keep however systray, explorer, and your virus scanner. There is no ned for real tray and that other stuff. This way ur cpu just does not start with these things, so you dont have to use ctrl+alt+del all the time.

It seems that every program has something to add to startup.

asleepathewheel is offline asleepathewheel
Emperor
listening too long to one song
Mar 2002
time: 00:19
  Old Post 23-04-2002 09:46
Edit/Delete Message Reply w/Quote
#34 Report this post to a moderator
Suffering from ads?

quote:
Originally posted by I Am Jeff
not sure if this was mentioned, but if you goto start then run, then type msconfig. Goto the startup tab. Uncheck everything you dont need. Keep however systray, explorer, and your virus scanner. There is no ned for real tray and that other stuff. This way ur cpu just does not start with these things, so you dont have to use ctrl+alt+del all the time.

It seems that every program has something to add to startup.


how true. especially sucks when you buy a pc from a company like dell or gateway. all sorts of crap running in the background that you have no idea what it is.

Grrr is offline Grrr
King
of Hamilton, New-Zealand.
Dec 2000
time: 18:19
  Old Post 23-04-2002 09:48 Visit Grrr's homepage!
Edit/Delete Message Reply w/Quote
#35 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

That is the one thing I really hate Startup programs.

The Viceroy is offline The Viceroy
Prince
tu mumbai se, mai Bombay se
Nov 2000
time: 05:19
  Old Post 23-04-2002 13:41
Edit/Delete Message Reply w/Quote
#36 Report this post to a moderator
Enter the AD-FREE zone

Ohh don't get me started on Startup programs .. ahhhgh ... Like ACooper, I keep my PC (and everybody I happen to know) clean and clear of all these additional drains on resources , and nobody I know has an issue with running Civ3 .. and slowness..

My PC is a P4, 2Ghz 256Mb .. and on 256x256 map I have just noticed a small pause creep in for V1.21f .. nothing to drastic, and the same for each turn .. ancient to modern. (must be compressed saves)

There is no need to keep your explorer running on NT/2000/XP .. kill it off .. (CTRL-SHIFT-ESC, select processes and kill Explorer.exe) if you want it back, (CTRL-SHIFT-ESC, FILE ->NewTask and type explorer).

Beware of SETI !!! a wonderful program indeed, but if your like me, and you have it set to run all the time, you will loose 20Mb of Ram .. not a problem on my PC, but if you have 64-128Mb .. a must to remove it.

I think its time that games manufacturors start putting disclaimers regards to poor performance on badly maintained PC's .. give me & ACooper more work

SpencerH is offline SpencerH
King
Co-Ruler of my patch of land south of Birmingham Alabama
Feb 2002
time: 23:19
  Old Post 23-04-2002 16:22
Edit/Delete Message Reply w/Quote
#37 Report this post to a moderator
Support Apolyton buy from Amazon

I've seen testing that showed that 96Mb of RAM was optimum for running most programs on win98se (the ststem I use) and that there was actually a slowdown with more RAM. I use 256Mb though Are there similar problems with XP?

The Viceroy is offline The Viceroy
Prince
tu mumbai se, mai Bombay se
Nov 2000
time: 05:19
  Old Post 23-04-2002 18:44
Edit/Delete Message Reply w/Quote
#38 Report this post to a moderator
Support Apolyton or Terrorists Win

Hmm not sure about that, however, it isn't as simple as add up all the size's of code your running and see if it excedes your memory total .. reason is, Windows pages memory to and from disk dependant on use !! not just as virtual memory .. so it tries to keep as much memory clear as possible. Ive noticed a lot of these so called memory grab back utils actually just send all your memory resident pages to disk .. DOH!!!

That 90'odd Mb of RAM is an optimum ??? I can't see how .. maybe its an efficient quantity of memory with which to run the most average desktop environment + tools .. but can't see how having more will slow your system down .. maybe some very very old specs had problems with dealing with memory management in Win98 .. so the more code you load, the more maintanance occurs etc etc ???? not sure..

Simple rule is, no matter if its W95/98/NT/2000/ME/XP ... the less your system is running (see CTRL-ALT-ESC, process list (CTRL--ALT-DEL for 95&98)) the better .. the less it needs to push to disk, the better also.

SpencerH is offline SpencerH
King
Co-Ruler of my patch of land south of Birmingham Alabama
Feb 2002
time: 23:19
  Old Post 23-04-2002 18:50
Edit/Delete Message Reply w/Quote
#39 Report this post to a moderator
Browse Apolyton AD-FREE

I was surprised about it! I may have read it at ZDnet or similar site. It was quite a while ago so I dont remember the particulars. It may have been related to EDO RAM in an older PII since that was the last RAM upgrade I did.

Shadowlord is offline Shadowlord
Warlord

Apr 2002
time: 00:19
  Old Post 23-04-2002 19:31
Edit/Delete Message Reply w/Quote
#40 Report this post to a moderator
Tired of ads?

850 Athlon MHz computer, 64 MB ram.
The only thing that starts up on my computer when the computer starts is my antivirus, and I close that before I load Civ.

When I start Civ, I have only two things in the ctrl-alt-del task list: Explorer and Systray.

And I have over 1.5 GB free hard drive space.

Yet, half the time when I start Civ, all the units have blue instead of their normal color (well, depends on the unit. Some have red instead of blue, etc. It's wierd.) - and they flicker the normal color occasionally.... And the tech screen looks really messed up... Why?!?

I have the windows color set to 16 bit, because it was doing this ALL THE TIME when I had it on 32 bit... But only in 1.16f and higher. It didn't do it in the unpatched game. *grr*.

And I do notice slowdowns in large games in the late game, but it's not that bad when I have friend animations off and only leave enemy anims on.

I don't mind the slowdowns, I can do something else while that's going. But my computer is better than the recommended specs - No, not the minimum specs (300 Mhz 32 MB ram), the RECOMMENDED specs (500 MHz 64 MB ram)! - And yet, the game does NOT WORK RIGHT!

WHY!?

Shadowlord is offline Shadowlord
Warlord

Apr 2002
time: 00:19
  Old Post 23-04-2002 19:33
Edit/Delete Message Reply w/Quote
#41 Report this post to a moderator
Tired of ads?

(I'm getting sick of having to reboot 3 times before I can play Civ....)

Shadowlord is offline Shadowlord
Warlord

Apr 2002
time: 00:19
  Old Post 23-04-2002 19:33
Edit/Delete Message Reply w/Quote
#42 Report this post to a moderator
Support Apolyton

(Oh yeah, and "Civilization3" crashes about 5 seconds after I exit the game.)

dunk is offline dunk
Prince
Philadelphia, PA
Mar 2002
time: 00:19
  Old Post 23-04-2002 20:07
Edit/Delete Message Reply w/Quote
#43 Report this post to a moderator
Put an end to popups!

quote:
Originally posted by Tuberski
What was wrong with the pathfinding in Civ 2? Worked for me why change it just because systems are faster?


The pathfinding in Civ II wasn't all that great. Frequently, my ships would get caught in a dead end gulf or bay, go back and forth for a turn and then become active. I had to move them around the continent myself. I would wager that this is the same way the AI moved its units as well. If that's the case, then the AI got stuck a good bit of the time as well.

Conqueror is offline Conqueror
King
UAC research complex
Dec 2001
time: 07:19
  Old Post 23-04-2002 20:29
Edit/Delete Message Reply w/Quote
#44 Report this post to a moderator
Increase the size of your Attachments

quote:
Originally posted by Shadowlord
850 Athlon MHz computer, 64 MB ram.


Buy more memory, 64 MB ram is practically a joke these days.

Carver is offline Carver
Prince
reprocessing plutonium, Yongbyon, NK
Jan 2002
time: 23:19
  Old Post 23-04-2002 20:47
Edit/Delete Message Reply w/Quote
#45 Report this post to a moderator
Full PM-box? Change here!

Something I never see anyone mention with their system specs is front side bus speed. Mine is 400Mhz and I have never had a noticeable delay. If you're looking for a physical bottleneck, this could be it.

Capt Dizle is offline Capt Dizle
King

Sep 1999
time: 00:19
  Old Post 23-04-2002 20:55
Edit/Delete Message Reply w/Quote
#46 Report this post to a moderator
Put an end to popups!

The issue is the mental bottleneck at Firaxis when they departed from their previous sound policy of writing software designed to include as many people as possible and not just the tech heads.

SpencerH is offline SpencerH
King
Co-Ruler of my patch of land south of Birmingham Alabama
Feb 2002
time: 23:19
  Old Post 23-04-2002 20:55
Edit/Delete Message Reply w/Quote
#47 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

As Conquerer said, buy more RAM! 64Mb is definitely not enough RAM these days. Despite my post about possible slowing of some systems with too much RAM I would guess that 256 Mb is a nice round number (its what I use). 128 is OK but maybe not enough these days. Given the colour probs, it also sounds like your video card or motherboard is crappy. Is this an E machine or something?

ACooper is offline ACooper
Prince
In a dark and scary hole!
Apr 1999
time: 23:19
  Old Post 23-04-2002 22:07
Edit/Delete Message Reply w/Quote
#48 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by Shadowlord
(I'm getting sick of having to reboot 3 times before I can play Civ....)


If you have to reboot, the problem is your computer. First buy more RAM - as much as you can. Then clean out as much as you can and re-install windows. Or get it to the shop, you definately have a problem with your computer.

ACooper is offline ACooper
Prince
In a dark and scary hole!
Apr 1999
time: 23:19
  Old Post 23-04-2002 22:13
Edit/Delete Message Reply w/Quote
#49 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by jimmytrick
The issue is the mental bottleneck at Firaxis when they departed from their previous sound policy of writing software designed to include as many people as possible and not just the tech heads.


Question for you jt: Do you blame Firaxis for everything? You act like they stole your girlfriend. Relax. It's all ok. Just stupid computers and stupid computer games. It doesn't really matter in the real world.

twistedx is offline twistedx
Chieftain
St Louis, MO
Apr 2002
time: 23:19
  Old Post 23-04-2002 22:19
Edit/Delete Message Reply w/Quote
#50 Report this post to a moderator
Support Apolyton, buy Civilization 2

quote:
Originally posted by jimmytrick
Poor design or poor coding. One or the other or both. Unacceptable. If I were running Firaxis and they brought me something like this to release I would see that they learn to respect people of moderate means by long stints in the unemployment line.


I have to agree with this one... Civ3 is a TURN BASED strategy game. Keeping that in mind, think about other games strategy games you've played (assuming TBS games aren't the only you play) like the Command & Conquer genre, Age of Empires, etc. They work in real time, and do a pretty good job of it, without the 45 sec to 2 min lag between moves that you see in Civ3.

I really have no clue what is taking so much in the way of resources in the games. Civ3 isn't graphic intensive or anything, as the units mainly just sit there until you move them, so it isn't the heavy-duty graphics causing slowdowns like you get in other real time games. Note that graphic rendering is what primarily causes games to need so much horsepower these days. Some might argue that it is the AI learning routes or developing its strategy -- again, you don't see that kind of significant slowdown on real time games.

Without having access to the code, the best I can do is speculate that there is a single-threaded engine that decides unit movements and strategy. Real time games are multi-threaded in that respect... You don't see the AI in Age of Empires taking two minutes to figure out where to individually move its units because the multi-threaded engine allows calculations for many units at the same time. Also, real time games tend to re-use routes it discovers; I don't believe that to be the case with Civ3. To sum things up, by comparing it to other strategy games, you can call it inefficient code without being a "Firaxis sucks" groupie.

-- twistedx

Capt Dizle is offline Capt Dizle
King

Sep 1999
time: 00:19
  Old Post 23-04-2002 23:01
Edit/Delete Message Reply w/Quote
#51 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Firaxis is capable of good work. Gettysburg, for example was a nice game.

dr.charm is offline dr.charm
Chieftain

Oct 2001
time: 05:19
  Old Post 23-04-2002 23:08
Edit/Delete Message Reply w/Quote
#52 Report this post to a moderator
Support Apolyton buy from Amazon

Well, I've noticed, at the periphery of my empire, that the AI engages in a cycle of 'activate/fortify' with AFAICT *all* of it's units *each* turn. That *has* to slow things down when you're talking about hundreds of AI units on large maps.

Cheers,

Dr. Charm

MosesPresley is offline MosesPresley
Warlord

Dec 1999
time: 00:19
Lightbulb  Old Post 24-04-2002 03:19 Visit MosesPresley's homepage!
Edit/Delete Message Reply w/Quote
#53 Report this post to a moderator
Lose 30 kilos (of popups)

Not to get anyone hopes up, but maybe the reason behind the compressed saves is that they are getting ready to implement PBEM multi-play?

Just a thought.

SpencerH is offline SpencerH
King
Co-Ruler of my patch of land south of Birmingham Alabama
Feb 2002
time: 23:19
  Old Post 24-04-2002 04:45
Edit/Delete Message Reply w/Quote
#54 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Good thought

Oerdin is offline Oerdin
King
of Internet Music.
Sep 2001
time: 21:19
  Old Post 24-04-2002 08:01
Edit/Delete Message Reply w/Quote
#55 Report this post to a moderator
Lose 30 kilos (of popups)

quote:
Originally posted by ACooper
jt you obviously know nothing of design, coding or computers. The reason the game runs slow is because of the computers, not the game. If people would properly maintain and work their computers they would find that the game runs just fine. (Or they could pay my standard $135 / hr fee and I'll do it for them. )


Most of the time it is the computer hardware that will make most of the difference but I can remember a unix programing class I took when I was an undergraduate at UC Santa Barbara whne the professor would show how he could take almost any program and reduce the size of the code by 20%-30% and still have it run faster.
If I recall correctly the problem was most programers just piece togeather premade pieces of code that they got from a few of the programing utilities. They do this so they don't have to "reinvent the wheel" every time they want to proform a certain function; thus making programing cheaper, faster, and easier.
The down side is the programs are not optimized to proform with the least amount of code so the computer ends up running WAY more functions then it needs to and ties up tons of resources.
If we had better coding then we wouldn't need such powerful machines. That said it would be very labor intensive which is why I myself will not do it.

notyoueither is offline notyoueither
Deity
of naught
Aug 2001
time: 22:19
  Old Post 24-04-2002 08:32
Edit/Delete Message Reply w/Quote
#56 Report this post to a moderator
Remove this text

Good points Oerdin.

Add to that the limit of what people will pay for software and you flesh out the trend towards bloat-ware in general.

twistedx is offline twistedx
Chieftain
St Louis, MO
Apr 2002
time: 23:19
  Old Post 24-04-2002 08:57
Edit/Delete Message Reply w/Quote
#57 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

For what it's worth, I'm glad to see this conversation has taken a more objective tone rather than "stop whining, you troll!", "Firaxis sucks!", or "upgrade to 2 gigs of RAM!"

-- twistedx

notyoueither is offline notyoueither
Deity
of naught
Aug 2001
time: 22:19
  Old Post 24-04-2002 11:02
Edit/Delete Message Reply w/Quote
#58 Report this post to a moderator
Remove this text

Stop whining you troll.

Skanky Burns is offline Skanky Burns
Deity
Skanky Bastard Quartermaster
Aug 2001
time: 14:19
  Old Post 24-04-2002 13:34
Edit/Delete Message Reply w/Quote
#59 Report this post to a moderator
Lose 30 kilos (of popups)

And upgrade to 2 gigs of RAM!

wervdon is offline wervdon
Prince

Nov 2001
time: 23:19
  Old Post 24-04-2002 14:19
Edit/Delete Message Reply w/Quote
#60 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Im pretty sure its both the path finding and the culture

Culture because in late games for me on larger maps if I found a city or raze one (or abandon now), there is a noticable 3 second or so lag. I can only assume the same happens between turns if the AI does so. However, this probally isn't too big of a deal because I can't notice any lag at all when a culture radius expands, and how often are cities being added/destroyed/changing hands in the late game. In most of my games, its at least far from every turn. This could also easily be attributed to the trade networks though and not culture, and in fact, maybe more likely since Ive only seen it with adding/removing cities from an empire. There's also a good chance that the trade networks use a variant (hopefully a variant since you only need a path not the shortest one) of the path finding.

About pathfinding..... It could probally be improved alot by assuming the ocean/sea/coastal tile shortest paths won't change throughout the entire game (no roads/railroads). Then when a game starts, just compute a series of evenly spaced waypoints (10 or so tiles apart), and the shortest path between any two waypoints and save that. Then movement on the sea would boil down to move from start to closest waypoint, move from waypoint to waypoint closest to destination, move to destination. Its a little less efficient (closer waypoints make it more efficient but use more mem), but assuming the pathfinding doesnt look at the whole world to move 10 spaces it should be alot faster. Course, I could be a moron and they are already using waypoints rather than trying to compute the paths directly. Something similar could be used on land, but it'd be more annoying to players (since moving out of the way obviously would waste turns), and be subject to changes due to roads/rails. However, on most maps, the land situation could be helped by breaking the map up into continents for the pathfinding routine. Afterall, why does the world size matter when most of the time you want to move over land from point a to b using a land unit that only has a few hundred possible tiles it can move to anyways. For all intent and purposes the world for that land unit isn't going to be 120x120, it's going to be more like 20x10 (or whatever the continent size is)

The other issue is yes, the ai does still seem to have a need to expend all the movement points it has on non defending units. In my last game this was readily obvious when the chinese had a small city on an island with me that controlled 4 tiles of the island (the city square plus 3 around it, their culture border never expanded and mine met with it). THey had 2 or 3 calvary stationed in the city, and everyturn id watch them all move in a circle along that cities small borders. If they are going to let the ai see the whole map, then they might as well take advantage of that assumption and kill stupid patrols.

PS:
Im running a athlon 900 with 512 megs Performance tends to start lagging for me (within acceptable levels) once a larger world fills up. Typical waits though are no more than 6-10 seconds a turn max if im playing the large map size. For huge, its probally more like 15-20 seconds a turn.

EDIT: Few more pathfinding speedups that can be used
First, they probally already have every unit remember the path its going to take. Thats a pretty large use of memory though. Assuming 1 byte per tile remembered on a path and the largest map size (256x256, I think), thats 64x256 max possible tiles to remember. Or 16k mem per unit for path remembering. (64 because only half the horizontal tiles are used and the map wraps in that direction so worst case your halfway around the world) This could be cut down using the waypoint system mentioned above though on the ocean though, and except on true pangeas, a land unit isn't going to be moving that far unassisted anyways.

Secondly, there could be a path cache. Since most calls to the pathfinder will tend to be repetive in a given turn (especially with stack movement, surely with stack movement they only make 1 call to the pathfinder already). They can simply remember the start/destination and path computed for every call made to the pathfinder on that turn, and if a second identical call is made skip right to the shortest path we already found. Since the ai probally doesn't use stack movement, that should help out a good bit with large ai unit stacks.

Last edited by wervdon on 24-04-2002 at 14:30

 
Pages (3): [ 1   2   3   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:19.
Apolyton Time is 00:19.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0607 seconds (93.12% PHP - 6.88% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net