{"id":5747,"date":"2020-08-24T02:32:38","date_gmt":"2020-08-23T17:32:38","guid":{"rendered":"http:\/\/hack.gpl.jp\/?p=5747"},"modified":"2020-08-24T02:32:38","modified_gmt":"2020-08-23T17:32:38","slug":"post-5747","status":"publish","type":"post","link":"https:\/\/hack.gpl.jp\/2020\/08\/24\/post-5747.html","title":{"rendered":"Android\u30b9\u30de\u30db\u306bCentOS\u3068\u304bUbuntu\u3068\u304b\u5165\u308c\u3066\u6d3b\u7528\u3067\u304d\u308b\u304b\u691c\u8a0e\u3057\u3066\u307f\u308b"},"content":{"rendered":"

\u3053\u306e\u30d6\u30ed\u30b0\u306e\u81ea\u5b85\u30b5\u30fc\u30d0\u5316\u8a08\u753b\u304c\u3042\u308b\u3093\u3067\u3059\u304c\u3001\u305d\u306e\u5019\u88dc\u30de\u30b7\u30f3\u3068\u3057\u3066\u5148\u65e5\uff08\u3068\u3044\u3063\u3066\u3082\u3060\u3044\u3076\u524d\u3067\u3059\u304c\uff09ThinkCentre M75q-1 Tiny\u3092\u7528\u610f\u3057\u3066\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u30de\u30b7\u30f3\u3001\u304b\u306a\u308a\u901f\u304f\u3066\u81ea\u5b85\u30b5\u30fc\u30d0\u7528\u9014\u3060\u3051\u306b\u4f7f\u3046\u306e\u306f\u52ff\u4f53\u306a\u3044\u306a\u30fc\u306a\u3093\u3066\u601d\u3063\u3066\u3044\u307e\u3059\u3002\u5b9f\u969b\u3001\u30d5\u30a9\u30fc\u30c8\u30ca\u30a4\u30c8\u5c02\u7528\u30de\u30b7\u30f3\u3068\u3057\u3066\u3081\u3063\u3061\u3083\u904a\u3093\u3067\u3044\u307e\u3059\u3002Linux\u3092\u5165\u308c\u3066\u3082UnixBench\u304c\u30b9\u30b3\u30a2\u304c6500\u3092\u8d85\u3048\u308b\u6fc0\u901f\u3044\u30de\u30b7\u30f3\u306a\u3093\u3067\u3059\u3088\u306d\u3002\u305d\u3053\u3067\u3001\u30c0\u30e1\u5143\u3067\u3068\u601d\u3044\u6700\u8fd1\u30b9\u30de\u30db\u3082\u5909\u3048\u305f\u3053\u3068\u3067\u3059\u3057\u3001UmidigiF2\u306bCentOS\u3068\u304bFedora\u3068\u304b\u5165\u308c\u3066\u4f7f\u3048\u306a\u3044\u304b\u306a\u30fc\u3063\u3066\u601d\u3063\u305f\u308f\u3051\u3067\u3059\u3002<\/p>\n

\"\u8cbc\u308a\u4ed8\u3051\u305f\u753b\u50cf_2020_08_24_1_04\"<\/p>\n

\u666e\u901a\u3001Android\u30b9\u30de\u30db\u306bLinux\u3092\u5165\u308c\u308b\u306b\u306froot\u3092\u53d6\u5f97\u3057\u3066\u30aa\u30ea\u30b8\u30ca\u30eb\u306aOS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3093\u3067\u3059\u304c\u3001\u30ab\u30b9\u30bf\u30e0ROM\u3092\u4f5c\u3089\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u304c\u9762\u5012\u306a\u306e\u3068arm\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306a\u3093\u3067\u30de\u30a4\u30ca\u30fc\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306f\u30d0\u30a4\u30ca\u30ea\u304c\u306a\u3044\u306e\u3067\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u306a\u3044\u3068\u3060\u3081\u306a\u3093\u3067\u3059\u3002\u307e\u3041\u3001\u304f\u305d\u30e1\u30f3\u30c9\u304f\u3055\u3044\u306e\u3067\u5019\u88dc\u304b\u3089\u5916\u3057\u3066\u3044\u305f\u3093\u3067\u3059\u304c\u3001\u6700\u8fd1\u306e\u4e8b\u60c5\u306f\u3082\u3063\u3068\u6c17\u8efd\u306b\u5165\u308c\u3089\u308c\u308b\u3088\u3046\u3067\u3057\u305f\u3002\u4e0a\u306e\u753b\u50cf\u306e\u30a2\u30d7\u30ea\u3001UserLAnd\u3068\u304b\u3001Termux\u3068\u304b\u3001AnLinux\u3068\u304b\u304c\u305d\u308c\u3067\u3059\u3002UserLAnd\u306f\u3001\u305d\u308c\u5358\u4f53\u3067\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u304c\u7d44\u307f\u8fbc\u3081\u307e\u3059\u3002<\/p>\n

\"\u8cbc\u308a\u4ed8\u3051\u305f\u753b\u50cf_2020_08_24_1_09\"<\/p>\n

\u3053\u306e\u74b0\u5883\uff08UserLAnd\u3067Ubuntu\uff09\u3067\u3001\u8a08\u6e2c\u3057\u305fUnixBench\u304c\u4ee5\u4e0b\u3067\u3059\u3002\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u306fUmidigiF2\u3067\u3059\u3002CPU\u306e\u578b\u756a\u3084\u8a8d\u8b58\u3057\u3066\u3044\u308b\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u306f\u4ee5\u4e0b\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n

CPU MediaTek Helio P70
\nHardware : MT6771V\/CT<\/p><\/blockquote>\n

========================================================================
\nBYTE UNIX Benchmarks (Version 5.1.3)<\/p>\n

System: localhost: GNU\/Linux
\nOS: GNU\/Linux — 4.14.141+ — #1 SMP PREEMPT Wed May 6 10:13:36 CST 2020
\nMachine: aarch64 (aarch64)
\nLanguage: en_US.utf8 (charmap=”ANSI_X3.4-1968″, collate=”ANSI_X3.4-1968″)
\n; runlevel<\/p>\n

————————————————————————
\nBenchmark Run: Sat Aug 22 2020 20:54:06 – 21:22:31
\n8 CPUs in system; running 1 parallel copy of tests<\/p>\n

Dhrystone 2 using register variables 17608983.7 lps (10.0 s, 7 samples)
\nDouble-Precision Whetstone 2700.6 MWIPS (9.9 s, 7 samples)
\nExecl Throughput 277.4 lps (29.9 s, 2 samples)
\nFile Copy 1024 bufsize 2000 maxblocks 244507.6 KBps (30.0 s, 2 samples)
\nFile Copy 256 bufsize 500 maxblocks 71657.5 KBps (30.0 s, 2 samples)
\nFile Copy 4096 bufsize 8000 maxblocks 676812.1 KBps (30.0 s, 2 samples)
\nPipe Throughput 375078.4 lps (10.0 s, 7 samples)
\nPipe-based Context Switching 73081.8 lps (10.0 s, 7 samples)
\nProcess Creation 1843.0 lps (30.0 s, 2 samples)
\nShell Scripts (1 concurrent) 973.9 lpm (60.0 s, 2 samples)
\nShell Scripts (8 concurrent) 237.1 lpm (60.2 s, 2 samples)
\nSystem Call Overhead 21729.5 lps (10.0 s, 7 samples)<\/p>\n

System Benchmarks Index Values BASELINE RESULT INDEX
\nDhrystone 2 using register variables 116700.0 17608983.7 1508.9
\nDouble-Precision Whetstone 55.0 2700.6 491.0
\nExecl Throughput 43.0 277.4 64.5
\nFile Copy 1024 bufsize 2000 maxblocks 3960.0 244507.6 617.4
\nFile Copy 256 bufsize 500 maxblocks 1655.0 71657.5 433.0
\nFile Copy 4096 bufsize 8000 maxblocks 5800.0 676812.1 1166.9
\nPipe Throughput 12440.0 375078.4 301.5
\nPipe-based Context Switching 4000.0 73081.8 182.7
\nProcess Creation 126.0 1843.0 146.3
\nShell Scripts (1 concurrent) 42.4 973.9 229.7
\nShell Scripts (8 concurrent) 6.0 237.1 395.2
\nSystem Call Overhead 15000.0 21729.5 14.5
\n========
\nSystem Benchmarks Index Score 271.2<\/strong><\/p>\n

————————————————————————
\nBenchmark Run: Sat Aug 22 2020 21:22:31 – 21:51:31
\n8 CPUs in system; running 8 parallel copies of tests<\/p>\n

Dhrystone 2 using register variables 99917960.5 lps (10.0 s, 7 samples)
\nDouble-Precision Whetstone 17134.8 MWIPS (9.5 s, 7 samples)
\nExecl Throughput 636.2 lps (29.9 s, 2 samples)
\nFile Copy 1024 bufsize 2000 maxblocks 391896.0 KBps (30.0 s, 2 samples)
\nFile Copy 256 bufsize 500 maxblocks 109010.1 KBps (30.0 s, 2 samples)
\nFile Copy 4096 bufsize 8000 maxblocks 1128491.8 KBps (30.0 s, 2 samples)
\nPipe Throughput 1996740.3 lps (10.0 s, 7 samples)
\nPipe-based Context Switching 274427.3 lps (10.0 s, 7 samples)
\nProcess Creation 5289.1 lps (30.0 s, 2 samples)
\nShell Scripts (1 concurrent) 2014.1 lpm (60.3 s, 2 samples)
\nShell Scripts (8 concurrent) 291.2 lpm (63.5 s, 2 samples)
\nSystem Call Overhead 27627.6 lps (10.1 s, 7 samples)<\/p>\n

System Benchmarks Index Values BASELINE RESULT INDEX
\nDhrystone 2 using register variables 116700.0 99917960.5 8562.0
\nDouble-Precision Whetstone 55.0 17134.8 3115.4
\nExecl Throughput 43.0 636.2 148.0
\nFile Copy 1024 bufsize 2000 maxblocks 3960.0 391896.0 989.6
\nFile Copy 256 bufsize 500 maxblocks 1655.0 109010.1 658.7
\nFile Copy 4096 bufsize 8000 maxblocks 5800.0 1128491.8 1945.7
\nPipe Throughput 12440.0 1996740.3 1605.1
\nPipe-based Context Switching 4000.0 274427.3 686.1
\nProcess Creation 126.0 5289.1 419.8
\nShell Scripts (1 concurrent) 42.4 2014.1 475.0
\nShell Scripts (8 concurrent) 6.0 291.2 485.3
\nSystem Call Overhead 15000.0 27627.6 18.4
\n========
\nSystem Benchmarks Index Score 680.3<\/strong><\/p><\/blockquote>\n

\u3084\u3063\u3071\u308achroot\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u3061\u3087\u3063\u3068\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c8\u304c\u3042\u308b\u3088\u3046\u3067\u3059\u306d\u3002\u3082\u3063\u3068\u901f\u3044\u306f\u305a\u306a\u3093\u3067\u3059\u304c\u3001proot\u3092\u4f7f\u3063\u3066\u3044\u308b\u3088\u3046\u306a\u306e\u3067\u305d\u306e\u5f71\u97ff\u3067\u3057\u3087\u3046\u304b\u3002proot\u3063\u3066\u3044\u3046\u306e\u306f\u3001FreeBSD\u306ejail\u306b\u4f3c\u305f\u611f\u3058\u3060\u3068\u601d\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30cf\u30a4\u30d1\u30fc\u30d0\u30a4\u30b6\u3084\u6e96\u4eee\u60f3\u5316\u30de\u30b7\u30f3\u306e\u3088\u3046\u306a\u30bb\u30ad\u30e5\u30a2\u306a\u3082\u306e\u3068\u306f\u4ed5\u7d44\u307f\u304c\u9055\u3044\u307e\u3059\u3002<\/p>\n

\u6b21\u3001Termux\u306e\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u52d5\u304b\u3057\u3066\u3044\u308b\u30b9\u30de\u30db\u306f\u5148\u3068\u540c\u3058UmidigiF2\u3067\u3059\u3002<\/p>\n

pkg install vim -y
\npkg install wget -y
\npkg install clang -y
\npkg install make -y
\npkg install perl -y
\npkg install git -y
\npkg install pkg-config -y<\/p>\n

git clone https:\/\/github.com\/kdlucas\/byte-unixbench
\ncd byte-unixbench\/UnixBench
\ncp -p Makefile Makefile.org
\nvi Makefile
\n\u203b\u4ee5\u4e0b\u90e8\u5206\u3092\u524a\u9664\u3057\u3066\u306d\u3002\uff08-march=native\uff09<\/p><\/blockquote>\n

$ diff Makefile Makefile.org
\n98c98
\n< OPTON += -mtune=native
\n—
\n> OPTON += -march=native -mtune=native<\/p><\/blockquote>\n

.\/Run
\n::<\/p>\n

========================================================================
\nBYTE UNIX Benchmarks (Version 5.1.3)<\/p>\n

System: localhost: Android
\nOS: Android — 4.14.141+ — #1 SMP PREEMPT Wed May 6 10:13:36 CST 2020
\nMachine: aarch64 (unknown)
\nLanguage: en_US.utf8 (charmap=, collate=)
\n21:45:18 up 41 days, 12:17, load average: 26.55, 26.58, 26.57; runlevel<\/p>\n

————————————————————————
\nBenchmark Run: Sun Aug 23 2020 21:45:18 – 22:13:35
\n8 CPUs in system; running 1 parallel copy of tests<\/p>\n

Dhrystone 2 using register variables 17334020.9 lps (10.0 s, 7 samples)
\nDouble-Precision Whetstone 3658.8 MWIPS (9.9 s, 7 samples)
\nExecl Throughput 215.1 lps (29.9 s, 2 samples)
\nFile Copy 1024 bufsize 2000 maxblocks 323431.8 KBps (30.0 s, 2 samples)
\nFile Copy 256 bufsize 500 maxblocks 101368.1 KBps (30.0 s, 2 samples)
\nFile Copy 4096 bufsize 8000 maxblocks 845384.2 KBps (30.0 s, 2 samples)
\nPipe Throughput 591377.9 lps (10.0 s, 7 samples)
\nPipe-based Context Switching 89414.5 lps (10.0 s, 7 samples)
\nProcess Creation 1326.4 lps (30.0 s, 2 samples)
\nShell Scripts (1 concurrent) 861.2 lpm (60.1 s, 2 samples)
\nShell Scripts (8 concurrent) 381.1 lpm (60.1 s, 2 samples)
\nSystem Call Overhead 582221.0 lps (10.0 s, 7 samples)<\/p>\n

System Benchmarks Index Values BASELINE RESULT INDEX
\nDhrystone 2 using register variables 116700.0 17334020.9 1485.3
\nDouble-Precision Whetstone 55.0 3658.8 665.2
\nExecl Throughput 43.0 215.1 50.0
\nFile Copy 1024 bufsize 2000 maxblocks 3960.0 323431.8 816.7
\nFile Copy 256 bufsize 500 maxblocks 1655.0 101368.1 612.5
\nFile Copy 4096 bufsize 8000 maxblocks 5800.0 845384.2 1457.6
\nPipe Throughput 12440.0 591377.9 475.4
\nPipe-based Context Switching 4000.0 89414.5 223.5
\nProcess Creation 126.0 1326.4 105.3
\nShell Scripts (1 concurrent) 42.4 861.2 203.1
\nShell Scripts (8 concurrent) 6.0 381.1 635.1
\nSystem Call Overhead 15000.0 582221.0 388.1
\n========
\nSystem Benchmarks Index Score 406.2<\/p>\n

————————————————————————
\nBenchmark Run: Sun Aug 23 2020 22:13:35 – 22:42:10
\n8 CPUs in system; running 8 parallel copies of tests<\/p>\n

Dhrystone 2 using register variables 92727287.0 lps (10.0 s, 7 samples)
\nDouble-Precision Whetstone 23155.4 MWIPS (10.0 s, 7 samples)
\nExecl Throughput 1153.0 lps (29.7 s, 2 samples)
\nFile Copy 1024 bufsize 2000 maxblocks 392313.3 KBps (30.0 s, 2 samples)
\nFile Copy 256 bufsize 500 maxblocks 105373.2 KBps (30.0 s, 2 samples)
\nFile Copy 4096 bufsize 8000 maxblocks 1156407.9 KBps (30.0 s, 2 samples)
\nPipe Throughput 3402929.3 lps (10.0 s, 7 samples)
\nPipe-based Context Switching 316242.6 lps (10.0 s, 7 samples)
\nProcess Creation 7783.9 lps (30.0 s, 2 samples)
\nShell Scripts (1 concurrent) 4043.3 lpm (60.1 s, 2 samples)
\nShell Scripts (8 concurrent) 518.0 lpm (60.4 s, 2 samples)
\nSystem Call Overhead 3153958.3 lps (10.0 s, 7 samples)<\/p>\n

System Benchmarks Index Values BASELINE RESULT INDEX
\nDhrystone 2 using register variables 116700.0 92727287.0 7945.8
\nDouble-Precision Whetstone 55.0 23155.4 4210.1
\nExecl Throughput 43.0 1153.0 268.2
\nFile Copy 1024 bufsize 2000 maxblocks 3960.0 392313.3 990.7
\nFile Copy 256 bufsize 500 maxblocks 1655.0 105373.2 636.7
\nFile Copy 4096 bufsize 8000 maxblocks 5800.0 1156407.9 1993.8
\nPipe Throughput 12440.0 3402929.3 2735.5
\nPipe-based Context Switching 4000.0 316242.6 790.6
\nProcess Creation 126.0 7783.9 617.8
\nShell Scripts (1 concurrent) 42.4 4043.3 953.6
\nShell Scripts (8 concurrent) 6.0 518.0 863.3
\nSystem Call Overhead 15000.0 3153958.3 2102.6
\n========
\nSystem Benchmarks Index Score 1312.3<\/p><\/blockquote>\n

\u500d\u307e\u3067\u306f\u884c\u304d\u307e\u305b\u3093\u304c\u3001\u3053\u3063\u3061\u306f\u7d50\u69cb\u901f\u3044\u3088\u3046\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u4ee5\u4e0b\u306b\u66f8\u304b\u308c\u3066\u3044\u308b\u3088\u3046\u306b\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u69cb\u6210\u304c\u901a\u5e38\u306eLinux\u3068\u306f\u9055\u3044\u3001\u307e\u305flibc\u304cBionic\u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n

Differences from Linux
\nhttps:\/\/wiki.termux.com\/wiki\/Differences_from_Linux<\/p><\/blockquote>\n

Bionic\u306aLibc\u3068\u306f\u3001Android\u306eC\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u3053\u3068\u3067\u3059\u3002Android\u306fBSD\u306eC\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u57fa\u306b\u3057\u3066\u72ec\u81ea\u958b\u767a\u3055\u308c\u305f\u3082\u306e\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002Linux\u306e\u6a19\u6e96C\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u4e00\u822c\u7684\u306aglibc(GNU libc)\u3067\u3059\u3002Termux\u306e\u30a2\u30d7\u30ea\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u306fAndroid NDK\u3092\u4f7f\u3063\u3066\u30d3\u30eb\u30c9\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3001\u3053\u306e\u3042\u305f\u308a\u3001\u3061\u3087\u3063\u3068\u72ec\u81ea\u306b\u3044\u308d\u3044\u308d\u30d3\u30eb\u30c9\u3057\u3066\u307f\u308b\u3068\u304d\u306f\u30cf\u30de\u308a\u305d\u3046\u3067\u3059\u306d\u3002
\n\u3061\u306a\u307f\u306b\u3001termux\u306e\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4ee5\u4e0b\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n

https:\/\/grimler.se\/termux-packages-24\/arm\/
\n\uff1a\uff1a
\n1058\u500b\u304c\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff08\u3053\u306e\u57f7\u7b46\u6642\uff09<\/p><\/blockquote>\n

apache\u3084nginx\u3084php\u3084mariadb\u306a\u3069\u3042\u308a\u307e\u3059\u306e\u3067\u3001wordpress\u3092\u52d5\u304b\u3059\u3053\u3068\u306f\u3067\u304d\u305d\u3046\u3067\u3059\u306d\u3002imagemagick\u306a\u3093\u3068\u304b\u3082\u3042\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n

\u6b21\u306f\u3001AnLinux\u3067\u3059\u3002\u3053\u308c\u306f\u5148\u306b\u7d39\u4ecb\u3057\u305fTermux\u3068\u9023\u643a\u3057\u3066\u52d5\u4f5c\u3055\u305b\u308b\u3082\u306e\u3067\u3059\u3002Termux\u306f\u3001proot\u3092\u4f7f\u3048\u3070\u72ec\u81ea\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u4f5c\u308c\u307e\u3059\u3002\u305d\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u3063\u3066\u304f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n

\"\u8cbc\u308a\u4ed8\u3051\u305f\u753b\u50cf_2020_08_24_1_54\"<\/p>\n

Step1\u3067\u3001\u30c7\u30a3\u30b9\u30c8\u30ed\u3092\u9078\u629e\u3057\u3001Step2\u3067\u305d\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092wget\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3092Termux\u306b\u8cbc\u308a\u4ed8\u3051\u3066\u52d5\u4f5c\u3055\u305b\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n

\"\u8cbc\u308a\u4ed8\u3051\u305f\u753b\u50cf_2020_08_24_1_57\"<\/p>\n

\u3053\u306e\u30b3\u30d4\u30fc\u3057\u305f\u30b3\u30de\u30f3\u30c9\u306f\u4ee5\u4e0b\u3067\u3059\u3002<\/p>\n

pkg install wget openssl-tool proot tar -y && hash -r && wget https:\/\/raw.githubusercontent.com\/EXALAB\/AnLinux-Resources\/master\/Scripts\/Installer\/CentOS\/centos.sh && bash centos.sh<\/p><\/blockquote>\n

\u3069\u3093\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u66f8\u304b\u308c\u3066\u3044\u308b\u304b\u3001\u4e0a\u8a18\u306ecentos.sh\u3092\u898b\u308b\u3068\u7d0d\u5f97\u3057\u307e\u3059\u3002<\/p>\n

\"\u8cbc\u308a\u4ed8\u3051\u305f\u753b\u50cf_2020_08_24_0_29\"<\/p>\n

\u3053\u3093\u306a\u611f\u3058\u3067\u3001proot\u306eCentOS\u306b\u5165\u308c\u307e\u3059\u3002\u3053\u306e\u74b0\u5883\u3067\u52d5\u4f5c\u3055\u305b\u305fUnixBench\u306f\u4ee5\u4e0b\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n

yum -y install perl perl-Time-HiRes make gcc git
\ncd \/usr\/local\/src\/
\ngit clone https:\/\/github.com\/kdlucas\/byte-unixbench
\ncd byte-unixbench\/UnixBench<\/p><\/blockquote>\n

Shell8\u306e\u30c6\u30b9\u30c8\u3067\u3053\u3051\u308b\u306e\u3067\u3001\u30b3\u30de\u30f3\u30c9\u306f\u4ee5\u4e0b\u3067\u5b9f\u884c\u3057\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n

\n

.\/Run -i 1 -v<\/span><\/p>\n<\/blockquote>\n

========================================================================
\nBYTE UNIX Benchmarks (Version 5.1.3)<\/p>\n

System: localhost: GNU\/Linux
\nOS: GNU\/Linux — 4.14.141+ — #1 SMP PREEMPT Wed May 6 10:13:36 CST 2020
\nMachine: aarch64 (aarch64)
\nLanguage: en_US.utf8 (charmap=”ANSI_X3.4-1968″, collate=”ANSI_X3.4-1968″)
\n; runlevel<\/p>\n

————————————————————————
\nBenchmark Run: Sun Aug 23 2020 16:34:32 – 16:41:18
\n8 CPUs in system; running 1 parallel copy of tests<\/p>\n

Dhrystone 2 using register variables 18468392.0 lps (10.0 s, 1 samples)
\nDouble-Precision Whetstone 3423.8 MWIPS (9.5 s, 1 samples)
\nExecl Throughput 415.5 lps (29.2 s, 1 samples)
\nFile Copy 1024 bufsize 2000 maxblocks 249987.0 KBps (30.0 s, 1 samples)
\nFile Copy 256 bufsize 500 maxblocks 72847.0 KBps (30.0 s, 1 samples)
\nFile Copy 4096 bufsize 8000 maxblocks 694986.0 KBps (30.0 s, 1 samples)
\nPipe Throughput 387272.6 lps (10.0 s, 1 samples)
\nPipe-based Context Switching 64785.7 lps (10.0 s, 1 samples)
\nProcess Creation 2060.3 lps (30.0 s, 1 samples)
\nShell Scripts (1 concurrent) 425.8 lpm (60.2 s, 1 samples)
\nShell Scripts (8 concurrent) 100.4 lpm (60.3 s, 1 samples)
\nSystem Call Overhead 19692.3 lps (10.1 s, 1 samples)<\/p>\n

System Benchmarks Index Values BASELINE RESULT INDEX
\nDhrystone 2 using register variables 116700.0 18468392.0 1582.6
\nDouble-Precision Whetstone 55.0 3423.8 622.5
\nExecl Throughput 43.0 415.5 96.6
\nFile Copy 1024 bufsize 2000 maxblocks 3960.0 249987.0 631.3
\nFile Copy 256 bufsize 500 maxblocks 1655.0 72847.0 440.2
\nFile Copy 4096 bufsize 8000 maxblocks 5800.0 694986.0 1198.3
\nPipe Throughput 12440.0 387272.6 311.3
\nPipe-based Context Switching 4000.0 64785.7 162.0
\nProcess Creation 126.0 2060.3 163.5
\nShell Scripts (1 concurrent) 42.4 425.8 100.4
\nShell Scripts (8 concurrent) 6.0 100.4 167.4
\nSystem Call Overhead 15000.0 19692.3 13.1
\n========
\nSystem Benchmarks Index Score 249.3<\/strong><\/p>\n

————————————————————————
\nBenchmark Run: Sun Aug 23 2020 16:41:18 – 16:48:52
\n8 CPUs in system; running 8 parallel copies of tests<\/p>\n

Dhrystone 2 using register variables 108060066.0 lps (10.1 s, 1 samples)
\nDouble-Precision Whetstone 22455.1 MWIPS (9.1 s, 1 samples)
\nExecl Throughput 851.2 lps (29.7 s, 1 samples)
\nFile Copy 1024 bufsize 2000 maxblocks 392189.0 KBps (30.0 s, 1 samples)
\nFile Copy 256 bufsize 500 maxblocks 106747.0 KBps (30.0 s, 1 samples)
\nFile Copy 4096 bufsize 8000 maxblocks 1134886.0 KBps (30.0 s, 1 samples)
\nPipe Throughput 2149129.5 lps (10.1 s, 1 samples)
\nPipe-based Context Switching 272235.0 lps (10.1 s, 1 samples)
\nProcess Creation 5234.7 lps (30.2 s, 1 samples)
\nShell Scripts (1 concurrent) 916.4 lpm (61.0 s, 1 samples)
\nShell Scripts (8 concurrent) 165.0 lpm (69.8 s, 1 samples)
\nSystem Call Overhead 30266.2 lps (10.2 s, 1 samples)<\/p>\n

System Benchmarks Index Values BASELINE RESULT INDEX
\nDhrystone 2 using register variables 116700.0 108060066.0 9259.6
\nDouble-Precision Whetstone 55.0 22455.1 4082.7
\nExecl Throughput 43.0 851.2 197.9
\nFile Copy 1024 bufsize 2000 maxblocks 3960.0 392189.0 990.4
\nFile Copy 256 bufsize 500 maxblocks 1655.0 106747.0 645.0
\nFile Copy 4096 bufsize 8000 maxblocks 5800.0 1134886.0 1956.7
\nPipe Throughput 12440.0 2149129.5 1727.6
\nPipe-based Context Switching 4000.0 272235.0 680.6
\nProcess Creation 126.0 5234.7 415.5
\nShell Scripts (1 concurrent) 42.4 916.4 216.1
\nShell Scripts (8 concurrent) 6.0 165.0 275.0
\nSystem Call Overhead 15000.0 30266.2 20.2
\n========
\nSystem Benchmarks Index Score 648.0<\/strong><\/p><\/blockquote>\n

UserLAnd\u306e\u6642\u3068\u4f3c\u305f\u3088\u3046\u306a\u6570\u5024\u3067\u3059\u306d\u3002proot\u3059\u308b\u3068\u3053\u306e\u3042\u305f\u308a\u306e\u30b9\u30b3\u30a2\u306b\u306a\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n

\u5358\u7d14\u306b\u3001UnixBench\u306e\u30b9\u30b3\u30a2\u3060\u3051\u3060\u3068Termux\u304c\u826f\u3055\u305d\u3046\u3067\u3059\u304c\u3001\u5b9f\u969b\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u52d5\u4f5c\u3055\u305b\u3066WordPress\u304c\u3069\u306e\u304f\u3089\u3044\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u51fa\u308b\u306e\u304b\u78ba\u8a8d\u3057\u306a\u3044\u3068\u3067\u3059\u306d\u3002<\/p>\n

\u4ee5\u4e0b\u306e\u30b5\u30a4\u30c8\u306b\u306f\u3001\u30b9\u30de\u30db\u3092PoC\u3068\u3057\u3066\u6d3b\u7528\u3059\u308b\u305f\u3081\u7c21\u5358\u306a\u691c\u8a3c\u304c\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n

https:\/\/m.blog.naver.com\/PostView.nhn?blogId=nettrail&logNo=221588044681&proxyReferer=https:%2F%2Fwww.google.com%2F<\/p>\n

\u8208\u5473\u6df1\u3044\u3053\u3068\u306b\u3001Termux\u74b0\u5883\u3067proot\u3057\u305f(AnLinux\u3067\u4f5c\u3063\u305fDebian)\u3000apache ab\u30c6\u30b9\u30c8\u306e\u307b\u3046\u304c14\u79d2\uff0820\u79d2\u306b\u5bfe\u3057\u3066\uff09\u3067\u901f\u304b\u3063\u305f\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002UnixBench\u306e\u5024\u3068\u306f\u9006\u884c\u3059\u308b\u7d50\u679c\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n

Debian\u306earm\u74b0\u5883\u304c\u512a\u308c\u3066\u3044\u308b\u304b\u3089\u306a\u306e\u304b\u3001\u305d\u306e\u3042\u305f\u308a\u306f\u826f\u304f\u308f\u304b\u308a\u307e\u305b\u3093\u304c\u3001\u3053\u306e\u7b46\u8005\u306fTermux\u306e\u30cd\u30a4\u30c6\u30a3\u30d6\u74b0\u5883\u306f\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u3082\u5c11\u306a\u3044\u306e\u3067\u3001AnLinux\u3067proot \u3057\u305f\u30c7\u30a3\u30b9\u30c8\u30ea\u74b0\u5883\u306e\u307b\u3046\u304c\u826f\u3044\u3093\u3058\u3083\u306a\u3044\u306e\uff1f\u3000\u3063\u3066\u7d50\u8ad6\u3057\u3066\u3044\u307e\u3059\u3002PoC\uff08Proof of Concept\u306e\u7565\u3067\u3001\u300c\u6982\u5ff5\u5b9f\u8a3c\u300d\uff09\u7528\u9014\u3067\u306f\u306d\u3002<\/p>\n

\u4e00\u56de\u3001apache + php7 + mariadb\u3000\u306e\u540c\u3058\u74b0\u5883\u3092\u4f7f\u3063\u3066WordPress\u3092\u5165\u308c\u3066\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u3057\u3066\u898b\u305f\u3044\u3067\u3059\u306d\u3002\u3053\u306e\u30d6\u30ed\u30b0\u904b\u55b6\u304f\u3089\u3044\u306a\u3089\u8010\u3048\u3089\u308c\u305d\u3046\u306a\u6c17\u3082\u3057\u307e\u3059\u304c\u3069\u3046\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"

\u3053\u306e\u30d6\u30ed\u30b0\u306e\u81ea\u5b85\u30b5\u30fc\u30d0\u5316\u8a08\u753b\u304c\u3042\u308b\u3093\u3067\u3059\u304c\u3001\u305d\u306e\u5019\u88dc\u30de\u30b7\u30f3\u3068\u3057\u3066\u5148\u65e5\uff08\u3068\u3044\u3063\u3066\u3082\u3060\u3044\u3076\u524d\u3067\u3059\u304c\uff09ThinkCentre M75q-1 Tiny\u3092\u7528\u610f\u3057\u3066\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u30de\u30b7\u30f3\u3001\u304b\u306a\u308a\u901f\u304f\u3066\u81ea\u5b85\u30b5\u30fc\u30d0\u7528\u9014\u3060\u3051\u306b\u4f7f\u3046\u306e\u306f\u52ff\u4f53\u306a […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","footnotes":""},"categories":[8,14,47,83],"tags":[],"acf":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"post-thumbnail":false},"uagb_author_info":{"display_name":"JunkHack","author_link":"https:\/\/hack.gpl.jp\/author\/junkhack\/"},"uagb_comment_info":1,"uagb_excerpt":"\u3053\u306e\u30d6\u30ed\u30b0\u306e\u81ea\u5b85\u30b5\u30fc\u30d0\u5316\u8a08\u753b\u304c\u3042\u308b\u3093\u3067\u3059\u304c\u3001\u305d\u306e\u5019\u88dc\u30de\u30b7\u30f3\u3068\u3057\u3066\u5148\u65e5\uff08\u3068\u3044\u3063\u3066\u3082\u3060\u3044\u3076\u524d\u3067\u3059\u304c\uff09ThinkCe…","_links":{"self":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/5747"}],"collection":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/comments?post=5747"}],"version-history":[{"count":0,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/5747\/revisions"}],"wp:attachment":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/media?parent=5747"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/categories?post=5747"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/tags?post=5747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}