In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

You are here: Big Brother Bot ForumSupport ForumsGeneral Usage Support (Moderator: MordyT)I/O Usage of Chatlogger and XLRStats
Pages: [1]   Go Down
  Print  
Author Topic: I/O Usage of Chatlogger and XLRStats  (Read 910 times) Bookmark and Share
B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« on: May 26, 2009, 01:38:52 PM »

The admin of the community I am in has been put off installing XLRStats and Chatlogger, because he thinks the I/O of the extra SQL Queries would increase the load and as such ping for our clients. This is, he says, because we have a slow hard drive, and the constant SQL pounding of the databases could increase ping. Can anyone confirm or deny whether using these plugins increase ping or load on the servers significantly?
Logged


Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #1 on: May 26, 2009, 02:10:38 PM »

it all depend on what your hardware can handle.
mysql can suffer from lack of RAM. About HDD, you'd better check mysql stats (can be seem on phpmyadmin) as mysql config can be tweaked to use more ram which avoid too much I/O disk operations.

The server I run has the following specs :
 * Intel(R) Pentium(R) Dual  CPU  E2180  @ 2.00GHz
 * 2GB RAM
 * 100Mb/s network card with unlimited brandwith

This machine runs :
 * 6 UrT servers
 * 2 Left4ded servers
 * 5 B3 bots (4 with chatlogger, and 3 with xlrstats)
 * website (using mysql as well)
 * serves maps through UrT autodownload
 * mysql (set up to take up to 100MB of RAM)

Mysql handles an average of 12 queries/s and had handled up to 130 q/s
with at max 20 simultanous connections. On average 10 q/s are served from mysql cache.

UrT servers have an average of 20 slots taken during the day.
CPU average is 15%
Total RAM used for programs : 1GB (which left 1GB for cache)
Each instance of B3 take ~10MB RAM and less tahn 1% of CPU
And nobody suffers lags

If any doubt about B3 making the system suffer, use monitoring solutions like munin or nagios and watch the graphs when B3 is on for a week, and compare when B3 is off for a week.
Maybe the mysql service handles a lot more things than your B3 databases...
« Last Edit: May 26, 2009, 02:20:35 PM by Courgette » Logged

B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #2 on: May 27, 2009, 12:54:56 AM »

It's a random dual core, 4gb ram.

His fears are entirely based on database usage, and only b3 databases are hosted. We usually have around 15 people on our servers.

He does not wish to host the databases externally because of the extra latency & lower security. He is worrying about people stealing the GUID's and names of our members.

He does not wish to even try these plugins, purely because A) He doesn't want the server to go all laggy and for everyone to leave, and B) He was burnt by Ultrastats (by the end it was taking 3 hours to parse the logs), and is suspicious of stats.

Would the extra mysql queries from XLRStats and Chatlogger increase the server ping significantly on the server (fairly low load, can run 5 servers, but most are empty, obviously they only use HDD during map changes), and is there a way to theoretically prove this, without trying the plugins?
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #3 on: May 27, 2009, 01:00:44 AM »

It looks like your mysql database has never had the occasion to proove what it can handle Smiley
He is probably against the idea of having a mysql database handling queries and against stats. Ping suffering is the excuse he's making up now. If you counter argue that point, he will probably find another reason.

Find a picture of him naked and blackmail him if he doesn't want to try the stuff  Grin
« Last Edit: May 27, 2009, 01:03:20 AM by Courgette » Logged

Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal