Jump to content

raczman

Members
  • Posts

    39
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by raczman

  1. hello just want to note here, that we're running mangos with latest 3.1.3 commit

    very stable with this patch by derex: http://pastebin.com/m7d3df483

    Thanks for using it, but my name is not Derex (while it's nice that you compare me with him). Actually it's my patch with Infinity's mods, and slight omp critical lock added somewhere where i was too stupid to forget. EVEN if Derex added something to it, It's rude to completely remove any credits of Infinity's and mine work.

  2. Well i never had this one before, could be from 0.12 branch too ofc.

    Here load with ~960 players:

     6664 mangos    20   0 3314M 3046M  9920 S  0.0 38.3  0:21.60   1  |       `- ./mangos-worldd
    6681 mangos    20   0 3314M 3046M  9920 S [b]19.0[/b] 38.3 20:13.38   2  |           `- ./mangos-worldd <- net
    6680 mangos    20   0 3314M 3046M  9920 S [b]20.0[/b] 38.3 20:04.87   1  |           `- ./mangos-worldd <- net
    6679 mangos    20   0 3314M 3046M  9920 S  1.0 38.3  2:29.36   3  |           `- ./mangos-worldd
    6678 mangos    20   0 3314M 3046M  9920 S  0.0 38.3  0:00.02   2  |           `- ./mangos-worldd
    6677 mangos    20   0 3314M 3046M  9920 S  0.0 38.3  0:05.56   3  |           `- ./mangos-worldd
    6676 mangos    20   0 3314M 3046M  9920 S [b]25.0[/b] 38.3 25:53.56   2  |           `- ./mangos-worldd <-- map?
    6675 mangos    20   0 3314M 3046M  9920 S [b]29.0[/b] 38.3 25:57.04   4  |           `- ./mangos-worldd <-- map?
    6674 mangos    20   0 3314M 3046M  9920 S  2.0 38.3  2:25.08   2  |           `- ./mangos-worldd
    6673 mangos    20   0 3314M 3046M  9920 S [b]29.0[/b] 38.3 25:58.11   3  |           `- ./mangos-worldd <-- map?
    6672 mangos    20   0 3314M 3046M  9920 R [b]72.0[/b] 38.3  1h03:01   1  |           `- ./mangos-worldd <-- main
    6668 mangos    20   0 3314M 3046M  9920 S  0.0 38.3  0:03.95   3  |           `- ./mangos-worldd
    6667 mangos    20   0 3314M 3046M  9920 S  0.0 38.3  0:42.00   3  |           `- ./mangos-worldd
    6666 mangos    20   0 3314M 3046M  9920 S  0.0 38.3  0:12.10   1  |           `- ./mangos-worldd

    You didnt notice that the main thread is the one on top, the one which spawned other threads? :)

  3. We could also change the library check to e.g. check for both ncurses and readline, and use whatever is available.

    Might be an idea to support both, as either readline or ncurses always is available on Linux, and at least Fedora, openSUSE, and Debian (and derivatives) always include both by default.

    It actually is the only idea to allow user to write and not get interrupted by log output. Question is what about windoze users?

  4. Hmm, ... readline not installed at all UNIX as i understand

    Yes and no, this library is used in tonnes of free software (bash, gdb, and so on...) But devel packages are still needed for building.

    and then will need some configure code for use only if installed.

    No, not at all. Configuration is optionall and it only overrides default behaviour.

  5. This is a really good idea, but for start i would recommend trying to support one project. You will lack people and resources at the beggining, and you will find yourself working mostly alone. Don't let that discourage you. I am working on some sort of custom/fun core and i am amazed that there are NO custom or simply fun scripts out there, everyone pushes "Blizzlike" like we do not have SD2 and ACID to do that.

    I wish you good luck, and have fun doing that ;)

  6. net_buffer_length = 1024K

    join_buffer_size = 2M

    sort_buffer_size = 2M

    read_buffer_size = 2M

    read_rnd_buffer_size = 2M

    table_cache = 500

    max_allowed_packet = 4M

    max_connections=300

    max_user_connections=350

    key_buffer = 256M

    key_buffer_size = 256M

    thread_cache = 256M

    thread_concurrency = 8

    thread_cache_size = 1024

    thread_stack = 128K

    default-character-set = utf8

    innodb_flush_method=O_DIRECT

    innodb_buffer_pool_size=1800M <= this depends on size of your characters DB

    innodb_additional_mem_pool_size=50M

    innodb_log_file_size=5M

    innodb_log_buffer_size=4M

    innodb_flush_log_at_trx_commit=0

    innodb_thread_concurrency=8

    innodb_file_per_table

    innodb_table_locks=0

    Well, dump tables before using, etc. 2k+ on that config.

  7. It looks like wether i made a mistake in mangos diff - or you have some problems with DB performance. But thanks for thorough testing, i appreciate that! Will look into what you posted ASAP.

  8. Hmm,

    +MANGOS_INCLUDES="$POSTGRE_INCLUDES $MYSQL_INCLUDES $MANGOS_INCLUDES -fopenmp"

    I added -fopenmp, at least in the diff from previous page. I really dont know where did i add -fomp, but if i did - sorry - i was writing mangos diff after pulling an all-nighter - yay for no sleep.

  9. O i've tested on 700 users. Ideed low latency but more cpu.

    Very good patch, but Derex is a little better. :)

    The point of it is to use more CPU ;) Thanks for testing, but could you give me some numbers? CPU load without and with this patch - or maybe if you have it in mangos, update time diff.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use