![]() |
weird CPU usage
I noticed that there is an area in the game where the CPU usage is - strangely - climbing at 100%, even if there is no animations or anything that should be demanding : the tactical positioning main window (where are listed leaders etc.). Strangely even the main map is far less demanding (something like 30% for me), and the battle in grid-mode (30% too, even when particles are displayed).
So it smells like some loop is running at an infernal speed somewhere in the code, and I'm unsure why something like that should run like mad, for a window without anims. In case you wonder, I do care about cpu cycles, as I play on a laptop, and it triggers all three of my PC fans, thus a big noise which annoy me like hell http://forum.shrapnelgames.com/images/icons/icon12.gif |
Re: weird CPU usage
further update, dunno if the devs really care but:
the cpu usage is related to the presence or absence of attached units. If you have 20 leaders listed w/o units, everything is fine, if you have units, CPU climb to 100% as soon as you have 3+ formations. So I wonder if the problem is not related to units highlighting (wounded, experimented), and if there is not a real time redrawing of each and every units, either highlighted, or not, thus eating cpu power fast (without a limited frame rate for the redraw). |
Re: weird CPU usage
What bugs me more is the high cpu usage in the title screen. I wish we could get a static title screen. I'm editing a map right now and sometimes i just want to close the editor and open a text file. That's almost impossible with dominions running and this is on a p4 2.5 with 1 gig ram.
|
Re: weird CPU usage
I really don't understand why some of you are having this sort of problem. Perhaps it's sound-related, as I've turned off the background music. On my 2.1Ghz AMD-based system, with a "mere" 512k RAM and using WinXP Pro, I have no trouble whatsoever running Dom, Mozilla (6+ tabs), Excel, Photoshop, MS-Paint, NoteTab (text editor), CuteFTP, and Total Commander all at the same time and I never notice a slowdown, not even while Dom is processing a turn (which, unlike some reports in other threads, never takes more than a minute or two to do, even in the background, no matter how far into the game I am). And XP isn't exactly an efficient OS. The next question that begs to be asked is what OS are you folks using that are having performance issues? (If you're using a DOS-based OS such as Win98SE, that would explain most everything.)
|
Re: weird CPU usage
Quote:
As PDF just said, turning off the background anims should ease your woes. http://forum.shrapnelgames.com/images/icons/icon7.gif BTW, by my way of thinking, CPU usage is a performance issue. Performance isn't strictly just about frames/sec, or how long something takes. If you cannot multitask because some app has hogged all the CPU cycles, that's still a performance issue, since you cannot properly use your machine to perform the tasks you wish to do. http://forum.shrapnelgames.com/images/icons/icon12.gif |
Re: weird CPU usage
I dont have much perf issue with dom on my laptop, I have a good 50/60 fps in battle. What bother my is the cpu hitting 100% in the unit positionning, which triggers all the fans of my pc. And I enjoy the silence http://forum.shrapnelgames.com/images/icons/icon12.gif
|
Re: weird CPU usage
It is possible to lower the maximum number of frames per second and thus lowering your cpu usage. The switch --fps 25 will cut your cpu usage (and fps) in half most of the time.
|
Re: weird CPU usage
I dont have perf issues. I have CPU usage issues. Thats different.
|
Re: weird CPU usage
Quote:
|
Re: weird CPU usage
its only a workaround, but its better then nothing.. http://forum.shrapnelgames.com/images/icons/icon7.gif
it does not strike you that its abnormal that the CPU climb to 100% as soon as some attached units are displayed? |
Re: weird CPU usage
No it doesn't, I know that the army setup screen will require more cpu time when you display many squads on screen. Sure, that's some sloppy cpu wasting programming, but a high fps on that screen has never been a prority. But who knows, maybe I will look at it on behalf of you portable computer people.
|
All times are GMT -4. The time now is 03:10 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.