Currently Viewing Posts Tagged test

SSL Certificate Checker

After installing the SSL certificate on the Nginx web server, you need to check if it is installed correctly.

I installed the SSL certificate two months ago. The Sectigo ECC certificate.

Now I change the certificate files.

Previously, I put the site SSL certificate file content and the SSL-bundle file altogether. The final SSL certificate file is 4.36KB. It includes three certificates. The guide is from Comodo official site. Sectigo site has a similar guide here.

Now, I remove the last one. Just keep the site certificate and the middle one. Total size is  3.01KB.

The certificate I deleted from the old file is for USERTrust ECC Certification Authority. It is already included in the Trusted Root CA list.

Then, I tested the new certificate file, which has two certificates only, on different online SSL checking tools.

 

Geocerts SSL checking Result

Continue reading “SSL Certificate Checker”

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”

Tools to check your SSL Installation

I have tried some tools to diagnose my SSL certificate installation.

Some related to correct certificate, and more on certificate chain issues.

SSL Certificates are trusted from its parent, or issued by its high lever certificate. It looks like a chain, one connect to other one and gos to the CA root.

Say, I have a SSL certificate for domain seo.g2soft.net.

  • Certificate of seo.g2osft.net is issued by Comodo RSA domain Validation Secure Server CA
  • Comodo RSA domain Validation Secure Server CA is issued by Comodo RSA certification Authority
  • Comodo Rsa Certification Authority is issued by AddTrust External CA Root.

The last one, AddTrust External CA Root is one of root CAs.  It is issued by itself. Root Certificates was installed in every computer or browsers already. It is trusted and in the trust store.

certificate-chain

The above is a corrected installation.

Tool One:

Geocerts SSL Checker

https://www.geocerts.com/ssl_checker

Tool Two:

DigiCert SSL Installation Diagnostics Tool

https://www.digicert.com/help/

Continue reading “Tools to check your SSL Installation”

UnixBench test result on Raspberry Pi

Yes, it is the Raspberry Pi I mentioned yesterday.

I let it on more than eight hours, then I start to run the UnixBench test.

Look at the result:

#    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
#    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
#    #  # #  #  #    ##            #####   #####   # #  #  #       ######
#    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
#    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
####   #    #  #  #    #          #####   ######  #    #   ####   #    #

Version 5.1.3                      Based on the Byte Magazine Unix Benchmark

Multi-CPU version                  Version 5 revisions by Ian Smith,
Sunnyvale, CA, USA
January 13, 2011                   johantheghost at yahoo period com

Use of uninitialized value in printf at ./Run line 1378.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1588.
Use of uninitialized value in printf at ./Run line 1590.

1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput  1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

1 x File Copy 256 bufsize 500 maxblocks  1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3

========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)

