Currently Viewing Posts Tagged performance

Upgrade Curcial BX100 SSD Firmware

It is almost two years old of my Crucial BX100 256GB SSD. Now, I upgraded its firmware from MU01 to MU02. Then I did the benchmark test. The result is very clear that new firmware improve the performance.

The original test I did in 2014 shown as below:

sata3 ssd benchmark

AS SSD Benchmark test Result on Crucial BX100 256GB SSD with MU02 Firmware

The new test I did ten minutes ago.

ssd mu02 new firmware benchmark test

All test results are better than before. Same PC, Same SATA driver. Just different firmware.

Continue reading “Upgrade Curcial BX100 SSD Firmware”

PHP bench test results of PHP 5.3, PHP 5.4, and PHP 5.5

It is a bench test. Testing on the testing machine I just installed in the previous post.

Including PHP 5.3.28, PHP 5.4.28, and PHP 5.5.12, installed with fastcgi running on Apache and mod_fcgid.

PHP 5.3 is 6.567 seconds.

|        PHP BENCHMARK SCRIPT        |
Start : 2014-05-24 16:27:00
Server :
PHP version : 5.3.28
Platform : Linux
test_math                 : 1.724 sec.
test_stringmanipulation   : 1.741 sec.
test_loops                : 1.852 sec.
test_ifelse               : 1.250 sec.
Total time:               : 6.567 sec.

PHP 5.4 is 5.417 seconds.

|        PHP BENCHMARK SCRIPT        |
Start : 2014-05-24 23:27:23
Server :
PHP version : 5.4.28
Platform : Linux
test_math                 : 1.556 sec.
test_stringmanipulation   : 1.664 sec.
test_loops                : 1.328 sec.
test_ifelse               : 0.869 sec.
Total time:               : 5.417 sec.


PHP 5.5 is 5.646 seconds.

|        PHP BENCHMARK SCRIPT        |
Start : 2014-05-24 23:27:15
Server :
PHP version : 5.5.12
Platform : Linux
test_math                 : 1.618 sec.
test_stringmanipulation   : 1.723 sec.
test_loops                : 1.363 sec.
test_ifelse               : 0.942 sec.
Total time:               : 5.646 sec.


I Repeated the test many times and in different order. The results is consistent.

PHP 5.4 is a little bit faster than PHP 5.5. Both PHP 5.5 and PHP 5.4 are almost 1 second faster than PHP 5.3.

Performance between PHP5.3.3 and PHP5.5.12

I installed PHP5.3.3 and PHP5.4.28 at the same time in one VirtualBox guest OS.

Basic information.

  • Host OS: Windows 7 Ultimate 64bit
  • VirtualBox 4.3.12
  • Guest OS: CentOS 6.5 64bit with 512MB base memory
  • PHP5.3.3 is installed as mod_php
  • PHP5.5.12 is installed as php-fpm with mod_fastcgi


Run PHP BENCHMARK SCRIPT to get the total time.


The total time of PHP 5.3.3 is 6.746 seconds.


The total time of PHP 5.5.12 is 5.628 seconds.

I  repeated the test many times. The average difference is 85%. On the other words, PHP 5.5 spend 1 second less than PHP 5.3.



7 Tips to Wi-Fi Performance Optimization

The seven must-know tips for your Wireless Wi-Fi network Performance Optimization.

1. Placements of Devices

Radio signal travels through air to its destination. The radio signal will be reflected, refracted or absorbed if there is something on the way.

So, Keep the wireless router away from blockage, especially metal and bricks.

2. Antennas Positioning

Antennas has direction.  So try to put the antenna in multiple directions to avoid the generation of dead zone.  The D-Link SmartBeam provides much better directions.

3. Handling Radio Interference

As I discussed before, choose the least used wireless channel when possible.

4. Maximizing Channel Bandwidth

Later generations of wireless protocol may utilize higher bandwidth to deliver the superior performance from the previous. So choose 40MHz instead of regular 20MHz, it provides double bandwidth for your connection if possible with the wifi adapter.

