Spigot multiple cpu cores used?

Discussion in 'Spigot Discussion' started by Tompage, May 19, 2013.

  1. Hello,
    My question is if anyone knows if spigot can also use 2,3 or 4 cores.
     
  2. Yes.
     
    • Agree Agree x 1
  3. It can?
    I thought md_5 was still working on it?
     
  4. It can, but the main thread stays in 1 core.
     
    • Like Like x 1
  5. then what good is it if you have multiple cpu cores?
     
  6. joehot200

    Supporter

    None o_O
    The main thread can only use one CPU core. It is a big holdback, and is one of the reasons BungeeCord was created. Because one core can only hold so many people.
     
    • Disagree Disagree x 1
  7. vemacs

    Artist

    Because threads != cores.

    The network, chat, and save threads are automatically allocated properly. You don't need to care.

    Learn what threading actually is first.
     
    • Like Like x 1