Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

i did a fresh wordpress install on my NAS and on my local machine (notebook). on my notebook anything is running perfect (takes ~3 secs to load) but from my NAS it is really extremely slow :( (taking ~12 secs)

it's the same setup and i couldn't find out the reason .. :(

it seems like that the problem is the internal siteurl (the nas' ip-address) and that wordpress is using it for all paths ..

any ideas? thanks

share|improve this question
    
Where's the database sit? Local machine or NAS? –  editor Feb 9 '11 at 15:16
    
it's also at the nas. –  Fuxi Feb 9 '11 at 15:21
add comment

2 Answers

up vote 1 down vote accepted

I guess you already answered the question yourself. The other thing could be that your NAS has a slow harddrive (5.400 rpm) or that your connection is slow.


Edit: Speed up with removing unwanted dashboard items...

<?php
/*
Plugin Name:    Dashboard-Widgets Removal Plugin
Plugin URI:     http://example.com
Description:    Disables admin UI dashboard widgets that you do not want
Author:         Franz Josef Kaiser
Author URI:     http://say-hello-code.com
Version:        0.1
License:        GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
/**
 * Disable unwanted Dashboard Admin UI Widgets
 */
function oxo_dashboard_widgets() {
    if ( !is_admin() ) 
        return;

    global $wp_meta_boxes;
    // Right Now - Comments, Posts, Pages at a glance
    # unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_right_now'] );
    // Recent Comments
    # unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_recent_comments'] );
    // Incoming Links
    # unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_incoming_links'] );
    // Plugins - Popular, New and Recently updated Wordpress Plugins
    unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_plugins'] );

    // Wordpress Development Blog Feed
    unset( $wp_meta_boxes['dashboard']['side']['core']['dashboard_primary'] );
    // Other Wordpress News Feed
    unset( $wp_meta_boxes['dashboard']['side']['core']['dashboard_secondary'] );
    // Quick Press Form
    # unset( $wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press'] );
    // Recent Drafts List
    unset( $wp_meta_boxes['dashboard']['side']['core']['dashboard_recent_drafts'] );
}
add_action( 'wp_dashboard_setup', 'oxo_dashboard_widgets' );
?>

Edit #2: Link to a debug plugin that offers time meassuring: Blackbox Bar

share|improve this answer
1  
i forgot to mention that filetransfer is really fast, also normal use of the webserver. one thing i found out: disabling the dashboard's widgets did it speed up dramatically, but still ~2x slower than from the local machine. –  Fuxi Feb 9 '11 at 14:44
    
Just adjust the plugin i added to your needs if it helps... –  kaiser Feb 9 '11 at 15:44
    
Oh, and look at the link at the bottom of the answer. Maybe this helps too figuring out where the delay is (ex. DB??). –  kaiser Feb 9 '11 at 15:45
    
thx for your reply - i already removed unwanted widgets + checked loading times with firebug. it doesn't help really as with my local version even with widgets it loads fast, but not from the NAS - it all just takes much longer .. –  Fuxi Feb 9 '11 at 17:11
    
The "Blackbox Bar" didn't help anything? It's imo better than firebug (afaik i only know how to look at the network tab) 'cause you can look far more into detail (queries, etc.). –  kaiser Feb 9 '11 at 17:19
add comment

I have design a test with SugarCRM in Performance Comparison on Retrieving Contacts from SugarCRM with QNAP TS-112, TS-212P, and TS-119PII. But since they are all AMP (Apache-MySQL-PHP) programs, maybe you are interested in the result.

enter image description here

I think the key to improve your performance are:

  1. Disable unwanted service. eg. Media Library.
  2. Get a powerful processor model. Atom-based models are better than Marvell 88F6282 SoC and Marvell 88F6281 SoC.

RAM upgrade doesn't bring enough improvement in my test.

To check if hard drive is the key component which slow down the process, I also do another test in QNAP TS-112 with OCZ SSD Performance Report.

enter image description here

Unfortunately, even you replace the hard drive in NAS with SSD, the different are small. I don't think it will improve your WordPress dramatically as replace the processor.

Wish it helps!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.