Posted by digital_fox on July 5, 2008 at 7:42am
Hello.
Question on speed of generation of pages in Drupal. Even in a standard configuration generation of 1-2 seconds, with the established modules about 3 seconds. Joomla on the same hosting it is loaded instantly.
In what a problem? Whether it will be solved in Drupal 6.x?
Many thanks!
Comments
Lets have a look into my
Lets have a look into my crystal ball if your problem will be solved...
Umh...
NO!
We need further informations to help you. OS? Webspace, Virtual Private Server, Rootserver? Drupal version. PHP, MySQL?
Which additional modules? Any Errors? Logs? Any caching?
Please understand that most of the people in support forums don't like you kind of questions. What shall we do? Take our crystal ball and have a look in the future? If you want us to resolve your problems, spend some time on that problem and give us a more detailed informations.
Drupal uses more database queries than Joomla, if you are on a shared environment, you have maybe an external mysql server, that makes drupal slow down. only resolution: don't host on dreamhost.com
Agree with comments from
Agree with comments from Frieder. Suggest poster installs "devel" module, and enables page-timing information, and maybe SQL query logging. Then you will be able to tell how long it takes on the server, and whether some SQL is causing a problem for you.
Then, there's a bunch of first-steps to apply: enable normal cache, css aggregation. The next steps depend on how much control you have over your hosting environment. Please answer the questions posed by Frieder.
Taniwha Solutions- Drupal Consulting and Implementation. Site design and construction, module development, customization, etc.
Drupal - 6.2
Drupal - 6.2
PHP - 5.2.2
MySQL - 4.1.22
Restriction of memory PHP - 32 MB.
Operative memory - 128 MB.
Virtual hosting.
But in heading of a theme I speak not about my site, and about the majority Drupal sites. Everywhere it is spoken about slow generation of pages CMS Drupal and about high speed of others CMS on the same hosting. It is the general problem which meets at the majority of users. Everyone speak about slow speed Drupal in comparison with Joomla, and I still never heard on the contrary, instead of my local that it was possible to use devel.
nonsense
Nonsense. If you're seeing slow page performance you have a configuration problem. Plenty of us have high-traffic Drupal servers that are lightning-fast. You need to find the bottleneck -- which may well have nothing to do with Drupal -- and fix it.
Your problem could be any number of things, including your 128MB of RAM on your virtual host. I've got that much RAM in the Nokia N800 in my pocket.
If your server is swapping, then your performance is going to go straight to hell. Run 'top' and monitor your processes closely.
Actual results of performance testing:
http://buytaert.net/drupal-vs-joomla-performance
http://blogs.helion-prime.com/alexshapovalov/2008/07/02/battle-n2-typo3-...
http://www.alldrupalthemes.com/blog/joomla-15-drupal-61-performance-comp...
Then such question: speed of
Then such question: speed of generation of pages depends on what parameters of a hosting?
Write, please, more in detail that I could translate correctly it on Russian.
Restriction of memory PHP, Operative memory, what?
Are you running Apache, and
Are you running Apache, and PHP, and MySQL, all in 128MB of RAM? If so, this will need careful tuning, since the default configurations of this software will want to use much more memory. At the very least, you will need to reduce the number of threads in Apache, and the size of the buffers in MySQL. If you are hitting virtual-memory with any frequency, your server will never perform well.
There is lots of documentation about LAMP (Linux Apache MySQL PHP) tuning, for example:
Optimizing MySQL and Apache for Low Memory Usage, Part 1
http://emergent.urbanpug.com/?p=60
LOW MEMORY MYSQL / APACHE CONFIGURATIONS
http://wiki.vpslink.com/index.php?title=Low_memory_MySQL_/_Apache_config...
etc
Taniwha Solutions- Drupal Consulting and Implementation. Site design and construction, module development, customization, etc.
I can replace a hosting. To
I can replace a hosting. To what parameters to pay attention?
There are many factors to
There are many factors to consider, each of which will add to the price of your hosting. While there's no problem with shared hosting persae, avoid hosts where the DB is on a different server and heavily loaded (eg: I have found Dreamhost to be quite slow in this area). In any case, you can work within whatever constraints you have.
Perhaps you should start from your requirements (ie: performance & scalability, functional, etc), and work backwards to determine a server configuration that meets those. I've had adequate performance on a 192MB virtual server, as long as it doesn't have to host the DB. If you have complete control, generally the more memory the better - that's the most important resource, imho.
Taniwha Solutions- Drupal Consulting and Implementation. Site design and construction, module development, customization, etc.
subscribing
subscribing ...