How to find out what uses most CPU Resources?

This forum is the ideal place for all discussion relating to X4. You will also find additional information from developers here.

Moderator: Moderators for English X Forum

IlikeThisgame
Posts: 34
Joined: Fri, 18. Apr 25, 19:32

Re: How to find out what uses most CPU Resources?

Post by IlikeThisgame »

CBJ wrote: Thu, 24. Jul 25, 16:31 Again, we cannot single out the performance impact of a station. A huge range of different parts of the game may be affected by its presence, and we cannot isolate it and give you a simple number to represent that object.
Are you looking for a solution or for a reason not to fix your game? That is the only thing what goes thru my mind when i read what egosoft employees are writing. WHY?

Did you look at that screenshot i attached? No, ofc not.

You would see that we can identify very easy what is the culprit of performance. Like polution, path finder, map generator, trains what ever. (thats all just VANILLA) If X4 doenst have something like this, then develop it, it would be usefull to optimize your game. And it would help the community to optimize YOUR GAME.

Find a solution for the problem, YOU and WE as a community need some sort of debug. I dont wonder this game is so poorly optimized when i read everything you guys write on this forum, its horrific. Its like we work for you.
We can and do do those things. But they are not useful to players, because they don't break things down in a way that can meaningfully be acted upon without access to source code.
Such a arrogant and stupid answer. Respect.
Then give us access. And if you know its shit, make it better? Sounds crazy, i know. How it can be done better? Take your devs and ask them how to make it better. It would make your dev life easier and it would make the life easier for the customers.

Btw you know whta would be usefull for players? A working (incl. everything promised) game after 7 years. :-)
CBJ
EGOSOFT
EGOSOFT
Posts: 54271
Joined: Tue, 29. Apr 03, 00:56
x4

Re: How to find out what uses most CPU Resources?

Post by CBJ »

And yet again, all you seem to be interested in is making snide remarks and false accusations. Since you don't like the responses you get, the answer is simple: you won't get any more.
IlikeThisgame
Posts: 34
Joined: Fri, 18. Apr 25, 19:32

Re: How to find out what uses most CPU Resources?

Post by IlikeThisgame »

CBJ wrote: Thu, 7. Aug 25, 14:21 And yet again, all you seem to be interested in is making snide remarks and false accusations. Since you don't like the responses you get, the answer is simple: you won't get any more.
And yet again, all you seem to be interested in is making snide remarks and false accusations.

Yes, i make snide remarks after 7 years.

False accusations?
Which? Im happy to discuss everything in public.

Atleast you didnt censor like normal.

Back to topic: is this beeing discussed internally?
vvvvvvvv
Posts: 1324
Joined: Tue, 28. Nov 23, 15:38
x4

Re: How to find out what uses most CPU Resources?

Post by vvvvvvvv »

IlikeThisgame wrote: Thu, 7. Aug 25, 14:13 Are you looking for a solution or for a reason not to fix your game? That is the only thing what goes thru my mind when i read what egosoft employees are writing. WHY?

Did you look at that screenshot i attached? No, ofc not.

You would see that we can identify very easy what is the culprit of performance.
That screenshot is possible, because factorio is not x4. It likely uses data driven design with a huge number of highly identical entities. I.e. drones do not have loadouts, they're identical. That allows factorio to group large areas by functionality, and consequently measure performance. It works on swarms. The only fully unique object is the engineer. Which is not how x4 works.

The usual way of measuring performance, by the way, would be running an instrumented build with a profiler. This will give you performance data down o individual lines, but for it to be useful, you need source code access and debug symbol. Instrumented build is bigger and slower on top.
IlikeThisgame
Posts: 34
Joined: Fri, 18. Apr 25, 19:32

Re: How to find out what uses most CPU Resources?

Post by IlikeThisgame »

vvvvvvvv wrote: Thu, 7. Aug 25, 14:57
IlikeThisgame wrote: Thu, 7. Aug 25, 14:13 Are you looking for a solution or for a reason not to fix your game? That is the only thing what goes thru my mind when i read what egosoft employees are writing. WHY?