5. Encryption

For security reasons, data encryption is must have. There are two main different encryption methods, or Cipher Type. TKIP and AES. TKIP has poor performance. So, select the AES for your network.

6. Other Unique Options

Some unique options may available for certain router and wireless adapters. Most are from same brand. Such as TX Bursting, Optimize AMPDU, Optimize ack suppression or Jumbo Pack.  But do it cautiously,  it may break the connection if the device is not compatible.

7. Further Extend the Wireless Coverage

To further extend the network coverage, one can also consider put a Wi-Fi repeater. I setup my WIRELESS-N WZR-HP-G300NH2 as repeater with DD-WRT rom.

Continue reading “7 Tips to Wi-Fi Performance Optimization”

How to make your blog faster than 95% of all websites

My blog is rebuild a few days ago. I did a web site speed test through Pingdom. My home page is so fast.


The result looks so good.

Your website is faster than 95% of all tested websites

Even the performance grade is only 85 of 100, the load time is 647ms. Load time is more important than others.

Continue reading “How to make your blog faster than 95% of all websites”

How to Disable ETags in Apache httpd.conf

What are ETags?

ETag is a standard used for determining whether the client (web browser) already has the latest version. If it has, it’s simply loaded from local cache. If not, the new version is requested.

An ETag is a hash generated based on either the inode number, the last modified time and / or the size (in bytes) of a file. The default behaviour in Apache webserver is to use all properties to generate the ETag.


What’s the problem with ETags?

Although etags do no harm in a single server set-up, it is harmful when you have multiple servers replication the served files. The problem is that the generated ETags most likely differ per server. So when the client re-requests an un-updated file on a different server than the last time the ETags do not much and a new version is requested, while this would not be necessary. This hurts performance (page load). You can find more information about this in the ‘Configure ETags‘ article on the Yahoo Developer Network.

How To Disable ETags in httpd.conf

To disable the use of ETags in the Apache webserver simply put the following FileETag directive in your httpd.conf:

FileETag none

This will disabled the use of ETags completely.



Ordered a new VPS from ServerMania. I did a test two days ago through ServerBear.

The basic information about this VPS.

  • RAM 4 GB
  • Burstable 8GB
  • HDD 150 GB
  • CPU Model Intel(R) Xeon(R) CPU E3-1270 V2 @ 3.50GHz
  • CPU Cores 4
  • CPU Speed 3500 MHz
  • CPU Cache 8192 KB
  • 4 TB Bandwidth
  • 4 IP address

The testing results:


UnixBench (w/ all processors) 3817.1
UnixBench (w/ one processor) 1900.7

Continue reading “4GB OpenVZ VPS”

PHP 5.5 is 20% faster than PHP5.3

It is a general test on a Centos 6.4 system. The benchmark script is made by The first time I run it on the updated default Centos6.4. The php version is 5.3.3. I think it has Xcache installed. The test result is Total time: 8.482 sec. Breakdown as below:

  • test_math 2.332 sec.
  • test_stringmanipulation : 2.321 sec.
  • test_loops : 2.346 sec.
  • test_ifelse : 1.483 sec.


Then I upgrade or replace the php 5.3 by php 5.5. I follow the guide on Webtactic. Continue reading “PHP 5.5 is 20% faster than PHP5.3”

New Google Maps has poor performance

I tried new Google Maps on desktop. It has poor performance right now.

  1. Geo location is wrong. When I use old Google Maps, it shows me Burnaby, BC, Canada as my location. But when new Google Maps gave me Chillwack, which is not my address supposed to.
  2. Loading Speed: old Google Maps is fast and operated smoothly. New Google Maps is very slow and some times stucked, can not shown 100%.

Regarding the first problem, I think Google use IP address to locate the user. Actually, ip address database provided by ISP is not that updated. There is about hundred miles distance, or maybe the other city nearby.

Continue reading “New Google Maps has poor performance”

  • Archives