Hi all, I'm trying to run the web serving benchmark on a ARM-64bit machine. Although I'm finally get it run natively (by converting Dockerfile to scripts), I'm having a few questions, and I'll really appreciate it if anyone can help!
1. The elgg engine comes with Cloudsuite is based on v1.9.3, which crashes on ARMv8 with kernel error: $ curl -sSI localhost:8080 HTTP/1.1 502 Bad Gateway $ tail -f /var/log/syslog kernel: [56880.588054] php5-fpm[4690]: unhandled input address range fault (11) at 0x20737365636359, esr 0x92000004 kernel: [56880.588062] pgd = fffffe0f4fe00000 kernel: [56880.591474] [20737365636359] *pgd=0000000000000000, *pud=0000000000000000, *pmd=0000000000000000 This issue is solved in v1.9.4, and I track it down to the file elgg/engine/lib/languages.php. The solution I have right now is to copy the languages.php file from v1.9.4 to the elgg that comes with cloudsuite, which seems to solve the issue. I'm wondering if this is the right thing to do? Is it also possible to upgrade elgg version? I tried elgg v2.1.2, by simply copying the settings.php over. It doesn't seem to work, with ElggDriverAgent fails to initialize in faban client. 2. Although I get the benchmark run on ARMv8, it seems most of my tests fail. When $LOAD_SCALE <= 200, a few items in "Operation Mix" fails, with mix rate deviates ~3% to the required value. When $LOAD_SCALE>=300, a few items in response time fails (this makes sense). The only case that all items pass is when $LOAD_SCALE=250. I'm wondering whether a failure in "Operation Mix" matters or not? I'm sort of confident that the benchmark is running, because I got a good mix of attempts (see below), and the failure count are all zeros (in operation mix). Miscellaneous Statistics DescriptionResultsPass/Fail Number of times home page was actually attempted to be accessed. 235 PASSED Number of times login was actually attempted. 234 PASSED Number of times posting on wall was actually attempted. 859 PASSED Number of times update activity was actually attempted. 1374 PASSED Number of times add friends was actually attempted. 246 PASSED Number of times send message was actually attempted. 1515 PASSED Number of times receive message was actually attempted. 1476 PASSED Number of times logout was actually attempted. 40 PASSED Number of times register was actually attempted. 0 PASSED 3. When faban client is running, I can see some error messages dump out: $ sudo tail -f /var/log/nginx/example_error.log [error] 18433#0: *47258 FastCGI sent in stderr: "PHP message: PHP WARNING: 2016-06-23 01:28:01 (UTC): "Invalid argument supplied for foreach()" in file /usr/share/nginx/html/elgg/mod/hypeWall/vendors/hypejunction/cmp-filestore/classes/Filestore/UploadHandler.php (line 130)" while reading response header from upstream, client: xxxxx, server: localhost, request: "POST /action/wall/status HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "xxxxx:8080", referrer: "http://xxxxx:8080/activity" Does this matter? 4. When I run the bootstrap.sh script of faban_client, I have to give it the actual IP address (a.b.c.d). If I give it localhost or 127.0.0.1 (all processes are on the same machine), it fails with PRINT: Failed to login message. I'm wondering why this happens? Thanks, Xiaodong -- Xiaodong Wang Computer Systems Laboratory Cornell University 356 Upson Hall 607-379-5421 [email protected]
