Multi-Core in BYOND Discussion
|
|
Just to say, byond has a lag issue, because, I have old Windows XP computer that is pretty quick, however, when I try and host, it takes up 60% cpu in hosting Rise of Heroes, and even when nobody is logged into it.
In my new Windows Vista computer im on right now, well, when I try and host with it, it maxes out 1 core on my multi-core computer, there is a serious issue here, as, I know ROH has monster wandering, but still, nobody was logged in, and Dream Daemon host has no map control or anything, so any visuals and all don't even need to be displayed, why is there such a lag issue with hosting roh?
Anyways, my actual proposal...
Multi-Core computers are becoming common these days, add the ability instead of like background, which doesn't thread it, to add ability to add threading.
I want to specify if I can specifically, what core a given code should run on, i'd run intensive calculations and non-intensive to core 1, graphics to core 2, core 3 would be for AI processing, core 4 would be to do more graphics on, as graphics are intensive...
Anyways...what do you guys think?
2.Second proposal, well, simply, add some processing on the client-side so that the server doesn't have to use up 100% cpu when trying to do some simple spell animations...
(In my game, I simple create 8 at most 3 at little using missile() proc and using s_damage by spuzzum, or similar, and well, even with 3 monsters it hits using missile and 3 times to show damage, well, my game spikes to 100% cpu on the core, since it can only use single core, i cant run my computer total more than 25% of its power...
this is seriously why im saying there is lag issue, because no multi core as #1, and #2 is that using missile() 3 times, and then showing damage above the enemy using s_damage shouldn't take up so much cpu.
|
Lag is caused by outdated / poorly coded games. Specifying each core would have to be done by the creator of the game (who's to say what is the difference between AI and a simple proc to add 2 numbers) and if the creator preset these and someone with a single core (like me and millions of other people) that would be an example of Murphy's Law, "Anything that can go wrong, will go wrong."