In Thecus N2560 as a ZurmoCRM Application Server Performance Report, I see N2560 could run as fast as Shuttle X50V2. Therefor, embedded Linux shall be as fast as desktop Linux.
Although QNAP TS-251 has the latest Celeron J1800 and comes with the latest QTS 4.1, it is still using outdated PHP 5.3.28 and MySQL 5.1.36. Let’s see how fast it could beat with previous Atom D2701 models.
Processor, RAM, and Linux Difference
TS-251 has a J1800 at 2.41GHz which may burst to 2.58GHz; N2560 has a CE5335 SoC at 1.6GHz; TS-119PII is a Marvell 88F6281 at 1.6GHz; AS-602T and TS-269L is Atom D2701 at 2.13GHz; the only desktop Shuttle X50V2 is Intel Atom D510 at 1.6GHz.
J1800 is based on Bay Trail which is part of the Atom family. It has 2 cores but without hyper-threading technology which means it may serve and 2 threads only. The 1MB cache size is still the same to D2700 but support for 8GB RAM which is double to D2700. CE5335 SoC and D2700 are based on Berryville and Cedar Trail respectively. Both have 2 cores with hyper-threading technology. The former has 512KB L2 Cache and supports 32-bit physical addressing while the latter has 1MB and supports 36-bit. Marvell 88F6281 has 32-bit instruction set. D510 is very similar to D2700 expect running at a lower frequency.
All QTS except TS-251 and ThecusOS in N2560 are 32-bit. QTS on TS-251, ADM in AS-602T and Debian in TurnKey Linux are x64 which means 64-bit.
Below is the unix name for ThecusOS in N2560:
[root@N2560 ~]# uname -a Linux N2560 2.6.39-1.ce17.fc16.i686 #1 SMP PREEMPT Thu Feb 13 11:03:52 CST 2014 i686 i686 i386 GNU/Linux
Below is the unix name and version info for QTS on TS-251:
[~] # uname -a Linux NASE4DDCE 3.12.6 #4 SMP Thu Jun 5 00:31:44 CST 2014 x86_64 unknown [~] # uname -m x86_64 [~] # cat /proc/version Linux version 3.12.6 (root@NasX86-4) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #4 SMP Thu Jun 5 00:31:44 CST 2014
RAM in TS-251 is expandable to 8GB but must be installed with the same capacity in pairs. The 64-bit QTS could manage RAM beyond 4GB.
Test Method
I connect NAS to computer directly. Install ZurmoCRM and setup with build-in demo data. Shuttle X50V2 is setup with ISO image from TurnKey Linux Zurmo. Then use Firefox to list all contacts. There are 28 contact records provided from ZurmoCRM demo data.
To satisfy requirement, I also manually edit Qthhttpd.sh in QTS, and php.ini in Debian and ADM to increase memory_limit from 128M to 256M with one exception: I keep everything as default in TS-251. Please reference Asustor ADM Configuration and Executable Files, QNAP QTS Configuration and Executable Files, and TurnKey Linux Configuration and Executable Files to find the path. I also edit php.ini and my.cnf on ThecusOS. Please refer to Prerequisite Before you Install ZurmoCRM on Thecus NAS running ThecusOS 6 for detail.
All unnecessary background process and programs are disabled.
With the right cache system required by Zurmo, it may improve performance.
Alternative PHP Cache helps to execute faster by caching compiled codes and eliminating the overhead of compiling the same code again. It is supported on certain ADM. QTS or TurnKey Linux doesn’t have this extension by default.
For PHP 5.5.x, ADM doesn’t have build-in support for neither OPcache nor APCu but ThecusOS support both of them. In other words, PHP 5.5.x on ADM doesn’t provide any PHP accelerator.
Running Memcache extension and memcached service together helps to cache database result and lower database loading in LAMP. It is supported on Thecus Apache_2.2.27.1_x86.mod and certain ADM but not supported on QTS nor TurnKey Linux.
You may manually installed them with apt-get easily in TurnKey Linux but need to compile with cross-link reference yourself in QTS. memcached is available on App Center in QTS.
TS-251 is configured with Seagate Desktop HDD 500GB * 1. Others are listed in comparison table.
According to my MTU test, I keep it to use default 1500.
I measure time to load 1 and 5 contacts in a single login session. The 5 contacts are loaded in different tabs in the same Firefox. Therefore, it use only one thread and won’t begin to load the next until finish. If you are confused or interested in the relationship of LAMP, thread, multi-core processor, hyper-threading, How Multi-Core Processors Accelerate your LAMP Applications provides detail explain in plain English.
Performance

