We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9995
    • 1,613 Posts
    I want to be able to see if a server on shared hosting is fast or slow and stuffed. With reverse IP lookup you can see howmany websites are on that server. But it could be the server has many CPU and Memory etc.

    We have a heavy website on a special hosting. We pay allot more.
    The ammount of other websites are ridiculous 250+

    I need to know if that server is indeed faster as the lower costs one and test with a other server.

    So is there a way to see the CPU speed and installed memory of a server and does that indeed give a good result?

    [ed. note: fourroses666 last edited this post 13 years, 2 months ago.]
      Evolution user, I like the back-end speed and simplicity smiley
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      "Speed" is a rather vague subject; speed of what? Fetching files? MySQL queries? if you want to check the speed of generating a page, you can add the [^t^] tags to your templates (yes, those tags work on Revo).

      If you have ssh access, you can run free -m at the command line to find out how much memory you have. Here is a PHP function that is supposed to be able to return an array of memory information, at least on a *nix server.
      <?php
      
      function getSystemMemInfo() 
      {       
          $data = explode("\n", file_get_contents("/proc/meminfo"));
          $meminfo = array();
          foreach ($data as $line) {
          	list($key, $val) = explode(":", $line);
          	$meminfo[$key] = trim($val);
          }
          return $meminfo;
      }
      
      ?>
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 3749
        • 24,544 Posts
        If you can put a page up on both servers, Chrome Dev. tools will give you a detailed profile showing how much time each operation took.
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting
          • 42602
          • 81 Posts
          To check system performance is not really viable option to see if the server is actually faster than the older one as the server infrastructure most like is completely different in many ways.

          More accurate way is to measure how it handles under stress. For example you can use Load impact http://loadimpact.com/ to see how it manages under virtual users and connections. You can also download LoadUI http://www.loadui.org/ (non pro is free) which is pretty good and easy to use and can create different kinds of load tests like the virtual users, it just needs good connection at own end also as it could be become a bottleneck.

          [Edit] About LoadUI, here is a good "tutoria" how to setup "realistic" user traffic: http://www.loadui.org/Working-with-loadUI/realistic-user-flows.html [ed. note: dunnock last edited this post 13 years, 2 months ago.]
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            To see if there really would be a difference, I got myself an account with a hosting company who offers SSD storage, put up a bare Revo installation, and compared it with a similar SiphonLabs cloud site. With practically no load, the the SiphonLabs site is faster, although the times reported are fairly erratic. However, MODx Cloud is using nginx, which for pure web server speed is much faster than Apache.

            Others with already loaded sites are seeing the difference in speed from the faster file reads of the SSD, so with enough load on the site the SSD speed advantage will overtake the nginx web server speed advantage.

            Where something like SSD storage would really shine is for a use like a resource (images, videos, etc) server using nginx or one of the other smaller, faster web servers.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 1343 ☆ A M B ☆
              • 2,213 Posts
              It can be a little tricky to gage the performance of a shared server as there are countless factors contributing to the site's performance. It's also worth noting the server performance will be affected by the addition/removal of sites, server backups, etc. If you are needing a more stable environment a VPS server might be a better choice.

              That being said the number of sites on the server is less important, it's the type of sites that are more important the number of sites. You can have 100 static websites on a server without noticing, but one poorly optimized site can destroy a server's performance.

              You might want to look at the host's plans, generally speaking if their shared plans have limits the servers will be better balanced. A host with unlimited everything plans on the flip side will try to put more accounts/server. Going back to the VPS server approach, your resources are dedicated and protected so there should be few if any performance issues.

              Storage is also an important part of the equation as most operations are read based. In most cases SATA/SAS drives do just fine provide the system isn't overload. The addition of RAID will increase the throughput and further extend the capabilities of the system, which is great if you need a lot of space for cheap.

              The addition of a SSD drive for caching can further improve performance, however if there are other sites using files more frequently it's possible your site will still load from the SATA/SAS drives in the system. The use of only SSD drives will offer the best possible performance, but you get less space at a higher cost. In both cases the use of SSD drives is a little newer, so there are a few more unknowns - if you don't mind a little risk the rewards can be nice.

              If you care to elaborate on the site's demands perhaps we can help you find a better bang for the buck.
                Patrick | Server Wrangler
                About Me: Website | Tweets |  MODX Hosting
                • 9995
                • 1,613 Posts
                Thanks for this info all, usefull info.

                I didn't knew the site was set back to a normal hostingplan again by someone because it wasn't touched for 2 years and would be useless costs for nothing. Thats why I got a bit "mangled" about the ammount of site there where on the server. I checked a other domain which has the larger hosting plan and that has only 6 sites on that server.
                  Evolution user, I like the back-end speed and simplicity smiley
                  • 44258
                  • 33 Posts
                  Quote from: BobRay at Jul 03, 2013, 04:22 PM
                  If you can put a page up on both servers, Chrome Dev. tools will give you a detailed profile showing how much time each operation took.
                  thanks for sharing this, i will also try this tool.