Results 1 to 6 of 6

Thread: centreon-engine slower than ndo ?

  1. #1
    Join Date
    Feb 2012
    Posts
    8

    Question centreon-engine slower than ndo ?

    Hi,
    I wanted to switch from ndo to centreon broker to improve performance.
    I will stick with nagios as it would be very hard to changes the many pollers on my architecture.

    Before doing so, I benched centreon-broker vs ndo on a poller in a KVM virtual machine (hosting mysql, centreon and the poller, with 5000 local dummy services).
    But centreon-broker seems slower on my bench, see this image (concerning services latencies) :

    http://imageshack.us/photo/my-images...mparaison.png/

    1) Cold start with centreon-broker
    2) Hot swap from centreon-broker to ndo (restarting poller obviously)
    3) Cold start with centreon-broker
    4) Hot swap from ndo to centreon-broker
    5) Hot swap from centreon-broker to ndo (where latency drops before going up again)

    Why is so ?
    Can I make things better, better than ndo ?

    Thanks
    Last edited by romainc11; 2nd May 2012 at 10:59. Reason: actually usin kvm, not vmware

  2. #2
    Join Date
    Mar 2004
    Location
    Nanterre [92]
    Age
    37
    Posts
    2,506

    Default

    Thanks for your benchs.
    I will go back here for Centreon team reply
    Intel(R) Xeon(TM) CPU 3.4GHz - MemTotal : 1034476 kB
    Centreon 2.4.1 - Nagios 3.2.1 - Nagios Plugins 1.4.15 - Manubulon Plugins tuné
    Fedora Core 5 - 2.6.20-1.2320

  3. #3
    Join Date
    Sep 2010
    Location
    Brest
    Posts
    12

    Default

    Quote Originally Posted by romainc11 View Post
    Hi,
    Before doing so, I benched centreon-broker vs ndo on a poller in a vwmare virtual machine (hosting mysql, centreon and the poller, with 5000 local dummy services).
    But centreon-broker seems slower on my bench, see this image (concerning services latencies) :
    Hi,

    Thanks for testing Centreon Broker and for giving us the results of your tests. Until today, we've not experienced latency issues as you describe. Can you provide more information on the benchmarks you ran ? Especially VM sizing, Nagios, Broker and MySQL configuration files. If you do not want to make them public you can send them to mkermagoret@merethis.com . We'll look at it and tell you what gone wrong.

    Best regards,

  4. #4
    Join Date
    Feb 2012
    Posts
    8

    Default

    Here are the infos :

    Physical machine : Intel xeon x5670 @ 2,93 Ghz 6 cores (12 logical cores):
    Linux 2.6.18-308.1.1.el5, 16 Go of ram, 16 Go of swap
    Virtual Machine : Install of ces standard, 2 Go of ram, 2 Go of swap

    Packages version :
    nagios-3.2.3-1
    nagios-core-3.2.3-1

    centreon-broker-2.0.2-1
    centreon-broker-cbmod-2.0.2-1
    centreon-broker-storage-2.0.2-1
    centreon-broker-core-2.0.2-1
    centreon-broker-cbd-2.0.2-1

    centreon-2.3.4-7
    centreon-database-2.3.4-7
    centreon-clapi-1.2-4

    Centreon-broker configuration :
    http://dl.dropbox.com/u/25195348/cen...r-conf.tar.bz2

    Nagios configuration :
    http://dl.dropbox.com/u/25195348/cen...s-conf.tar.bz2

    MySQL configuration (ces default) :

    [mysqld]
    datadir=/var/lib/mysql
    socket=/var/lib/mysql/mysql.sock
    user=mysql
    # Default to using old password format for compatibility with mysql 3.x
    # clients (those using the mysqlclient10 compatibility package).
    old_passwords=1

    # Disabling symbolic-links is recommended to prevent assorted security risks;
    # to do so, uncomment this line:
    # symbolic-links=0

    [mysqld_safe]
    log-error=/var/log/mysqld.log
    pid-file=/var/run/mysqld/mysqld.pid

    ##################

    Thanks
    Last edited by romainc11; 2nd May 2012 at 19:03.

  5. #5
    Join Date
    Feb 2012
    Posts
    8

    Default

    Does anyone have an answer ?
    Meanwhile we managed to improve drastically ndo performances by using MySQL MEMORY engine on some ndo tables (the ones that are actually completely refilled at each poller (re)start).

  6. #6
    Join Date
    Sep 2010
    Location
    Brest
    Posts
    12

    Default

    Quote Originally Posted by romainc11 View Post
    Does anyone have an answer ?
    Indeed the performance penalty you encounter comes from a feature of Centreon Broker : the asynchronous event processing. This feature allows Centreon Broker to process events after they've been generated where NDOUtils processes them on the fly. Asynchronous processing usually prevent Nagios from being slowed by the event broker.

    Asynchronous event processing requires to copy each generated event. This performance hit is usually unnoticeable, as the scheduling of Nagios is not a big part of the machine load. However when the share of load of the scheduling process becomes important, as in your platform (average latency of 50s), the event copy slows Nagios down.

    To make things better I would recommend better platform sizing so that average check latency without any broker modules gets close to 0.

    Best regards.

Similar Threads

  1. services disabled avec centreon-engine + centreon-broker
    By thomas.dub in forum Centreon Project
    Replies: 0
    Last Post: 8th March 2012, 15:24
  2. impossible de relancer centreon engine
    By seb.lamy in forum Setup
    Replies: 10
    Last Post: 23rd February 2012, 11:41
  3. Migrating from nagios to centreon-engine
    By julian.alcala in forum Setup
    Replies: 7
    Last Post: 22nd February 2012, 18:56
  4. Centreon Engine, interface et autres...
    By lansing in forum Centreon Project
    Replies: 7
    Last Post: 16th November 2011, 16:26
  5. Correlation engine in Centreon?
    By serginho in forum Centreon Project
    Replies: 6
    Last Post: 6th August 2009, 18:46

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •