Why does world.cpu value get rounded when hosting on linux?
|
![]() Jan 10 2013, 12:07 pm
|
|
Isn't that normal? I don't remember it not being an integer. I use Windows Vista.
|
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. |
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
|
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.
|