Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default cPGS 0.8.5, couple of new features you should be aware of

    Hi all,

    With 0.8.4 and 0.8.5 there were two new features added for games that can cause some confusion for folks not familiar with what they are and do. Both of these features have config options in WHM for each user/game/server install # on the "manage game" page.

    The first is the ability to set the CPU affinity for each game, so for instance you want to have a server always use one CPU core on your quad core server (may show up as 8 with hyperthreading), you can choose which of the available cores to stick it on and it will never roam around to other cores like it would by default. This came up due to some lag spikes seen on a clients server whenever the process was moved from core to core via the kernel. Normally this isn't noticable, but apparently on some machines it is. This feature can also be used to help guarantee a client that their server will have a certain amount of CPU available to it.

    The other new feature is the ability to set the scheduler used for each game server. By default, processes use the SCHED_OTHER scheduler which doesn't allow priority between processes. Many high performance servers will use the SCHED_FIFO (first in first out) or SCHED_RR (round robin) schedulers with a high priority to allow the game servers to get fast response times from the system.
    If you do not set the config for any of these features, they will remain as they always have been. Both of these features require the util-linux package (for taskset and chrt binaries) which should be part of any distro's core packages, but heads up given just in case.

    If you run into trouble with these features please let me know, I tested them out on as many servers as I could, but there may be fringe cases where they won't work as expected so I'd like to take a look at them if possible.

    Have fun
    Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
    https://tickets.cpanel.net/submit/index.cgi?support=1

  2. #2
    Member HOSSAM's Avatar
    Join Date
    Jun 2007
    Location
    Egypt
    Posts
    52

    Default Re: cPGS 0.8.5, couple of new features you should be aware of

    Hello Darren,

    Thanks for your update .. Also I updated cPGS monitor to support latest games added and replyed about that in the official topic

    http://forums.cpanel.net/f41/cpgs-mo...on-141717.html

    Regards

  3. #3
    Member
    Join Date
    May 2011
    Posts
    17

    Default Re: cPGS 0.8.5, couple of new features you should be aware of

    Hello Darren,

    Sory for my question, but, i can't find the 2 options you describe ?
    Where can we acces them ?
    nothing new on my manage page ;
    +
    Last edited by skalp; 11-08-2011 at 01:17 PM.

  4. #4
    Member
    Join Date
    May 2011
    Posts
    17

    Default Re: cPGS 0.8.5, couple of new features you should be aware of

    I'm on a "CENTOS 5.7 x86_64"
    the "util-linux package" is installed but still can't access the 2 options you describe ,,,
    thanks

  5. #5
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default Re: cPGS 0.8.5, couple of new features you should be aware of

    skalp : you aren't seeing these show up (note the blue text/arrows) ?

    cPGS 0.8.5, couple of new features you should be aware of-0.8.5-features.png
    Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
    https://tickets.cpanel.net/submit/index.cgi?support=1

  6. #6
    Member
    Join Date
    May 2011
    Posts
    17

    Default Re: cPGS 0.8.5, couple of new features you should be aware of

    A screenshot

    cPGS 0.8.5, couple of new features you should be aware of-mng_whm.jpg

  7. #7
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default Re: cPGS 0.8.5, couple of new features you should be aware of

    That's showing you've got version 0.8.0-0.0.5 rather than 0.8.5-0.0.0. Was your cPanel installed via the plugins menu in WHM ? If not, use that to install it. If it was, do you have upcp set to run each night ? The cPGS (and all addons/plugins) are updated during the upcp run. If that is disabled, try running a "forced self update" of cPGS via the menu in WHM. I assume the latest version showing as available in WHM->cPGS is the 0.8.5-0.0.0 one ?
    Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
    https://tickets.cpanel.net/submit/index.cgi?support=1

  8. #8
    Member
    Join Date
    May 2011
    Posts
    17

    Default Re: cPGS 0.8.5, couple of new features you should be aware of

    Arf,,,
    I do a force install,
    i'll see for the upcp
    Thanks for you're help ,,,

  9. #9
    Member
    Join Date
    May 2011
    Posts
    17

    Default Re: cPGS 0.8.5, couple of new features you should be aware of

    Hi ! Darren
    I've tried all Kernel Scheduler options
    -fifo -->the process goes up to 90% and the server don't start
    -->in the process manager(whm) the priority is still at "0"
    -round robin-->i d'ont see changes with normal state and priority "0"
    -batch and other-->same as normal and as others, priority as "0"

Similar Threads & Tags
Similar threads

  1. Is anyone aware of current changelog?
    By anup123 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-20-2006, 04:17 PM
  2. X fully language aware
    By AWmaster in forum Themes and Branding
    Replies: 19
    Last Post: 11-01-2004, 01:56 PM
  3. x and x2 language aware?
    By JC in forum Themes and Branding
    Replies: 2
    Last Post: 08-08-2003, 10:34 AM
  4. Cluster Aware Features
    By rochen in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-15-2003, 09:39 AM
  5. Language aware skin
    By kosmo in forum Themes and Branding
    Replies: 15
    Last Post: 06-27-2002, 09:43 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube