Giter VIP home page Giter VIP logo

Comments (2)

baconga avatar baconga commented on June 15, 2024

I feel it a lot more performance!

from ogar2-server.

avafloww avatar avafloww commented on June 15, 2024

Keep in mind 999 users is a lot for any server. The official servers are actually split into many separate servers per region - there isn't actually 78,000 players on North America at once, for example. With a reasonable number of users, Ogar 2 should be faster under default settings, as network IO isn't performed on the same thread that performs world/entity ticking.

Also, Ogar 2 is still under heavy development, and isn't ready for production use. However, if you'd like to try multithreaded ticking, there's a very experimental flag you can use when launching the server to change the number of tick threads:

java -DtickThreads=8 -jar whatever-your-ogar-server-jar-is-named.jar

Replace 8 with however many tick threads you want to attempt using; I would recommend not having this value any higher than the number of threads your CPU has, as it'd be counterproductive at that point. As I said, this flag is extremely experimental, and might cause very strange oddities or crashes - use at your own risk.

from ogar2-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.