Discovery Gaming Community
Server and FLhook - Printable Version

+- Discovery Gaming Community (https://discoverygc.com/forums)
+-- Forum: Discovery General (https://discoverygc.com/forums/forumdisplay.php?fid=3)
+--- Forum: Discovery RP 24/7 General Discussions (https://discoverygc.com/forums/forumdisplay.php?fid=23)
+--- Thread: Server and FLhook (/showthread.php?tid=28662)

Pages: 1 2


Server and FLhook - looqas - 10-23-2009

Yesterday I found myself wondering about this. I remember clearly reading from the forums that the other core of the server processor runs the FLhook. So how much CPU it uses? Cannon has been implementing huge amount of things via FLhook, so I'm interested how much more FLhook uses now than it used to before him? While you are at it can you give the amount of mem it uses too?

Spill the beans out and satisfy my curiosity.


Server and FLhook - Cannon - 10-23-2009

We use 100% CPU 0 + 10% CPU 1 for FLServer - at about 150 players (NPC spawning starts shutting down at about 100 players).

FLHook isn't multithreaded (in general) and runs within the FLServer primary thread. FLServer isn't multithreaded either for that matter (for anything that matters).

Around another 20% of CPU 1 runs player account management stuff and other assorted tools.

I'm not really sure how much additional load the flhook stuff adds to the server. The anticheat related functions are probably the most expensive as they run constantly and reduce some CPU to crunch the numbers. Various player commands don't really add much as they run comparatively infrequently.

To give you an idea, a ship when moving will send around 10 position updates per second to the server. Add the weapons fire and other stuff and multipler by 100 players adds a significant load to the server.

More CPUs/Cores woiuld be useful but in general we really want fast CPUs around 4 GHz by preference. It's the easiest way to make FLServer go faster.


Server and FLhook - Linkus - 10-23-2009

There are processors out there at 4ghz. Though it's more likely that a 3.5> one overclocked would be a better choice.


Server and FLhook - Corsair - 10-23-2009

Right now, I think that most lag problems can be solved by opening a server in the US. The Czech server is too far away for some people.

Of course, new servers are expensive to get good ones.


Server and FLhook - Agmen of Eladesor - 10-23-2009

' Wrote:Right now, I think that most lag problems can be solved by opening a server in the US. The Czech server is too far away for some people.

Of course, new servers are expensive to get good ones.

Um, I'm sure that the guys at DUSA would be surprised that there's no server in the U.S. :P

Seriously, though - you're always going to have certain issues simply due to where people are in the world physically in relation to ANY server. For example, I run (on average) 180 ping to the GC server, 45 ping to DUSA, since that one is only 80 miles or so from me.

And I know the guys in ANZLAG territory run around 400 (or worse) ping to anything and everything. If you don't like the lag issues on the GC main server, then play on DUSA. Just don't complain here about issues there, and vice-versa. They are two seperate servers, with different sets of admins.




Server and FLhook - Sprolf - 10-23-2009

Actually, I have better ping on USA, but more lag.
I have a few more percent loss here, though.

... I prefer this server, truth be told.


Server and FLhook - TYHPilot - 10-23-2009

My ping on the DUSA server is super low and it barely ever lags for me, but I still prefer it here, More action. DUSA is where I go and be a powertrader capspammer


Server and FLhook - jxie93 - 10-23-2009

Exactly, TOO MANY people play on GC. As there is no way to increase the cap and too many people will cause problems/lag/cheaters so we need to spread the Disco population evenly over DUSA, DUK and GC.


Server and FLhook - DarthCloakedGuy - 10-24-2009

Personally, I prefer the community here over DUSA. Yes, DUSA is closer, but... hell... they don't even have a Liberty Rogue faction-- I'd be stuck as an indie! D:


Server and FLhook - chovynz - 10-24-2009

Cannon, is there a way to make the peoples computers work for you?
ha!
"In Soviet Disco Your CPU works for us!"