Blockland Forums > General Discussion
Kaphost Blockland Servers
DontCare4Free:
--- Quote from: Kalphiter on September 25, 2012, 03:08:15 PM ---CPU is always not full, and single-core performance for each BL instance will be fine.
I've never seen full CPU usage on a server except for crashed servers (Gravity Cat's usually does this) and Glass' server.
As long as single-core performance is OK, then it's all about total power. For some reason 32-bit Windows programs can only use up the power of one core, however this can be spread across multiple cores. I have no idea how it works. It's a non-issue.
--- End quote ---
It has to do with threading, not "bitness". A thread is always executed sequentially, so it can only be scheduled to one core at a time. Since Blockland is single-threaded it will only ever use the "total power" of one core.
Kalphiter:
--- Quote from: DontCare4Free on September 25, 2012, 03:11:27 PM ---It has to do with threading, not "bitness". A thread is always executed sequentially, so it can only be scheduled to one core at a time. Since Blockland is single-threaded it will only ever use the "total power" of one core.
--- End quote ---
I do see 5-8 threads (open resource monitor) on most servers that are running. Is that the same thing?
I remember changing to 64-bit Java and suddenly I could use both CPU cores on my computer. I assumed the diagnosis was straight forward in that it has to do with 32-"bitness".
I also note that Blockland.exe can't use more than 12.5% CPU (octocore, 100/8)
Are Java threads (at the user's code level, not java.exe's) the same thing? I've never experimented with it.
DontCare4Free:
--- Quote from: Kalphiter on September 25, 2012, 03:15:43 PM ---I do see 5-8 threads (open resource monitor) on most servers that are running. Is that the same thing?
--- End quote ---
I'm not 100% sure, but I'd guess so. However, they're probably only used for light work, since Torque itself is mainly based on a single main thread running an event loop.
--- Quote from: Kalphiter on September 25, 2012, 03:15:43 PM ---I remember changing to 64-bit Java and suddenly I could use both CPU cores on my computer. I assumed the diagnosis was straight forward in that it has to do with 32-"bitness".
Are Java threads (at the user's code level, not java.exe's) the same thing? I've never experimented with it.
--- End quote ---
Java used to use "green threads", but abolished them in favour of native threads in 1.2/1.3.
Racerboy:
Kalph, what the hell is going on
Servers are lagging like crazy right now, for everyone, all servers.
Reinforcements:
--- Quote from: Racerboy on September 26, 2012, 07:22:42 PM ---Kalph, what the hell is going on
Servers are lagging like crazy right now, for everyone, all servers.
--- End quote ---
Not just me, eh?
She's going down, brace for impact! D: