ID:1120322
 
(See the best response by A.T.H.K.)
Why does world.cpu value get rounded when hosting on linux?
Isn't that normal? I don't remember it not being an integer. I use Windows Vista.
In response to Jemai1
Jemai1 wrote:
Isn't that normal? I don't remember it not being an integer. I use Windows Vista.

Its grossly rounded for me. On local, I can get down to nearest 1 (1, 2, 3, 4).

On host, its 0, 5, 10, or 15, etc.
Best response
Is the linux host a different pc or server? perhaps the CPU is different and smaller to the one you have in your PC.

[EDIT]
It's a pretty big jump though, you can

cat /proc/cpuinfo

To see the cpu stats
Turns out this is tied to whatever world.fps is at the time. For example, having fps of 50 gives me 6,12,18 and having fps 40 gives me 5,10,15
It could be a matter of timing of when your stat proc is being called.
In response to Jemai1
Jemai1 wrote:
It could be a matter of timing of when your stat proc is being called.

The code isn't changed for local. I get 1,2,3,4,5 etc on local.
It could be that the local pc has higher specs? Try comparing the cpu usage using the profiler. Hope that helps.
In response to Jemai1
Jemai1 wrote:
It could be that the local pc has higher specs? Try comparing the cpu usage using the profiler. Hope that helps.

Exactly what I said.... Minus the profiler
Yeah, its because this cpu is way faster.