archive-com.com » COM » 2 » 2BITS.COM

Total: 372

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Avoid excessive disk writes by avoiding PHP errors in your code | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    for Drupal and WordPress Performance Optimization and Tuning Consulting Contents Services Clients Testimonials News FAQ Payments Site Map Navigation Payment Recent content Do you use any of our Drupal modules Did you find our Drupal WordPress and LAMP performance articles informative Follow us on Twitter 2bits for tips and tricks on Drupal and WordPress Performance Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting In Depth Articles Client Testimonials Developing tracing and debugging Drupal Drupal Performance Tuning and Optimization for large web sites PHP op code caches accelerators Drupal large site case study Abuse Drupal Best Practices at your own peril Poor Performance Admin Menu module Popular yet occasionally problematic Another botnet spamming Drupal web sites causing performance issues Apache 2 and PHP5 on Ubuntu Feisty bloated Apache with fcgid acceptable performance and better resource utilization Avoid excessive disk writes by avoiding PHP errors in your code Benchmarking APC vs eAccelerator using Drupal Benchmarking Drupal 5 x vs 6 x which one is faster Benchmarking Drupal from the shell command line Benchmarking Drupal with PHP op code caches APC eAccelerator and XCache compared Benchmarking PostgreSQL vs MySQL performance using Drupal 5 x Benchmarking Zend Server Community Edition with Drupal Benchmarking strings overrides vs locale module Beware of Drupal modules that disable the page cache Beware when Drupal Pressflow displays messages for anonymous users Botnet hammering web site causing outages Bottleneck Replacing taxonomy term count nodes in taxonomy dhtml Bypassing Drupal core Node Access table joins to avoid outage caused by slow queries Can a Drupal web site handle a million page views a day Case study Views Quicktabs and template php Common Issues and Solutions for Dealing with Cloud Computing and VPS performance issues for Drupal Configuring Apache Solr 3 6 for Drupal on Ubuntu 14 04 with password authentication Configuring Apache Solr 4 x for Drupal with password authentication Configuring Drupal with multiple bins for memcached Correct Client IP Address with a Reverse Proxy or Content Delivery Network CDN Do not configure the Service Links module with TinyURL com Drupal 7 x and Pressflow pitfalls can reduce your site s performance Drupal core caching and contributed content caching modules Drupal not saving admin pages with large number of input fields Drupal on a dedicated servers vs Amazon AWS EC2 Drupal performance tuning and optimization userpoints seminar at Open Craft Drupal site excessive memory usage traced to APC and php5 memcached Examples for Drupal custom caching Adding a cache timestamp to cached pages and HTTP headers Fast Parallel MySQL Backups and Imports with Mydumper Free your content of PHP Moving PHP code out of blocks views and nodes Google Crawler hitting your site too aggressively High PHP execution times for Drupal and tuning APC for include once performance High Performance Drupal with Apache MPM Worker Threaded Server and PHP FPM High server load because of repeating queries too many times Hosting Virtualization Virtuozzo OpenVZ vs Xen which is best How Drupal s node access table can negatively impact

    Original URL path: http://2bits.com/drupal/avoid-excessive-disk-writes-avoiding-php-errors-your-code.html (2016-05-02)
    Open archived version from archive


  • Benchmarking APC vs. eAccelerator using Drupal | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    tek in Chicago given by Brian Shire of Facebook http www scribd com doc 88689 apcfacebook They use different locking mechanism than the standard File locking and get extra performance out of APC this way I think with some tweaking APC can be as fast as Eaccelerator It si also worth noting that Facebook has activelt contributed back code to APC and they intend to keep improving it They do a lot of data caching in APC though which Drupal currently cannot reply Thanks for sharing that Submitted by Visitor not verified on Fri 2007 08 17 10 45 Thanks for sharing that presentation I have been trying to find some better explanations of the locking mechanisms available for APC for a few months now The Facebook team doesn t go into too much detail about each but its at least enough for me to use as a reference Thanks again reply Thanks Submitted by Visitor not verified on Thu 2007 09 06 23 44 The facebook talk was actually very informative thanks for the link Alan reply thanks Submitted by Visitor not verified on Tue 2007 06 19 08 24 Thanks for the hard work on this study I have wondered how effective eAccelerator really is for dymanic sites like Drupal After reviewing the study I have compiled it and installed it on my test server reply Drupal is complex system Submitted by Visitor not verified on Wed 2008 03 26 06 50 Drupal is complex system with many scripts includes Try to set PHP variables realpath cache size 256K realpath cache ttl 180 and you can get performance boost by 10 50 reply Thanks Submitted by Visitor not verified on Wed 2008 03 26 09 23 Thanks for the tip Did you check to see if this has an effect when the server has an op code cache e g APC vs without an op code cache If you are using an op code cache I would think that these parameters do not matter at all and would have no effect On the other hand on shared hosts where you don t have an op code cache these may provide some help 2bits Drupal consulting reply Serious awesome tip Submitted by anjjriit not verified on Fri 2012 10 05 15 01 wonderfull just folow your post simple tip with awesome output Thanks alot You are my Hero reply Thank you I went with Submitted by Visitor not verified on Sat 2008 04 19 01 46 Thank you I went with eAccelerator it s easier to install than APC This just confirms my choice There are just too many PHP thingamajigs it s hard for a novice like me to know which one to pick reply Thank you very much for such an interesting article Submitted by Visitor not verified on Thu 2008 09 11 01 59 Thank you very much for such an interesting article reply Concurrency Submitted by Visitor not verified on Sat 2008 09 20 10 41 I see the benchmark only uses 1000 requests and not providing multiple concurrency levels which is a more typical usage I would test with c from 5 to 20 reply comparison between eAccelerator and apc Submitted by Visitor not verified on Wed 2009 03 11 10 56 Very interesting post I tried eAccelerator I followed these instructions http www valent blog eu en 2009 02 18 eaccelerator and apc eAccelerator is the fastest opcache but I need to compile it and this is a security problem I have Debian Etch before and now I am testing Lenny so we must install complilation softwares and then remove them Apc is a little slower then eAccelerator but no build tools are required I did not try Xcache maybe in future Compliments I bookmark your post reply Another comparison Submitted by Visitor not verified on Wed 2009 03 11 11 01 Here is another comparison that compares all of the three free ones benchmarking Drupal with PHP op code caches APC eAccelerator and XCache compared I still use and recommend APC because it is the most stable and stays up to date with PHP releases reply If you disable compression Submitted by Visitor not verified on Mon 2009 08 17 10 13 If you disable compression for eAccelerator you will get even better results There is no need for compression these days memory and disks are cheap Just give 128M to eAccelerator in SHM that s it reply Is your Drupal or WordPress site slow Is it suffering from server resources shortages Is it experiencing outages Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting Contents Services Clients Testimonials News FAQ Payments Site Map Navigation Payment Recent content Do you use any of our Drupal modules Did you find our Drupal WordPress and LAMP performance articles informative Follow us on Twitter 2bits for tips and tricks on Drupal and WordPress Performance Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting In Depth Articles Client Testimonials Developing tracing and debugging Drupal Drupal Performance Tuning and Optimization for large web sites PHP op code caches accelerators Drupal large site case study Abuse Drupal Best Practices at your own peril Poor Performance Admin Menu module Popular yet occasionally problematic Another botnet spamming Drupal web sites causing performance issues Apache 2 and PHP5 on Ubuntu Feisty bloated Apache with fcgid acceptable performance and better resource utilization Avoid excessive disk writes by avoiding PHP errors in your code Benchmarking APC vs eAccelerator using Drupal Benchmarking Drupal 5 x vs 6 x which one is faster Benchmarking Drupal from the shell command line Benchmarking Drupal with PHP op code caches APC eAccelerator and XCache compared Benchmarking PostgreSQL vs MySQL performance using Drupal 5 x Benchmarking Zend Server Community Edition with Drupal Benchmarking strings overrides vs locale module Beware of Drupal modules that disable the page cache Beware when Drupal Pressflow displays messages for anonymous users Botnet hammering web site causing outages Bottleneck Replacing taxonomy

    Original URL path: http://2bits.com/articles/benchmarking-apc-vs-eaccelerator-using-drupal.html (2016-05-02)
    Open archived version from archive

  • Benchmarking Drupal 5.x vs. 6.x: which one is faster? | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    not verified on Mon 2010 11 22 15 22 Our site ran Drupal 5 for 3 years and then we decided to rewrite using a PHP framework rather than upgrade to Drupal 6 or 7 because of the every increasing bloat in Drupal Khalid helped us with the site in 2007 and I ve followed his performance benchmarks ever since Our new site is twice as fast Google Webmaster Tools say our average page download time is 74 ms versus 160 ms on Drupal Even better we don t use a caching service such as memcached which simplifies site administration I prefer working on databases and Drupal CCK makes for a frighteningly complex database system We now have 1 3 the number of tables that we did on Drupal and the naming conventions make a lot more sense reply Is your Drupal or WordPress site slow Is it suffering from server resources shortages Is it experiencing outages Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting Contents Services Clients Testimonials News FAQ Payments Site Map Navigation Payment Recent content Do you use any of our Drupal modules Did you find our Drupal WordPress and LAMP performance articles informative Follow us on Twitter 2bits for tips and tricks on Drupal and WordPress Performance Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting In Depth Articles Client Testimonials Developing tracing and debugging Drupal Drupal Performance Tuning and Optimization for large web sites PHP op code caches accelerators Drupal large site case study Abuse Drupal Best Practices at your own peril Poor Performance Admin Menu module Popular yet occasionally problematic Another botnet spamming Drupal web sites causing performance issues Apache 2 and PHP5 on Ubuntu Feisty bloated Apache with fcgid acceptable performance and better resource utilization Avoid excessive disk writes by avoiding PHP errors in your code Benchmarking APC vs eAccelerator using Drupal Benchmarking Drupal 5 x vs 6 x which one is faster Benchmarking Drupal from the shell command line Benchmarking Drupal with PHP op code caches APC eAccelerator and XCache compared Benchmarking PostgreSQL vs MySQL performance using Drupal 5 x Benchmarking Zend Server Community Edition with Drupal Benchmarking strings overrides vs locale module Beware of Drupal modules that disable the page cache Beware when Drupal Pressflow displays messages for anonymous users Botnet hammering web site causing outages Bottleneck Replacing taxonomy term count nodes in taxonomy dhtml Bypassing Drupal core Node Access table joins to avoid outage caused by slow queries Can a Drupal web site handle a million page views a day Case study Views Quicktabs and template php Common Issues and Solutions for Dealing with Cloud Computing and VPS performance issues for Drupal Configuring Apache Solr 3 6 for Drupal on Ubuntu 14 04 with password authentication Configuring Apache Solr 4 x for Drupal with password authentication Configuring Drupal with multiple bins for memcached Correct Client IP Address with a Reverse Proxy or Content Delivery Network CDN Do not configure the Service Links module with TinyURL

    Original URL path: http://2bits.com/articles/benchmarking-drupal-5x-vs-6x-which-one-faster.html (2016-05-02)
    Open archived version from archive

  • Benchmarking Drupal from the shell command line | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    bin php If I look at what I get by just invoking php I get which php usr bin php reply Is your Drupal or WordPress site slow Is it suffering from server resources shortages Is it experiencing outages Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting Contents Services Clients Testimonials News FAQ Payments Site Map Navigation Payment Recent content Do you use any of our Drupal modules Did you find our Drupal WordPress and LAMP performance articles informative Follow us on Twitter 2bits for tips and tricks on Drupal and WordPress Performance Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting In Depth Articles Client Testimonials Developing tracing and debugging Drupal Drupal Performance Tuning and Optimization for large web sites PHP op code caches accelerators Drupal large site case study Abuse Drupal Best Practices at your own peril Poor Performance Admin Menu module Popular yet occasionally problematic Another botnet spamming Drupal web sites causing performance issues Apache 2 and PHP5 on Ubuntu Feisty bloated Apache with fcgid acceptable performance and better resource utilization Avoid excessive disk writes by avoiding PHP errors in your code Benchmarking APC vs eAccelerator using Drupal Benchmarking Drupal 5 x vs 6 x which one is faster Benchmarking Drupal from the shell command line Benchmarking Drupal with PHP op code caches APC eAccelerator and XCache compared Benchmarking PostgreSQL vs MySQL performance using Drupal 5 x Benchmarking Zend Server Community Edition with Drupal Benchmarking strings overrides vs locale module Beware of Drupal modules that disable the page cache Beware when Drupal Pressflow displays messages for anonymous users Botnet hammering web site causing outages Bottleneck Replacing taxonomy term count nodes in taxonomy dhtml Bypassing Drupal core Node Access table joins to avoid outage caused by slow queries Can a Drupal web site handle a million page views a day Case study Views Quicktabs and template php Common Issues and Solutions for Dealing with Cloud Computing and VPS performance issues for Drupal Configuring Apache Solr 3 6 for Drupal on Ubuntu 14 04 with password authentication Configuring Apache Solr 4 x for Drupal with password authentication Configuring Drupal with multiple bins for memcached Correct Client IP Address with a Reverse Proxy or Content Delivery Network CDN Do not configure the Service Links module with TinyURL com Drupal 7 x and Pressflow pitfalls can reduce your site s performance Drupal core caching and contributed content caching modules Drupal not saving admin pages with large number of input fields Drupal on a dedicated servers vs Amazon AWS EC2 Drupal performance tuning and optimization userpoints seminar at Open Craft Drupal site excessive memory usage traced to APC and php5 memcached Examples for Drupal custom caching Adding a cache timestamp to cached pages and HTTP headers Fast Parallel MySQL Backups and Imports with Mydumper Free your content of PHP Moving PHP code out of blocks views and nodes Google Crawler hitting your site too aggressively High PHP execution times for Drupal and tuning APC for include once

    Original URL path: http://2bits.com/articles/benchmarking-drupal-from-the-shell-command-line.html (2016-05-02)
    Open archived version from archive

  • Benchmarking Drupal with PHP op-code caches: APC, eAccelerator and XCache compared | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    11832 S 0 0 1 0 0 14 08 usr sbin apache2 k start 9806 www data 16 0 251M 18536 10396 S 0 0 0 9 0 14 74 usr sbin apache2 k start 9808 www data 16 0 251M 18536 10396 S 0 0 0 9 0 14 83 usr sbin apache2 k start 9807 www data 15 0 251M 18536 10396 S 0 0 0 9 0 14 67 usr sbin apache2 k start 9803 www data 15 0 251M 18536 10396 S 0 0 0 9 0 15 62 usr sbin apache2 k start 9809 www data 16 0 251M 18536 10396 S 0 0 0 9 0 14 07 usr sbin apache2 k start 9805 www data 16 0 251M 18536 10396 S 0 0 0 9 0 14 16 usr sbin apache2 k start Test 3 XCache Document Path Document Length 21757 bytes Concurrency Level 5 Time taken for tests 99 76300 seconds Complete requests 3000 Failed requests 0 Write errors 0 Total transferred 66777000 bytes HTML transferred 65271000 bytes Requests per second 30 28 sec mean Time per request 165 127 ms mean Time per request 33 025 ms mean across all concurrent requests Transfer rate 658 19 Kbytes sec received Connection Times ms min mean sd median max Connect 0 0 0 0 0 2 Processing 59 164 83 4 155 3367 Waiting 52 156 66 4 148 1802 Total 59 164 83 4 155 3367 Percentage of the requests served within a certain time ms 50 155 66 178 75 196 80 206 90 237 95 263 98 287 99 305 100 3367 longest request Using devel the page generation is around 50 ms Page execution time was 59 37 ms Executed 101 queries in 9 27 milliseconds For memory utilization you can see that it ranges from 29MB to 19MB a bit more than eAccelerator Virt Res 10316 www data 16 0 263M 32316 11832 S 0 0 1 6 0 17 03 usr sbin apache2 k start 10319 www data 15 0 259M 29976 13440 S 0 0 1 5 0 17 05 usr sbin apache2 k start 10318 www data 15 0 261M 29724 11628 S 0 0 1 4 0 16 83 usr sbin apache2 k start 10317 www data 16 0 254M 23576 12128 S 0 0 1 1 0 15 33 usr sbin apache2 k start 10322 www data 15 0 251M 19624 11524 S 0 0 1 0 0 16 85 usr sbin apache2 k start 10328 www data 15 0 251M 19624 11524 S 0 0 1 0 0 14 95 usr sbin apache2 k start 10324 www data 15 0 251M 19624 11524 S 0 0 1 0 0 15 32 usr sbin apache2 k start 10325 www data 15 0 251M 19624 11524 S 0 0 1 0 0 14 42 usr sbin apache2 k start 10327 www data 16 0 251M 19624 11524 S 0 0 1 0 0 15 05 usr sbin apache2 k start Test 4 APC Document Path Document Length 21757 bytes Concurrency Level 5 Time taken for tests 98 530068 seconds Complete requests 3000 Failed requests 0 Write errors 0 Total transferred 66777000 bytes HTML transferred 65271000 bytes Requests per second 30 45 sec mean Time per request 164 217 ms mean Time per request 32 843 ms mean across all concurrent requests Transfer rate 661 84 Kbytes sec received Connection Times ms min mean sd median max Connect 0 0 0 0 0 2 Processing 58 163 71 2 155 2452 Waiting 53 158 69 6 150 2329 Total 58 163 71 2 155 2452 Percentage of the requests served within a certain time ms 50 155 66 178 75 193 80 204 90 235 95 258 98 285 99 302 100 2452 longest request Using devel the page generation time is around 50 ms as well Page execution time was 59 8 ms Executed 101 queries in 9 1 milliseconds Memory utilization is noticeably consistent at 21MB per process more than the other two op caches but suprisingly consistent Virt Res 9263 www data 16 0 263M 38172 18036 S 0 0 1 9 0 15 31 usr sbin apache2 k start 9266 www data 15 0 252M 21704 13020 S 0 0 1 1 0 18 14 usr sbin apache2 k start 9270 www data 15 0 252M 21604 12768 S 0 0 1 0 0 18 30 usr sbin apache2 k start 9274 www data 15 0 252M 21604 12768 S 0 0 1 0 0 15 75 usr sbin apache2 k start 9264 www data 16 0 252M 21520 12692 S 0 0 1 0 0 16 55 usr sbin apache2 k start 9267 www data 15 0 252M 21520 12688 S 0 0 1 0 0 18 10 usr sbin apache2 k start 9268 www data 16 0 252M 21520 12688 S 0 0 1 0 0 16 89 usr sbin apache2 k start 9269 www data 15 0 252M 21520 12688 S 0 0 1 0 0 16 51 usr sbin apache2 k start 9273 www data 16 0 252M 21520 12688 S 0 0 1 0 0 17 32 usr sbin apache2 k start 9275 www data 16 0 252M 21520 12688 S 0 0 1 0 0 16 03 usr sbin apache2 k start Summary The following table summarizes the above results Requests per Second Single Request milliseconds Memory Maximum MB Memory Minimum MB None 10 41 96 08 24 24 eAccelerator 31 26 31 99 23 18 XCache 30 28 33 02 29 19 APC 30 45 32 84 21 21 Conclusions From the above results one can come to the following conclusions All op code caches provide a noticable improvement for Drupal over a default PHP installation The speed gain is about 3X eAccelerator is marginally better than the XCache or APC both in terms of speed and memory utilization Installation of each op code cache is different one has a Debian package the other is installed from source and the third is via PECL The configuration for each is also different Some work well with a default install others require more tweaking Update We have noticed that in production Xcache suffers from the same instability that eAccelerator exhibits segmentation fault after a day or so This happened with Xcache 1 2 1 3 which ships with Ubuntu 8 04 1 and PHP 5 2 4 The latest stable release is 1 2 2 from Xcache s web site So try compiling that from source or install the logwatcher script if a minute of downtime is acceptable Contents Articles Benchmarking Drupal from the shell command line up Benchmarking PostgreSQL vs MySQL performance using Drupal 5 x Add new comment Comments xcache Submitted by Visitor not verified on Sun 2008 04 20 20 41 Why did you disable the xcache variable cache xcache var size 0M Also xcache var count should be the same as xcache count reply Code caching not object caching Submitted by Visitor not verified on Sun 2008 04 20 20 57 All three op caches were used in this benchmark solely as op code caches that is as accelerators for PHP code itself There was no content caching of any kind in this benchmark whether on the Drupal level database tables or via object caches memcached xcache apc etc So this is why the above was done 2bits Drupal consulting reply Seems it wouldn t help anyway Submitted by Visitor not verified on Sun 2008 04 20 21 13 Nevermind I did some research and it looks like the xcache variable cache wouldn t work with Drupal anyway reply I am using eaccelerate for a Submitted by Denis not verified on Thu 2011 01 06 20 10 I am using eaccelerate for a while but didn t know that it s best choice Thanks for test Now i m feel with confidence reply Concurrent usage of APC memcached possible Submitted by Visitor not verified on Thu 2010 09 16 05 16 Hello can you recommend a concurrent usage of APC for opcode caching and memcached for content and PHP session caching I m asking because I noticed that using APC for content caching will heavily fragment the APC cache due to the short expire time of the content objects and the regular garbage collection in APC I m hoping separating the opcode cache from the content cache will improve performance and solve the problem with APC fragmentation BTW APC fragmentation is very low and available memory is high if I do not use it for content caching Thank you for all the great and helpful articles on your site reply Definitely Submitted by Visitor not verified on Thu 2010 09 16 10 07 Most definitely yes I do recommend using APC for code cache and memcache for content cache and session cache if needed This is how I configure all client sites No worries about fragmentation and you have the ability to move memcache to a separate server and not be limited by one machine for everything I never use APC for content caching only code caching This also allows me to use FastCGI for PHP where each process has its own copy of the APC code cache If I were to use APC for content caching in that mode then the content cache would be inconsistent reply Great Thank you Especially Submitted by Visitor not verified on Thu 2010 09 16 10 36 Great Thank you Especially for pointing out that using APC for content caching in FastCGI mode will lead to inconsistent caches I use Apache and mod fcgid for running php I m happy the fragmentation forced me to turn off user content caching in APC reply Tool for statistics Submitted by Visitor not verified on Mon 2008 04 21 09 11 This article is very interesting and the tests are well done and presented What tool did you use for the statistics Is it the devel module I am talking about the following statistics Document Path Document Length 21757 bytes Concurrency Level 5 Time taken for tests 98 530068 seconds Complete requests 3000 reply Apache Benchmark Submitted by Visitor not verified on Mon 2008 04 21 09 41 I mentioned that in the article but perhaps it is not prominent enough It is called Apache Benchmark ab 2bits Drupal consulting reply Thanks Submitted by Visitor not verified on Thu 2008 04 24 15 25 Thank you very much for your answer In fact I thought that Apache Benchmark was used to generate the traffic only not to get the stats reply Really nice test Thanks Submitted by Visitor not verified on Mon 2008 06 09 14 19 Really nice test Thanks reply Really nice Submitted by Visitor not verified on Mon 2008 09 15 13 12 Thanks for sharing those results reply Good comparisons Submitted by Visitor not verified on Sat 2008 09 20 11 22 Thanks for a more comprehensive and updated comparison I read your APC vs EA post earlier and the concurrency usage although it would be great to show multiple levels reply Thank you for this report I Submitted by Visitor not verified on Tue 2008 10 07 07 12 Thank you for this report I can confirm stability problems with eAccelerator 0 8 5 3 On a Debian Etch system with Apache2 and PHP5 even D5 installations may cause segementation faults I haven t checked XCache and instead directly went to APC and hope things will work out well reply Only APC is stable Submitted by Visitor not verified on Tue 2008 10 07 09 58 With several servers running Ubuntu 8 04 01 LTS Apache 2 2 8 and PHP 5 2 4 I have found that neither eAccelerator nor XCache are stable In a matter of a day or so you will get segfaults On the contrary APC currently using 3 0 19 is very stable and never experiences segmentation faults 2bits Drupal consulting reply Re Thank your for this report Submitted by Visitor not verified on Sun 2010 07 18 10 56 Also thank you for this report We linked this to our Drupal Blog reply APC problem white screen of death Submitted by Visitor not verified on Thu 2008 10 09 08 43 Hello I would like to use Drupal on apache mod php with APC to test with the APC upload progress feature rfc1867 but every time I submit a form with APC enabled I get a white screen of death WSOD Any ideas why reply Recent versions Submitted by Visitor not verified on Thu 2008 10 09 10 08 Are you trying recent versions of PHP and APC or old ones 2bits Drupal consulting reply up to date gentoo Submitted by Visitor not verified on Fri 2008 10 10 02 27 Yes all my packages are up to date gentoo distribution I found out that I only get the WSOD when I submit forms with file fields and when apc rfc1867 is enabled I m investigating more reply Dates Submitted by Visitor not verified on Thu 2009 04 30 14 29 Excellent review thank you for quality information However my pet internet peeve applies Please provide last updated date at top of page and original article date Keep up the good work I rely on good people like you to make my important decisions Well except for where to take her for a good date reply Re Dates Submitted by Visitor not verified on Mon 2009 05 04 17 13 Excellent article Very helpful to get me ramped up on these concepts try them out on my server and see what s out there to pick for accelerators Regarding dates my peeve too P so I agree with Dennis These 2 dates would be helpful on each article page Especially when following the links back to your earlier articles on accelerators i want to know how dated they are Thanks again for your work put into this and your clear presentation A big time saver thanks reply Great article Submitted by Visitor not verified on Tue 2009 08 18 07 42 Very interesting article Would love to see similar tests but with Views and CCK in use Also would love to see a comparison of Drupal vs Joomla and also accelerated PHP vs NET test Also why was the Zend PHP Accelerator not included in this current test reply Views CCK and Zend Submitted by Visitor not verified on Tue 2009 08 18 11 32 Views and CCK are a more complicated mix because not only do they execute more code but also do more SQL queries PHP op code caches do not help with the database load at all but may free enough CPU for the database if the db server is on the same machine as PHP The Zend Accelerator is proprietary and our test was for free op code caches for PHP Since then Zend released the Zend Community Server and we wrote an article at benchmarking Zend server community edition with Drupal As for PHP vs NET it is a moot point for most people since speed is not the only decision point but rather other things like platform Windows vs LAMP in house knowledge tool familiarity integration with existing applications etc Drupal vs Joomla is an interesting one but it would be hard to come with a scenario where the sites have identical feature functionality so the benchamrk is fair If you have specific sites that need to be benchmarked you are always welcome to contact us for consulting via the Contact form on this site reply Optimizing for Windows Submitted by Visitor not verified on Wed 2010 02 24 03 51 Can any of this be made in a WIMP windows IIS mySQL php stack Yes I know it is not a common step but the client will never change it so what can do about it to make drupal run fast Any advices or similar experiences reply During our tests we ve found Submitted by onequad not verified on Wed 2011 01 05 08 14 During our tests we ve found that APC uses about twice as much memory as eAccelerator to cache about the same number of php files This might not show on this benchmark because only the cached front page is requested reply Another benchmark of Drupal PHP vs APC vs HipHop for PHP Submitted by Visitor not verified on Thu 2011 05 19 04 16 It can be found here http php webtutor pl en 2011 05 17 drupal hiphop for php vs apc benchmark reply eAccelerator reaches memory limit without a warning Submitted by linuxaomi not verified on Thu 2011 11 17 09 55 eAccelerator support enabled Version 0 9 6 1 Caching Enabled true Optimizer Enabled true Check mtime Enabled true Memory Size 33 554 392 Bytes Memory Available 2 856 Bytes Memory Allocated 33 551 536 Bytes Cached Scripts 400 Removed Scripts 0 What you see is plain phpinfo php output The cache of eAccelerator 32MB fills up and most of your modules won t be treated by eAccelerator Increase it s cache size and make sure LINUX will also allow to do so echo 37748736 proc sys kernel shmmax used to be 32MB now 36MB to fit eaccelerator memory size I have a complete realtime monitor with special DRUPAL features available Cannot attach any graphs here so ask me using my email id to get more documentation on it reply APC memory limit Submitted by Paul Vincent not verified on Fri 2011 11 18 04 53 Hi We have a private website set up for our distance learning students and have run into some problems using apc with cachrouter I ve upped the apc shm memory but the shared memory always reads 1 Segment s with 30 0 MBytes mmap memory pthread

    Original URL path: http://2bits.com/articles/benchmarking-drupal-with-php-op-code-caches-apc-eaccelerator-and-xcache-compared.html (2016-05-02)
    Open archived version from archive

  • Benchmarking PostgreSQL vs. MySQL performance using Drupal 5.x | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    on it However I have always ended up using MySQL despite how much I dislike that product with Drupal only because support for PostgreSQL is spotty at best for anything but core modules The results you obtained may have more to do with poor support of PostgreSQL by PHP and or Drupal than MySQL s supposed superiourity reply agreed out of the box is of little value Submitted by Visitor not verified on Mon 2007 11 26 22 12 i agree with heine and others it is simply not useful for most of your readers to compare with out of the box configurations people who need high performance can afford to buy a book and read web sites like this for configuration tips your test is valid it is just not useful my 02 reply Hold on Submitted by Visitor not verified on Mon 2007 11 26 23 37 Well not all sites can afford tuning Forget the top 10 Drupal sites and those with several hundred thousands of page views a day The vast majority of sites fall into this second tier dedicated and VPS ones and even shared hosting ones that choose PostgreSQL Anyway I am working with Bill Moran to tune PostgreSQL further We tried increased the shared buffers to 200M The size of the database is 100M but that still did not help Stay tuned it is not over yet 2bits Drupal consulting reply Any update Submitted by Visitor not verified on Fri 2007 12 28 17 18 Hi Khalid Was wondering if there was any more tunning done on the PostgreSQL db and did it help to bring it inline with the speed of MySQL I m at a point of selecting a db for my web app so this info would be good to have I have read many articles and blog entries and they all seem to point that the newer version of PostgreSQL is just as fast as MySQL If there is an update to your benchmark please post it Thanks Amin reply Tests like this will always Submitted by Visitor not verified on Mon 2007 11 26 15 10 Tests like this will always show the same mysql is faster And it is single user single processor The point however is that PostgreSQL scales much better See this page and many other tests which prove over and over again that PostgreSQL scales perfectly reply Not really Submitted by Visitor not verified on Mon 2007 11 26 17 34 This was not single user This box has 2 cores and you can see tests that have concurrency of 5 above There are Drupal sites that get 600 000 page views a day on MySQL MyISAM not even InnoDB so MySQL does scale too 2bits Drupal consulting reply Apachebench flawed for concurrency Submitted by Visitor not verified on Fri 2007 12 14 09 20 I m not certain on this but I ve read several times that apachebench is flawed in concurrency tests because it s single threaded I haven t tried Flood however reply You seem to forget that it Submitted by Visitor not verified on Thu 2008 01 03 12 48 You seem to forget that it also depends on how the SQL is written Also have you made sure your drupal installation makes use of proper indexes try running the SQL used within drupal with EXPLAIN ANALYZE and see if it uses any indexes etc Also conf files play an important role this I personally am not that great in but I know with proper indexing you can get CRAZY speed advantages Ive had both mysql and postgres perform better with proper indexing First MySQL was quicker then someone asked me to index in a certain way and re run the queries My queries went from 180ms in mysql down to 95ms PG went from 210ms down to 67ms reply How about a REAL test Submitted by Visitor not verified on Thu 2008 05 08 22 11 Why not write something in jmeter or something like that that randomly grabs pages and WRITES some new ones out every so often With lots of threads and a fair number of them updating you ll likely find pgsql keeping up just fine Then implement mem cache for the pgsql side you can abstract it to work for both mysql and pgsql btw so that the caching is fair and also available to real drupal users As it is this test tests very little The ability to deliver the same front page over and over even with 5 or more threads means VERY little It s like measuring the maximum RPM of an engine as a test My car can rev to 6000 RPM a locomotive can rev to 1800 RPM guess which can pull a heavier load reply We tried Submitted by Visitor not verified on Tue 2008 05 13 19 51 With the help of Bill Moran who is PostgreSQL savvy we conducted several follow up tests on PostgreSQL for Drupal on our test server See below for comments on that However after tweaking PostgreSQL s settings logging queries and such we could not find any breakthroughs that would improve performance We are willing to repeat those tests if someone from the PostgreSQL community can commit to the time and effort required to get this completed Contact me if you are interested 2bits Drupal consulting reply postgres config Submitted by Visitor not verified on Fri 2008 11 14 15 45 please rerun with fsync off in postgresql conf without it it s no wonder postgres is slower when it s busy doing sync after every request reply MS SQL Server Comparison Submitted by Visitor not verified on Tue 2009 08 18 07 48 Another interesting article In the interests of cross platform neutrality not many of us about I d be interested in seeing some performance benchmarks that compare postgreSQL MySQL and MS SQL Server I m disappointed that postgreSQL seems

    Original URL path: http://2bits.com/articles/benchmarking-postgresql-vs-mysql-performance-using-drupal-5x.html (2016-05-02)
    Open archived version from archive

  • Benchmarking Zend Server Community Edition with Drupal | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    if you wish Regarding the MySQL extensions no reason why the ones placed usr local zend lib php extensions If you run usr local zend gui lighttpd sbin php c usr local zend gui lighttpd etc php fcgi ini m grep mysql You should get mysql as output You should probably prepare your dedicated INI file for your own purposes and not use the UI s one usr local zend gui lighttpd etc php fcgi ini but you may use it as a starting point You re welcome to drop me a line by mail to jess zend com if you need more help or have questions reply I d love to see this vs nginx php fpm Submitted by Visitor not verified on Fri 2009 04 10 15 01 Latest nginx 0 7 50 php fpm Sounds like this would be a drop in replace for php fpm possibly Does it answer using FCGI or does it require apache mod php I haven t looked through it enough but I would hope it can run standalone and be webserver agnostic reply Zend is mod php Submitted by Visitor not verified on Fri 2009 04 10 15 05 The Zend implementation is Apache mod php The secret to its speed is ZendOptimizer They distribute a standalone PHP in the package but it seems that this is for their GUI application which is lighttpd based The nginx available for Ubuntu Server LTS 8 04 02 is 0 5 33 only so it means build from source and no updates from the repository reply yeh i ve been building nginx Submitted by Visitor not verified on Fri 2009 04 10 16 00 yeh i ve been building nginx debs for myself for a long time it is horribly outdated in the repos i guess it s useless for me then as i steer clear of apache nowadays and if they created a zend server that listened over fastcgi it would probably lose its edge reply Apache is good with fgcid Submitted by Visitor not verified on Fri 2009 04 10 17 03 I understand the frustration with Apache However the criticisms for it are true when PHP is running as an Apache module Once you use something like fcgid performance is still good but memory utilization goes down significantly See our article Apache PHP fcgid acceptable performance and better resource utilization for more details and graphs reply It can test lighttpd apache Submitted by Visitor not verified on Sat 2009 04 18 15 47 It can test lighttpd apache and ngnix with drupal What is better reply funny Submitted by Visitor not verified on Sat 2009 09 12 00 03 funny so you compared apache fcgid with apache mod php Zend reply Is your Drupal or WordPress site slow Is it suffering from server resources shortages Is it experiencing outages Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting Contents Services Clients Testimonials News FAQ Payments Site Map Navigation Payment

    Original URL path: http://2bits.com/articles/benchmarking-zend-server-community-edition-drupal.html (2016-05-02)
    Open archived version from archive

  • Benchmarking strings overrides vs. locale module | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    peril Poor Performance Admin Menu module Popular yet occasionally problematic Another botnet spamming Drupal web sites causing performance issues Apache 2 and PHP5 on Ubuntu Feisty bloated Apache with fcgid acceptable performance and better resource utilization Avoid excessive disk writes by avoiding PHP errors in your code Benchmarking APC vs eAccelerator using Drupal Benchmarking Drupal 5 x vs 6 x which one is faster Benchmarking Drupal from the shell command line Benchmarking Drupal with PHP op code caches APC eAccelerator and XCache compared Benchmarking PostgreSQL vs MySQL performance using Drupal 5 x Benchmarking Zend Server Community Edition with Drupal Benchmarking strings overrides vs locale module Beware of Drupal modules that disable the page cache Beware when Drupal Pressflow displays messages for anonymous users Botnet hammering web site causing outages Bottleneck Replacing taxonomy term count nodes in taxonomy dhtml Bypassing Drupal core Node Access table joins to avoid outage caused by slow queries Can a Drupal web site handle a million page views a day Case study Views Quicktabs and template php Common Issues and Solutions for Dealing with Cloud Computing and VPS performance issues for Drupal Configuring Apache Solr 3 6 for Drupal on Ubuntu 14 04 with password authentication Configuring Apache Solr 4 x for Drupal with password authentication Configuring Drupal with multiple bins for memcached Correct Client IP Address with a Reverse Proxy or Content Delivery Network CDN Do not configure the Service Links module with TinyURL com Drupal 7 x and Pressflow pitfalls can reduce your site s performance Drupal core caching and contributed content caching modules Drupal not saving admin pages with large number of input fields Drupal on a dedicated servers vs Amazon AWS EC2 Drupal performance tuning and optimization userpoints seminar at Open Craft Drupal site excessive memory usage traced to APC and php5 memcached Examples for Drupal custom caching Adding a cache timestamp to cached pages and HTTP headers Fast Parallel MySQL Backups and Imports with Mydumper Free your content of PHP Moving PHP code out of blocks views and nodes Google Crawler hitting your site too aggressively High PHP execution times for Drupal and tuning APC for include once performance High Performance Drupal with Apache MPM Worker Threaded Server and PHP FPM High server load because of repeating queries too many times Hosting Virtualization Virtuozzo OpenVZ vs Xen which is best How Drupal s node access table can negatively impact site performance How Google and Bing crawlers were confused by quicktabs How relying on connections to third party servers can be detrimental to performance How to reduce page load times by sending emails via cron rather on page submission Identifying aggressive crawlers using Go Access Improve Your Drupal Site Performance While Reducing Your Hosting Costs Improving the performance of Drupal s cron by using the Elysia cron module Increasing Drupal s speed via the Squid caching reverse proxy Installing PHP APC on GNU Linux Centos 5 Installing PHP APC on GNU Linux Ubuntu Gutsy Gibbon 7 10 and Debian Installing Varnish 3

    Original URL path: http://2bits.com/articles/benchmarking-strings-overrides-vs-locale-module.html (2016-05-02)
    Open archived version from archive



  •