| Status: | |
TWiki version: | 6.0.1 | Perl version: | 5.10.1 |
| Category: | CategoryPerformance | Server OS: | Centos 6.5 | Last update: | 7 years ago |
SEARCH{}.
My initial thinking was that using a solid state drive would improve the performance, so I tested out the theory on a laptop. I tried a total of four scenarios, two were done using the TWiki 6.0.1 VM, using Virtualbox on Windows 10, with our Drawing Web contents added to (/pub and /data). The last two scenarios were done on an installation of Centos 6.5 (no virtualization). All scenarios were performed on the same laptop with only the HDD or SSD swapped out (formatted prior to each scenario to try to keep things as "clean" as possible). The laptop had the following specs: i7-3639QM @ 2.4GHz, 8 gig DDR3, Quadro K2000M (2 gigs). I ran Chrystal Disk Mark (Windows 10) on the HDD and SSD and the results were:
| Test | HDD Read [MB/s] | HDD Write [MB/s] | SSD Read [MB/s] | SSD Write [MB/s] |
|---|---|---|---|---|
| Seq Q32T1 | 109.6 | 115.7 | 545.9 | 488.9 |
| 4KiB Q8T8 | 1.011 | 1.009 | 305.5 | 334.7 |
| 4KiB Q32T1 | 1.111 | 0.968 | 188.6 | 160.5 |
| 4KiB Q1T1 | 0.382 | 0.683 | 26.76 | 52.33 |
SEARCH{} on the Drawing Web.
| Environment | VM Specs | HDD | SSD |
|---|---|---|---|
| Windows 10 (clean install) | 4 CPU cores with 100% execution cap 5 gigs ram 128 megs graphics |
11.99s | 10.87s |
| CentOS 6.5 (clean install) | - | 12.97s | 12.41s |
top, when the SEARCH{} was running, one core was at 100% (user: apache, command: view).
I was a bit puzzled so I also benchmarked grep, specifically '''time grep –rnw ‘/var/www/twiki/data/’ –e ‘Extrusion’''', and got the following results.
| Environment | VM Specs | HDD | SSD |
|---|---|---|---|
| Windows 10 (clean install) | 4 CPU cores with 100% execution cap 5 gigs ram 128 megs graphics |
11.773s | 13.625s |
| CentOS 6.5 (clean install) | - | 34.161s | 3.737s |
| VM Specs | Load Time (s) |
|---|---|
| 4 CPU cores with 100% execution cap 5 gigs ram 128 megs graphics |
11.38s |
| 6 CPU cores with 100% execution cap 24 gigs ram 128 megs graphics |
11.37s |
| SupportForm | |
|---|---|
| Status | Asked |
| Title | Hardware to Improve Performance |
| SupportCategory | CategoryPerformance |
| TWiki version | 6.0.1 |
| Server OS | Centos 6.5 |
| Web server | Apache 2.2.15 |
| Perl version | 5.10.1 |
| Browser & version | Chrome 72.0.3626.109 |