QNAP TS-269L as a SugarCRM Application Server Performance Report


I am currently porting ZurmoCRM to QTS platform which runs on QNAP device. As mentioned in Performance Comparison on Retrieving Contacts from SugarCRM with QNAP TS-112, TS-212P, and TS-119PII, Marvell-based NAS didn’t perform well as an LAMP application server.

In the test, I saw Shuttle X50V2 which is an Intel Atom Processor D510-based PC provides an acceptable performance. Therefore, I invest an Intel Atom D2701-based QNAP TS-269L to test.

How about the performance? Is there any difference between QTS and Debian? Does it provide better results compared to them? Let’s take a look at it.

Processor and RAM Difference

While QNAP TS-119PII is based on Marvell 88F6281 at 2.0GHz, QNAP TS-269L has an Intel Atom D2701 running slightly higher at 2.13GHz.

Intel tom D2701 has 2 core with 4 threads and 4 times the cache (1MB vs 256KB) compares to Marvell 88F6281. Each instruction set is 64-bit compared to 32-bit on. In other words, it should be able to run 64-bit operating system even the current QTS for QNAP TS-269L is still 32-bit.

RAM is expandable  to 3GB. There is an empty RAM slot. With more RAM available, you may see improvements on disk sensitive operation and may run more applications without out of memory at the same time.

Test Method

I connect NAS to computer directly, install SugarCRM from App Center, setup with build-in demo data, and use Firefox to list all contacts. There are 200 contact records provided from SugarCRM demo data.

To test with different memory configuration, I also manually edit Qthhttpd.sh in QTS and php.ini in Debian to increase memory_limit from 128M to 256M. Please reference QNAP QTS Configuration and Executable Files and TurnKey Linux Configuration and Executable Files to find the path.

Media Library in QTS has been disabled.

With a supported PHP accelerator, It helps to execute faster by caching compiled codes and eliminating the overhead of compiling the same code again. Fortunately,  eAccelerator,an PHP accelerator, is enabled by default in QTS.

QNAP TS-269L is configured with following disk sets.

  1. Two Seagate SV35 7200rpm 2TB as RAID 1.
  2. OCZ Vertex 120GB SSD

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.

I also add test result from following as reference:

  1. Performance Comparison on Retrieving Contacts from SugarCRM with QNAP TS-112, TS-212P, and TS-119PII

Performance

Performance comparison table on QNAP TS-269L  with others loading contacts from SugarCRM.
Performance comparison table on QNAP TS-269L with others loading contacts from SugarCRM.
Performance comparison table on TS-269L with different HDD configurations Loading Contacts from SugarCRM.
Performance comparison table on TS-269L with different HDD configurations Loading Contacts from SugarCRM.
Performance comparison table on TS-119PII with different memory_limit configurations loading contacts from SugarCRM.
Performance comparison table on TS-119PII with different memory_limit configurations loading contacts from SugarCRM.

Analyze

QNAP TS-269L is close to Shuttle X50V2 on SugarCRM when using OCZ Vertex 120GB SSD. SSD is a little bit faster than HDD as RAID 1.

As you may see, there is no different between memory_limit in php.ini with 128M or 256M on QNAP TS-119PII. You may ignore it when reading the performance comparison table on QNAP TS-269L with others loading contacts from SugarCRM.

ARMADA XP seems to be a big improvement over Marvell 88F6281.  Intel Atom CE5335 SoC perform as expected about 20% slower than Intel Atom D2701. But if you want to add more RAM, stay without Intel Atom CE5335 SoC.

Final Thoughts

For LAMP applications, it is okay to choose ARMADA XP based NAS for for 2 or 4 concurrent users while Intel Atom CE5335 SoC and Intel Atom D2700 based NAS models for 4 concurrent users if you use it as a dedicate application server without running other service.

The different between concurrent user is related to the logical core a processor may served. ARMADA XP has both 2 and 4 cores models. Check the model number before your buy. How Multi-Core Processors Accelerate your LAMP Applications provides more information about the detail.

About memory_limit in php.ini, StackOverflow has an interesting topic:  “StackOverflow: Is the more the better for PHP memory_limit? [closed]” while Jeff Starr does a test on Perishable Press: Improve Site Performance by Increasing PHP Memory for WordPress.

Reference

  1. ZurmoCRM
  2. QNAP
  3. QNAP: QTS
  4. Performance Comparison on Retrieving Contacts from SugarCRM with QNAP TS-112, TS-212P, and TS-119PII
  5. Wiki: LAMP (software bundle)
  6. Shuttle X50V2 Datasheet
  7. Intel: Intel Atom Processor D510
  8. Intel Atom Processor D2700
  9. QNAP TS-269L
  10. Debian
  11. QNAP TS-212P
  12. QNAP: TS-112
  13. QNAP TS-119PII
  14. Marvell: Marvell 88F6282 SoC
  15. Marvell: Marvell 88F6281 SoC with Sheeva Technology
  16. Wiki: Instruction set
  17. Wiki: Operating system
  18. QNAP: Upgrade RAM Memory for QNAP NAS
  19. Connect NAS to your Computer Directly
  20. SugarCRM
  21. QNAP: App Center (QPKG)
  22. QNAP: QNAPedia Community Wiki: Category:SugarCRM
  23. Mozilla: Firefox
  24. Wiki: PHP accelerator
  25. Wiki: List of PHP accelerators
  26. eAccelerator
  27. QNAP Turbo NAS User Manual: Media Library
  28. PHP: PHP Manual: Appendices: php.ini directives: memory_limit
  29. PHP: PHP Manual: Appendices: php.ini directives
  30. Wiki: Session (computer science)
  31. Wiki: Thread (computing)
  32. Seagate Surveillance HDD
  33. Wiki: Standard RAID levels: RAID 1
  34. Trusted Review: OCZ Vertex 120GB SSD review
  35. Wiki: Multi-core processor
  36. Wiki: Hyper-threading
  37. How Multi-Core Processors Accelerate your LAMP Applications
  38. Marvell ARMADA XP
  39. EETimes: Marvell quad-core ARM targets x86 servers
  40. SemiAccurate: Marvell ARMADA XP Processors: ARM for the datacenter?
  41. Wiki: List of Intel Atom microprocessors: CE SoCs: Dual-Core CE SoCs
  42. Intel Newsroom: Intel Launches System-on-Chip Storage Solution Designed for Simple Video Transcoding and Streaming
  43. ARM Cortex – A8 vs. Intel Atom : Architectural and Benchmark Comparisons University of Texas at Dallas EE6304 Computer Architecture Course Project – Fall 2009 by Katie Roberts-Hoffman, Pawankumar Hegde
  44. ExtremeTech: SoC vs. CPU – The battle for the future of computing
  45. Perishable Press: Improve Site Performance by Increasing PHP Memory for WordPress
  46. StackOverflow: Is the more the better for PHP memory_limit? [closed]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s