Did you look at that screenshot i attached? No, ofc not.

You would see that we can identify very easy what is the culprit of performance.
That screenshot is possible, because factorio is not x4. It likely uses data driven design with a huge number of highly identical entities. I.e. drones do not have loadouts, they're identical. That allows factorio to group large areas by functionality, and consequently measure performance. It works on swarms. The only fully unique object is the engineer. Which is not how x4 works.

The usual way of measuring performance, by the way, would be running an instrumented build with a profiler. This will give you performance data down o individual lines, but for it to be useful, you need source code access and debug symbol. Instrumented build is bigger and slower on top.
Egosoft just said No.

I cant tell you how to do it. But im sure there is a way. Also we dont know how their debug screen looks, they just say were too stopid. Maybe its useable.

The best way to archive a good debug would be to brainstorm inside of EGOSOFT. But when everything gets crushed in the beginning... nothing gets done.

Thats why we need mods in endgame to be able to play this game after 7 years after release.
vvvvvvvv
Posts: 1324
Joined: Tue, 28. Nov 23, 15:38
x4

Re: How to find out what uses most CPU Resources?

Post by vvvvvvvv »

IlikeThisgame wrote: Thu, 7. Aug 25, 15:10 I cant tell you how to do it. But im sure there is a way.
To be sure you need to know how to do it. If you don't know, you can't be sure.

I can imagine a situation easily where Factorio style screen is impossible in x4. Because underlying architecture matters.
IlikeThisgame
Posts: 34
Joined: Fri, 18. Apr 25, 19:32

Re: How to find out what uses most CPU Resources?

Post by IlikeThisgame »

vvvvvvvv wrote: Thu, 7. Aug 25, 15:32
IlikeThisgame wrote: Thu, 7. Aug 25, 15:10 I cant tell you how to do it. But im sure there is a way.
To be sure you need to know how to do it. If you don't know, you can't be sure.

I can imagine a situation easily where Factorio style screen is impossible in x4. Because underlying architecture matters.
You know, there are 2 types of ppl on this planet.

One type of person looks for solution, one type of person looks for problems. And i would bet money that they can do it. I mean, they created x4? And if its already there and only need to be "made nice"... cant be that hard, right? :gruebel:

Maybe we dont get it perfectly fine graded, but they probably know best which mettrics wopuld be interesting or usefull.

Lets say it the other way around, it cant be worse then NOTHING. RIGHT?????? :D
vvvvvvvv
Posts: 1324
Joined: Tue, 28. Nov 23, 15:38
x4

Re: How to find out what uses most CPU Resources?

Post by vvvvvvvv »

IlikeThisgame wrote: Thu, 7. Aug 25, 15:36 And i would bet money that they can do it. I mean, they created x4? And if its already there and only need to be "made nice"... cant be that hard, right? :gruebel:
Solutions have implementation cost. Basically the time you spend working on one thing is time you don't spend on another thing. So when "solving" a rule of the thumb is to make sure it is an actual issue worth solving and you gain something meaningful from it.

CBJ's point of view, as far as I can tell, is that even if this screen is implemented, it will not provide meaningful actionable data. Which may be true, because this is not a factorio. Besides in case of performance problems, the advice would be to upload a save to tech support section, and egosoft can run that save through instrumented build I spoke of. One where they can see which individual lines may be making it slow. Also do keep in mind that stats tracking does have slight overhead.

That's the rough idea of it.
Nanook
Moderator (English)
Moderator (English)
Posts: 28247
Joined: Thu, 15. May 03, 20:57
x4

Re: How to find out what uses most CPU Resources?

Post by Nanook »

IlikeThisgame wrote: Thu, 7. Aug 25, 15:36 ...
You know, there are 2 types of ppl on this planet.

One type of person looks for solution, one type of person looks for problems. ...
When a topic starts to get personal, it's time to send it on its way, and I think that time has come.
Have a great idea for the current or a future game? You can post it in the [L3+] Ideas forum.

X4 is a journey, not a destination. Have fun on your travels.

Return to “X4: Foundations”