Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site forums as they ran on Ultimate Bulletin Board, 1998–2001. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 2005 site & forums

  Apolyton Civilization Site Forums
  Clash of Civilizations
  Thread Jerkiness

Post New Topic  Post A ReplyPost A Reply In A New Window

profile | register | preferences | faq | search next newest topic | next oldest topic bottom of page
Author
Topic:   Thread Jerkiness Format for Better Printing
JimC
Clash of Civilizations
AI Coding

Birmingham, England
May 99
posted May 03, 1999 21:02   Click Here to See the Profile for JimCClick Here to Email JimC  send a private message to JimCSend a Message to UIN: 15227822 Visit JimC's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
If we're going to use threads for any heavy processing, I suggest that we look up as much data as possible on various VM performances - some older versions have terrible problems when it comes to synchronization etc....

I've attempted to get RTS-standard (around 20-25fps) animation using Java, with a program thread, a display thread, a background AI thread, a path-finding queue thread and node generator thread.

Using the range of thread priorities available with the standard JDK values, there was still noticable jerkiness (and I used as little synchronization as possible).

So, it seems are options are:

- try using native threads ???
- become VM experts
- avoid RTS
- pray that JIT compilers will speed things up
- spend 5 years in development, by which time 2000MHz computers will be around

Has anybody else tried running heavy-duty threads in the background?

Jim

JimC
Clash of Civilizations
AI Coding

Birmingham, England
May 99
posted May 03, 1999 21:03   Click Here to See the Profile for JimCClick Here to Email JimC  send a private message to JimCSend a Message to UIN: 15227822 Visit JimC's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
OOOOps it looks like I pushed the wrong button - this is supposed to be under 'Threads in RT'

Jim

F_Smith
Prince
Austin, Tx 78728
May 99
posted May 06, 1999 11:12   Click Here to See the Profile for F_Smith   send a private message to F_Smith
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Hi, Jim:

Just saw this thread -- no pun intended.

The speed of java is increasing as we speak. By the end of the year, with 'HotSpot' and other things, it should surpass current code.

But even so, as long as we stick with 'slow' movement for units, I think we can handle it.

P.S. -- I asked this before, I'll ask it again: can't we use one thread for both unit movement and AI? I don't quite understand the architecture model ya'll are talking about for the AI. Why a seperate thread for something that only has to make choices once every cycle?

Apolyton Civilization Site Forums
> > > Clash of Civilizations Forum

next newest topic | next oldest topictop of page

All times are EDT

Administrative Options: Close Topic | Archive/Move | Delete Topic | Top
Post New Topic  Post A ReplyPost A Reply In A New Window
Hop to:

Contact Us
Apolyton Civilization Site

Powered by: Ultimate Bulletin Board, Version 5.44a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.

Front Page | Civilization III | Dinosaurs | Civilization II | Call to Power | Call to Power II | Alpha Centauri | Alternative Civs | Misc | Links | About ACS | GameStats
GameLeague | Scenario League | HAC | Civilization Scenario Collection | Spanish CivII Site | Clash of Civs | CtP Maps | Art of War | WesW's Ctp1/2 Site