Celestia CPU usage

The place to discuss creating, porting and modifying Celestia's source code.
Guest

Celestia CPU usage

Post #1by Guest » 25.01.2005, 13:42

I've noticed the CPU usage is 99% is this due to a loop which doesn't share CPU time with other programs?

Two improvements I'd like to see is a script and Key command to put Celestia in idle mode to drop the CPU usage and a SYNC output readable by an external program when a script completes.

maxim
Posts: 1036
Joined: 13.11.2003
With us: 20 years 10 months
Location: N?rnberg, Germany

Post #2by maxim » 25.01.2005, 14:41

As long as the framerate in Celestia is less than your monitors refresh rate (typically 85 fps) the CPU will work all time. As soon as Celestia can render fast enought the CPU load will drop.

maxim

newbe
Posts: 13
Joined: 17.01.2005
With us: 19 years 8 months

Thanks

Post #3by newbe » 26.01.2005, 14:33

Then what I need is a graphics card that has its own CPU onboard and doesn't use the main computer CPU. Can you recomend an affordable one that doesn't use the main CPU.

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 22 years 1 month
Location: NY, USA

Post #4by selden » 26.01.2005, 15:15

newbe,

All 3D graphics cards have a "graphics processing unit" which does most of the hard work to manipulate 3D objects. However, they can't do everything, and quite a lot has to be done by your system's main processor.

As a result, you should consider upgrading everything you can afford to upgrade: faster cpu, faster gpu, lots of main memory and fast disk drives.

To directly answer your question, though, you'll get the best 3D acceleration for Celestia by upgrading to a graphics card based on Nvidia's high-end graphics chips. Right now, their fastest consumer GPU is the GF 6800 Ultra. At about $500 US, it's rather expensive and needs lots of power. I think a 6600 would be more than adequate.

I hope this helps a little.
Selden

Zarius
Posts: 9
Joined: 02.01.2005
With us: 19 years 9 months
Location: Brisbane, Australia

Post #5by Zarius » 27.01.2005, 09:29

I've noticed this CPU usage too, however I also note that minimising the application puts it in an idle mode (at least for recent versions 1.3.2 & 1.4.0pre6). I think I remember reading this is the docs somewhere too. This may be partly what you are looking for.

Other than this, upgrading as others have suggested will help ease the CPU usage whilst Celestia is in use - at least until you start using all the latest highres textures and heaps of add-ons :twisted: (You know, I didn't upgrade my PC for the game 'Halflife 2', but I'm considering it for Celestia :))
------
Zarius.

Guest

Post #6by Guest » 27.01.2005, 21:28

adding a faster CPU or GPU helps ofcourse ,
but I sure would like to have an option to lower the CPU-load ,
when having a slow TFT display it makes no sense in recalculating all data every 1/60 st second or so .
Is it possible to add an option recalculating all data at only every odd refresh-count or even better at a givin time-frame .


Ren?© Ramekers

maxim
Posts: 1036
Joined: 13.11.2003
With us: 20 years 10 months
Location: N?rnberg, Germany

Post #7by maxim » 27.01.2005, 21:48

There had already been a feature request about this:

http://shatters.net/forum/viewtopic.php?t=4510&highlight=fps+feature

maxim


Return to “Development”