Analyze
TS-251 is almost as fast as the second best configuration for N2560 with MySQL 5.5.14. It match Shuttle X50V2 without Alternative PHP Cache nor memcached. N2560 with PHP 5.5.11, APCu, memcached, and a newer MySQL 5.6.17 is even faster than TS-251.
Compared to TS-269L, it is a huge improvement. More than 50% faster!
With the help of Alternative PHP Cache and memcached, AS-602T may catch up with TS-251.
As you may see, QNAP TS-119PII is the slowest among them. It is clear that Intel Atom D2701 execute LAMP applications faster than Marvell 88F6281.
Compared to my experience with Salesforce, running ZurmoCRM on NAS is slow.
Other Thoughts
The new Bay Trail J1800 on TS-251 is definitely a plus to NAS running power hungry LAMP applications. But as I have mentioned in QNAP TS-251 File Transfer Performance Report, the real shine is Virtualization Station.
I will try to get more RAM for TS-251 and test if TurnKey Linux Zurmo running in Virtualization Station could be even faster!
Reference
- APCu
- Asustor ADM Configuration and Executable Files
- Asustor AS-602T as a ZurmoCRM Application Server Performance Report
- Asustor: ADM
- Asustor: AS-602T
- Connect NAS to your Computer Directly
- Debian
- How Multi-Core Processors Accelerate your LAMP Applications
- Intel: Celeron Processor J1800 (1M Cache, up to 2.58 GHz)
- Intel Newsroom: Intel Launches System-on-Chip Storage Solution Designed for Simple Video Transcoding and Streaming
- Intel: New Storage Solutions Based on the Intel® Atom™ Processor CE5300 Series Simplifies HD Content Sharing and Delivery Between Mobile Devices and Smart TV
- Intel: Atom Processor D2700
- Intel: Atom Processor D510
- Intel: Products (Formerly Bay Trail)
- memcached
- Marvell: Marvell 88F6281 SoC with Sheeva Technology
- Maximum MTU doesn’t mean Best Performance
- Mozilla: Firefox
- MySQL
- MySQL: 4.2.3.3 Using Option Files
- Optimize Asustor ADM for ZurmoCRM
- Perishable Press: Improve Site Performance by Increasing PHP Memory for WordPress
- PHP
- PHP: Alternative PHP Cache
- PHP: OPcache
- PHP: PHP Manual: Appendices: php.ini directives
- PHP: PHP Manual: Appendices: php.ini directives: memory_limit
- PHP: PHP Manual: Function Reference: Other Services: Memcache
- Prerequisite Before you Install ZurmoCRM on Thecus NAS running ThecusOS 6
- QNAP TS-251 File Transfer Performance Report
- QNAP QTS Configuration and Executable Files
- QNAP: App Center (QPKG)
- QNAP: TS-119PII
- QNAP: TS-251
- QNAP: TS-269L
- QNAP: QTS
- QNAP: Virtualization Station
- Salesforce
- Seagate: Desktop HDD
- Shuttle X50V2 Datasheet
- StackOverflow: Is the more the better for PHP memory_limit? [closed]
- Thecus: N2560
- Thecus N2560 as a ZurmoCRM Application Server Performance Report
- TurnKey Linux
- TurnKey Linux: Zurmo
- TurnKey Linux Configuration and Executable Files
- WD: WD Red ( WD10EFRX)
- Wiki: Hyper-threading
- Wiki: Instruction set
- Wiki: Operating system
- Wiki: LAMP (software bundle)
- Wiki: Linux: Desktop
- Wiki: Linux on embedded systems
- Wiki: List of PHP accelerators
- Wiki: Multi-core processor
- Wiki: PHP accelerator
- Wiki: Session (computer science)
- Wiki: Standard RAID levels: RAID 1
- Wiki: Thread (computing)
- Wiki: uname
- Zurmo: Zurmo Cache System Explained
- ZurmoCRM