System: raspberrypi: GNU/Linux
OS: GNU/Linux -- 4.1.6+ -- #810 PREEMPT Tue Aug 18 15:19:58 BST 2015
Machine: armv6l (unknown)
Language: en_US.utf8 (charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968")
CPU 0: ARMv6-compatible processor rev 7 (v6l) (0.0 bogomips)

23:01:27 up  6:57,  1 user,  load average: 0.71, 0.24, 0.11; runlevel 2

------------------------------------------------------------------------
Benchmark Run: Thu Aug 27 2015 23:01:27 - 23:31:32
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables        1666373.2 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                      265.2 MWIPS (10.0 s, 7 samples)
Execl Throughput                                188.2 lps   (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks         30458.0 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks            9554.5 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks         78833.1 KBps  (30.0 s, 2 samples)
Pipe Throughput                              123181.8 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  15379.2 lps   (10.0 s, 7 samples)
Process Creation                                485.1 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                    370.6 lpm   (60.2 s, 2 samples)
Shell Scripts (8 concurrent)                     46.9 lpm   (60.7 s, 2 samples)
System Call Overhead                         343457.1 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0    1666373.2    142.8
Double-Precision Whetstone                       55.0        265.2     48.2
Execl Throughput                                 43.0        188.2     43.8
File Copy 1024 bufsize 2000 maxblocks          3960.0      30458.0     76.9
File Copy 256 bufsize 500 maxblocks            1655.0       9554.5     57.7
File Copy 4096 bufsize 8000 maxblocks          5800.0      78833.1    135.9
Pipe Throughput                               12440.0     123181.8     99.0
Pipe-based Context Switching                   4000.0      15379.2     38.4
Process Creation                                126.0        485.1     38.5
Shell Scripts (1 concurrent)                     42.4        370.6     87.4
Shell Scripts (8 concurrent)                      6.0         46.9     78.2
System Call Overhead                          15000.0     343457.1    229.0
========
System Benchmarks Index Score                                          76.7

I will repeat the test after a reboot. see if it is a little bit different.

Continue reading “UnixBench test result on Raspberry Pi”

Bench test result of DigitalOcean Singapore Datacenter (SGP1)

DigitalOcean announced Singapore Datacenter (SGP1)  vi. It is a new node physically in Asia. A lot of Chinese webmasters rushed to it.

I created a new droplet at SGP1. Just minimum size droplet.

  • 512MB/1CPU
  • 20GB SSD Disk
  • 1TB Transfer
  • Singapore Region
  • CentOS 6.5 x32
  • $5/month

sgp1-droplet

Go to ServerBear site and get the testing command and paste into the terminal window. The command will update the system and install the necessary packages, then run the bench tasks.

The result as below: Continue reading “Bench test result of DigitalOcean Singapore Datacenter (SGP1)”

PHP Batch Test Result on LEMP

It is the test based on the LEMP, or Linux, Nginx, MySQL and PHP, on Centos 6.4 64bit at Burst.net 1GB VPS.

Details about the testing bed:

  • Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1 cores, 1GB RAM
  • CentOS Linux 6.4
  • Linux 2.6.18-348.4.1.el5.028stab107.2 on x86_64
  • PHP Version 5.4.21 fpm-fcgi
  • Nginx 1.0.15
  • MySQL server 5.5.34

I ran the test three times.

————————————–
| PHP BENCHMARK SCRIPT |
————————————–
Start : 2013-10-23 00:00:24
Server : 184.82.106.94@184.82.106.94
PHP version : 5.4.21
Platform : Linux
————————————–
test_math : 1.660 sec.
test_stringmanipulation : 1.983 sec.
test_loops : 1.031 sec.
test_ifelse : 0.837 sec.
————————————–
Total time: : 5.511 sec.

Continue reading “PHP Batch Test Result on LEMP”

4GB OpenVZ VPS

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

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

Continue reading “4GB OpenVZ VPS”

PHP 5.5 vs PHP 5.4 vs PHP 5.3 – phpBB 3

It is a test on a virtual box Centos 6.4 installation. One forum, powered by phpBB 3.0.11.
I would like to know the time to generate the page.
The time I got is through Firebug on Firefox.
On Firefox 23.0.1, Firebug 1.12.0, Net Panel > All
The waiting time 476ms is the time waiting for the response from web server.
From my point of view it is the time including generate the html.

net-panel-php55

Which program I tesed on?

phpBB 3.0.11, with file as acm_type. It is a forum viewing page, listing topics of one forum.

How to test PHP and get the results?

I tested seven times on each PHP version. Then took the highest one and lowest one away. Add the five waiting time figures and get the average of it.

Let us see the comparison:

Continue reading “PHP 5.5 vs PHP 5.4 vs PHP 5.3 – phpBB 3”

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 http://www.php-benchmark-script.com/. 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.

2013-09-01_141139

Then I upgrade or replace the php 5.3 by php 5.5. I follow the guide on Webtactic. http://www.webtatic.com/packages/php55/ Continue reading “PHP 5.5 is 20% faster than PHP5.3”

  • Archives