How does VB handle multi processors?

Discussion in 'vBulletin Discussions' started by kev, Aug 25, 2009.

  1. kev

    kev Regular Member

    Joined:
    Mar 9, 2009
    Messages:
    1,224
    Likes Received:
    61
    Can someone tell me how VB handles more then one processor on a server?

    Lets say that you install VB on a single core, single processor server, and then move to a dual core processor. Will VB start using the send core?

    Or does VB rely on stuff like php and mysql to use the dual cores?

    I'am a little lost on how to make sure that VB is getting the most out of servers with more then on core or more then one CPU.
     
  2. David

    David Regular Member

    Joined:
    May 30, 2003
    Messages:
    1,088
    Likes Received:
    133
    Location:
    Australia
    I do beleive it relys on php and mysql to make use of the available resources.

    Though, i'm not 100% certain you might want to check with vB support for an official answer. I know the engine vB is currently written on is archaic and I'm not sure dual core's (and above) were highly supported when it was created.
     
  3. torque

    torque Regular Member

    Joined:
    Jun 7, 2009
    Messages:
    735
    Likes Received:
    12
    Location:
    Campbelltown, New South Wales, Australia
    What they said^^^ lol I had typed a long winded reply for this and then saw this reply appear!
     
  4. Wayne Luke

    Wayne Luke Regular Member

    Joined:
    Apr 2, 2009
    Messages:
    991
    Likes Received:
    276
    vBulletin itself doesn't care because vBulletin isn't executed in the traditional sense. The PHP interpretor reads the files and follows the commands for processing by the server so it is the version of PHP and how it interacts with other software that matters.

    It depends more on your OS, webserver and version of PHP installed. For instance, on a Windows server using IIS, you shouldn't install a multithread version of PHP. IN fact, you should use FastCGI on Windows installations. However if you use FastCGI, than those CGI processes can run on different cores, even if it isn't multithreaded. If you're using Apache with CGI (not fast CGI) or Apache 1.X with a non-threadsafe version of PHP as an Apache module it won't work as well and will probably be confined to a single core.

    Also it matters if you're using 32-bit or 64-bit software for your OS. 32-bit OSes do not use multiple cores as well. Of course, no one is using a 32-bit OS on their server these days, are you? 32-bit OSes should be relegated to gaming consoles, DVRs and anywhere else where multitasking isn't important.
     

Share This Page