5.1.6 Performance

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Zachery
    replied
    Ask your webhost if PHP 5.5 is available, would make a fairly noticeable improvement.

    Leave a comment:


  • rnedelkow
    replied
    Thanks again Wayne. I'll give that try.

    Leave a comment:


  • Wayne Luke
    replied
    It would have its own section. I suggest cloning your database and upgrading that to 5.1.6 in its own directory first.

    Leave a comment:


  • rnedelkow
    replied
    These are all the "cache" entries in PHP but nothing for memcache. Thanks for pointing this out Wayne.
    soap

    Soap Client enabled
    Soap Server enabled
    soap.wsdl_cache 1 1
    soap.wsdl_cache_dir /tmp /tmp
    soap.wsdl_cache_enabled 1 1
    soap.wsdl_cache_limit 5 5
    soap.wsdl_cache_ttl 86400 86400
    phar.cache_list no value no value
    phar.readonly On On
    phar.require_hash On On
    Reflection

    Version $Id: 4af6c4c676864b1c0bfa693845af0688645c37cf $
    session

    Session Support enabled
    Registered save handlers files user
    Registered serializer handlers php php_binary wddx
    session.auto_start Off Off
    session.bug_compat_42 Off Off
    session.bug_compat_warn Off Off
    session.cache_expire 180 180
    session.cache_limiter nocache nocache
    Core

    PHP Version 5.3.28
    allow_call_time_pass_reference Off Off
    allow_url_fopen On On
    allow_url_include Off Off
    always_populate_raw_post_data Off Off
    arg_separator.input & &
    arg_separator.output & &
    asp_tags Off Off
    auto_append_file no value no value
    auto_globals_jit On On
    auto_prepend_file no value no value
    browscap no value no value
    default_charset no value no value
    default_mimetype text/html text/html
    define_syslog_variables Off Off
    disable_classes no value no value
    disable_functions no value no value
    display_errors Off Off
    display_startup_errors Off Off
    doc_root no value no value
    docref_ext no value no value
    docref_root no value no value
    enable_dl Off Off
    error_append_string no value no value
    error_log C:\Windows\temp\php53_errors.log C:\Windows\temp\php53_errors.log
    error_prepend_string no value no value
    error_reporting 30711 22527
    exit_on_timeout Off Off
    expose_php On On
    extension_dir C:\Program Files (x86)\PHP\v5.3\ext\ C:\Program Files (x86)\PHP\v5.3\ext\
    file_uploads On On
    highlight.bg #FFFFFF #FFFFFF
    highlight.comment #FF8000 #FF8000
    highlight.default #0000BB #0000BB
    highlight.html #000000 #000000
    highlight.keyword #007700 #007700
    highlight.string #DD0000 #DD0000
    html_errors Off Off
    ignore_repeated_errors Off Off
    ignore_repeated_source Off Off
    ignore_user_abort Off Off
    implicit_flush Off Off
    include_path .;C:\php\pear .;C:\php\pear
    log_errors On On
    log_errors_max_len 1024 1024
    magic_quotes_gpc Off Off
    magic_quotes_runtime Off Off
    magic_quotes_sybase Off Off
    mail.add_x_header On On
    mail.force_extra_parameters no value no value
    mail.log no value no value
    max_execution_time 300 300
    max_file_uploads 20 20
    max_input_nesting_level 64 64
    max_input_time 60 60
    max_input_vars 1000 1000
    memory_limit 128M 128M
    open_basedir no value no value
    output_buffering 4096 4096
    output_handler no value no value
    post_max_size 8M 8M
    precision 14 14
    realpath_cache_size 16K 16K
    realpath_cache_ttl 120 120
    register_argc_argv Off Off
    register_globals Off Off
    register_long_arrays Off Off
    report_memleaks On On
    report_zend_debug On On
    request_order GP GP
    safe_mode Off Off
    safe_mode_exec_dir no value no value
    safe_mode_gid Off Off
    safe_mode_include_dir no value no value
    sendmail_from [email protected] [email protected]
    sendmail_path no value no value
    serialize_precision 17 17
    short_open_tag Off Off
    SMTP localhost localhost
    smtp_port 25 25
    sql.safe_mode Off Off
    track_errors Off Off
    unserialize_callback_func spl_autoload_call no value
    upload_max_filesize 2M 2M
    upload_tmp_dir C:\Windows\temp C:\Windows\temp
    user_dir no value no value
    user_ini.cache_ttl 300 300

    Leave a comment:


  • Wayne Luke
    replied
    Maintenance -> View PHP Info.

    If it isn't listed there, you might ask your host to install it.

    Leave a comment:


  • rnedelkow
    replied
    The control panel doesn't list memcache. Is that what you mean?

    Leave a comment:


  • Wayne Luke
    replied
    It is commented out in the code you show here so it wouldn't be used. If you look at your PHP Info does it list memcache?

    Leave a comment:


  • rnedelkow
    replied
    Thanks Wayne. I think memcache is enabled on our server judging by the config file but I really don't know if this is setup correctly. We are using a dedicated server.

    Code:
    // ****** CACHE CONFIGURATION *****
        // Here you can configure different methods for caching items.
        // The following are the cacheing classes that can be used.
        // vB_Cache_Db - This setting stores the data in the database
        // vB_Cache_APC - This setting stores the data in APC
        // vB_Cache_Memcached - This stores the data in memcache
        // vB_Cache_Memory - This setting uses php's memory while a page is being generated.
        // Each cache area can use its own cache type.
    $config['Cache']['class'][0] = 'vB_Cache_Db'; //regular cache
    $config['Cache']['class'][1] = 'vB_Cache_Memory'; //fastest cache
    $config['Cache']['class'][2] = 'vB_Cache_Db'; //largest cache and longest life.
    
    //    Cache options are
    //         vB_Cache_Memory            fastest but doesn't survive a page load.
    //        vB_Cache_Db                significant speed improvement and available to everyone.
    //        vB_Cache_Filesystem        good performance, reduces traffic and load on db server. Not available to everyone-
    //                                your web server must be able to write to the file system.
    //        vB_Cache_Memcached        excellent performance but usually only available to dedicated or virtual hosted sites.
    //        vB_Cache_APC            excellent performance but only available to those with APC installed, and on a single web server.
    //        vB_Cache_XCache            excellent performance but only available to those with XCache installed, and on a single web server.
    
    //Fast DS Configuration Options
    // $config['fastDS'] = true; // Use to enable or disable fastDS (true/false).
    // $config['fastDSType'] = 'APC'; // Storage Type, at this time APC is the only option.
    // $config['fastDSPrefix'] = ''; // Prefix to prevent collisions on shared systems. Defaults to datastore prefix.
    //Note that if you use the same cache type for this and fast or large cache, and the same prefix, you may have conflicts.
    // $config['fastDSLimit'] = 6000000; // Limits the amount of memory consumed, in bytes
    
    //    ******** FILESYSTEM CACHE CONFIGURATION ******
    //If you use filesystem cache you MUST uncomment the line below.
    //set the path to somewher writeable by the web server process. This location must already exist. Please put
    // this somewhere outside the document root. Otherwise you have just created a serious security issue.
    //Don't include the final '/'
    
    //$config['Cache']['fileCachePath'] = '/valid/writeable/for/my/webserver';
    
    
        // ****** DATASTORE CACHE CONFIGURATION *****
        // Here you can configure different methods for caching datastore items.
        // You may need to clear this cache after installing/upgrading. You can do this either
        // in the control panel (Maintenance) or by restarting the web server.
        // vB_Datastore_Filecache  - to use includes/datastore/datastore_cache.php
        // vB_Datastore_APC - to use APC
        // vB_Datastore_XCache - to use XCache
        // vB_Datastore_WinCache - to use WinCache
        // vB_Datastore_Memcached - to use a Memcache server, more configuration below
        // $config['Datastore']['class'] = 'vB_Datastore_Filecache';
        //if you use Filecache you can accept the default location, or better
        // to uncomment the next line and set a location
        // $config['Misc']['datastorepath'] = '/valid/writeable/for/my/webserver';
        // or if you have set $config['Cache']['fileCachePath' above you can do nothing and
        // it will use that location.
    
        // ******** DATASTORE PREFIX ******
        // If you are using a PHP Caching system (APC, XCache, eAccelerator, WinCache) with more
        // than one set of forums installed on your host, you *may* need to use a prefix
        // so that they do not try to use the same variable within the cache.
        // This works in a similar manner to the database table prefix.
    // $config['Datastore']['prefix'] = '';
    
        // It is also necessary to specify the hostname or IP address and the port the server is listening on
    /*
    $config['Datastore']['class'] = 'vB_Datastore_Memcached';
    $i = 0;
    // First Server
    $i++;
    $config['Misc']['memcacheserver'][$i]        = '127.0.0.1';
    $config['Misc']['memcacheport'][$i]            = 11***;
    $config['Misc']['memcachepersistent'][$i]    = true;
    $config['Misc']['memcacheweight'][$i]        = 1;
    $config['Misc']['memcachetimeout'][$i]        = 1;
    $config['Misc']['memcacheretry_interval'][$i] = 15;
    */
    //If you are using Memcache you should can set a prefix. This is needed only if the memcache server is shared. If dedicated you don't need it.
    $config['Cache']['memcacheprefix'] = '';

    Leave a comment:


  • Wayne Luke
    replied
    You would have to install a copy on a test database to see. What caching are you using? You can find out in your config.php file. Do you have MemcacheD installed on the server?

    The notification changes would not affect those two pages but there have been additional changes in cache management that may.

    Leave a comment:


  • rnedelkow
    replied
    I average 24 seconds to load the New Topics page and 26 seconds for Today's Posts. This forum loads much faster but I realize server optimization and forum settings play a role. Do you think upgrading to 5.1.6 will improve our page load times?

    Leave a comment:


  • rnedelkow
    started a topic 5.1.6 Performance

    5.1.6 Performance

    Can anyone comment on the performance of their forum using v5.1.6? Does the notification re-factor improve performance when viewing New Topics or Today's Posts?

Related Topics

Collapse

Working...