[development] Menu system work

Khalid Baheyeldin kb at 2bits.com
Mon Mar 5 14:38:18 UTC 2007


I should clarify that this AMD machine is a test server, and has CoolnQuiet
turned on in
the BIOS. So, it reduces its frequency to 1GHz when idle, and goes up
to 1.8when busy.
I can't remember if the disk has power saving too or not, but that can
account for the
variance.

This is why the last benchmark did 1000 requests in one row,

The other factor is MySQL query cache, but again, that would be off at most
for the first
request, and on for the 999 following it, so it should not be a factor in
the last test.

Can someone else chip in with other benchmarks to validate my results?

On 3/5/07, Robert Douglass <rob at robshouse.net> wrote:
>
> I wonder right off why HEAD's times are so much more level and
> predictable (smaller standard deviation) than 5's? Especially since my
> gut feeling is that 5 is much more predictable and regular than 4.7.
>
> Congrats to chx and company for this work... it seems that Drupal 6 will
> indeed be faster than 5 by virtue of the menu rewrite.
>
>
> Khalid Baheyeldin wrote:
> > Here is a better set of data:
> >
> > HEAD
> > ab2 -n20 http://head.example.com/| <http://head.example.com/%7C> egrep
> > "^Req|^Time"
> >
> > Time taken for tests:   1.16209 seconds
> > Requests per second:    19.68 [#/sec] (mean)
> > Time per request:       50.810 [ms] (mean)
> > Time per request:       50.810 [ms] (mean, across all concurrent
> requests)
> >
> > Time taken for tests:   1.11599 seconds
> > Requests per second:    19.77 [#/sec] (mean)
> > Time per request:       50.580 [ms] (mean)
> > Time per request:       50.580 [ms] (mean, across all concurrent
> requests)
> >
> > Time taken for tests:   1.10162 seconds
> > Requests per second:    19.80 [#/sec] (mean)
> > Time per request:       50.508 [ms] (mean)
> > Time per request:       50.508 [ms] (mean, across all concurrent
> requests)
> >
> > Time taken for tests:   1.14755 seconds
> > Requests per second:    19.71 [#/sec] (mean)
> > Time per request:       50.738 [ms] (mean)
> > Time per request:       50.738 [ms] (mean, across all concurrent
> requests)
> >
> > Time taken for tests:   1.11669 seconds
> > Requests per second:    19.77 [#/sec] (mean)
> > Time per request:       50.583 [ms] (mean)
> > Time per request:       50.583 [ms] (mean, across all concurrent
> requests)
> >
> > 5
> > ab2 -n20 http://5.example.com/| <http://5.example.com/%7C> egrep
> > "^Req|^Time"
> > Time taken for tests:   2.672659 seconds
> > Requests per second:    7.48 [#/sec] (mean)
> > Time per request:       133.633 [ms] (mean)
> > Time per request:       133.633 [ms] (mean, across all concurrent
> > requests)
> >
> > Time taken for tests:   1.87295 seconds
> > Requests per second:    18.39 [#/sec] (mean)
> > Time per request:       54.365 [ms] (mean)
> > Time per request:       54.365 [ms] (mean, across all concurrent
> requests)
> >
> > Time taken for tests:   1.55900 seconds
> > Requests per second:    18.94 [#/sec] (mean)
> > Time per request:       52.795 [ms] (mean)
> > Time per request:       52.795 [ms] (mean, across all concurrent
> requests)
> >
> > Time taken for tests:   0.887638 seconds
> > Requests per second:    22.53 [#/sec] (mean)
> > Time per request:       44.382 [ms] (mean)
> > Time per request:       44.382 [ms] (mean, across all concurrent
> requests)
> >
> > Time taken for tests:   1.90529 seconds
> > Requests per second:    18.34 [#/sec] (mean)
> > Time per request:       54.526 [ms] (mean)
> > Time per request:       54.526 [ms] (mean, across all concurrent
> requests)
> >
> >
> > And here are two tests with 1000 requests each:
> >
> > ab2 -n1000 http://head.example.com/| <http://head.example.com/%7C>
> > egrep "^Req|^Time"
> > Completed 100 requests
> > Completed 200 requests
> > Completed 300 requests
> > Completed 400 requests
> > Completed 500 requests
> > Completed 600 requests
> > Completed 700 requests
> > Completed 800 requests
> > Completed 900 requests
> > Finished 1000 requests
> > Time taken for tests:   33.209431 seconds
> > Requests per second:    30.11 [#/sec] (mean)
> > Time per request:       33.209 [ms] (mean)
> > Time per request:       33.209 [ms] (mean, across all concurrent
> requests)
> >
> > ab2 -n1000 http://5.example.com/| <http://5.example.com/%7C> egrep
> > "^Req|^Time"
> > Completed 100 requests
> > Completed 200 requests
> > Completed 300 requests
> > Completed 400 requests
> > Completed 500 requests
> > Completed 600 requests
> > Completed 700 requests
> > Completed 800 requests
> > Completed 900 requests
> > Finished 1000 requests
> > Time taken for tests:   37.155010 seconds
> > Requests per second:    26.91 [#/sec] (mean)
> > Time per request:       37.155 [ms] (mean)
> > Time per request:       37.155 [ms] (mean, across all concurrent
> requests)
> >
> > On 3/4/07, *Khalid Baheyeldin* <kb at 2bits.com <mailto:kb at 2bits.com>>
> > wrote:
> >
> >     Here are my results.
> >
> >     Drupal 5, is today's checkout, HEAD is also today's checkout.
> >
> >     Used ab2 -n20 http://5.example.com
> >     HEAD
> >     Requests per second:    19.78 [#/sec] (mean)
> >     Requests per second:    23.93 [#/sec] (mean)
> >     Requests per second:    19.81 [#/sec] (mean)
> >     Requests per second:    19.85 [#/sec] (mean)
> >
> >     Used ab2 -n20 http://head.example.com <http://head.example.com>
> >     Drupal 5
> >     Requests per second:    18.58 [#/sec] (mean)
> >     Requests per second:    21.73 [#/sec] (mean)
> >     Requests per second:    18.35 [#/sec] (mean)
> >     Requests per second:    28.12 [#/sec] (mean)
> >
> >     Server is an AMD 64 3000+ with a SATA 7200 Disk with 1GB RAM
> >     Ubuntu Edgy 6.10, Apache 2.0.55, MySQL 5.0.24, PHP 5.1.6
> >
> >
> >     On 3/3/07, *Karoly Negyesi* < karoly at negyesi.net
> >     <mailto:karoly at negyesi.net>> wrote:
> >
> >         It is there. Please try enabling all core modules in Drupal 5
> >         and bench the front page as anon. Then try the same in Drupal
> >         6-dev.I am really interested in results.
> >
> >         > In particular, we need benchmarking help, soon I will post a
> >         simpler version which does a permission check for every menu
> >         item. I wonder how bad that is...
> >         >
> >
> >
> >
> >
> >     --
> >     2bits.com <http://2bits.com>
> >     http://2bits.com
> >     Drupal development, customization and consulting.
> >
> >
> >
> >
> > --
> > 2bits.com <http://2bits.com>
> > http://2bits.com
> > Drupal development, customization and consulting.
>
>
> --
> * * * * *
> Lullabot's First Ever Advanced Workshops Are Here!
> Drupal API & Module Building - Advanced Drupal Themeing
> April 9th-13th - Providence, RI
> Early Bird Discounts Available Now
> http://www.lullabot.com/training
> * * * * *
>
>


-- 
2bits.com
http://2bits.com
Drupal development, customization and consulting.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20070305/0709080f/attachment.htm 


More information about the development mailing list