{"id":843,"date":"2015-07-12T17:51:51","date_gmt":"2015-07-12T08:51:51","guid":{"rendered":"https:\/\/hack.gpl.jp\/?p=843"},"modified":"2015-07-12T17:51:51","modified_gmt":"2015-07-12T08:51:51","slug":"post-843","status":"publish","type":"post","link":"https:\/\/hack.gpl.jp\/2015\/07\/12\/post-843.html","title":{"rendered":"osx10.9 \u3067 UnixBench"},"content":{"rendered":"

\u3053\u3053\u306e\u3068\u3053\u308d\u3001RasPi2 \u3067\u3044\u308d\u3044\u308d\u904a\u3093\u3067\u3044\u307e\u3059\u304c\u3001\u305d\u3046\u3044\u3048\u3070\u6bcd\u8266\u3067\u3042\u308b osx \u6a5f\u3067 UnixBench \u3092\u8a08\u6e2c\u3057\u3066\u3044\u306a\u3044\u3053\u3068\u306b\u6c17\u304c\u3064\u304d\u307e\u3057\u305f\u3002\u3067\u3001\u305d\u306e\u7d50\u679c\u3002<\/p>\n

 <\/p>\n

UnixBench \u306b\u30d1\u30c3\u30c1\u3092\u5f53\u3066\u308b\u60c5\u5831\u306f\u3001\u4ee5\u4e0b\u3092\u53c2\u8003\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n

Patch for UnixBench 5.1.3 on Mac OS X Mavericks (10.9)
\nhttps:\/\/gist.github.com\/barusan\/11033924<\/a><\/p>\n

blog
\nhttp:\/\/www.baru-san.net\/archives\/267<\/p><\/blockquote>\n

\u3042\u308a\u304c\u305f\u304f\u3001\u4f7f\u308f\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002<\/p>\n

wget https:\/\/storage.googleapis.com\/google-code-archive-downloads\/v2\/code.google.com\/byte-unixbench\/UnixBench5.1.3.tgz\ngit clone https:\/\/gist.github.com\/11033924.git\ntar xvf UnixBench5.1.3.tgz\ncd UnixBench\/\npatch -p1 < ..\/11033924\/UnixBench5.1.3.mavericks.patch\nmake\n.\/Run<\/pre>\n

\u306a\u611f\u3058\u3067\u8a08\u6e2c\u3002<\/p>\n

========================================================================\n   BYTE UNIX Benchmarks (Version 5.1.3)\n\n   System: HOPE.local: Darwin\n   OS: Darwin -- 13.4.0 -- Darwin Kernel Version 13.4.0: ....::\n::\n   CPU 7: Intel(R) Core(TM) ...::\n::\n\n------------------------------------------------------------------------\nBenchmark Run: \u65e5  7 12 2015 16:14:49 - 16:42:55\n8 CPUs in system; running 1 parallel copy of tests\n\nDhrystone 2 using register variables       34704465.0 lps   (10.0 s, 7 samples)\nDouble-Precision Whetstone                     6360.0 MWIPS (9.8 s, 7 samples)\nExecl Throughput                                903.5 lps   (29.9 s, 2 samples)\nFile Copy 1024 bufsize 2000 maxblocks        800480.2 KBps  (30.0 s, 2 samples)\nFile Copy 256 bufsize 500 maxblocks          219592.2 KBps  (30.0 s, 2 samples)\nFile Copy 4096 bufsize 8000 maxblocks       2163139.0 KBps  (30.0 s, 2 samples)\nPipe Throughput                             1281398.1 lps   (10.0 s, 7 samples)\nPipe-based Context Switching                 103377.8 lps   (10.0 s, 7 samples)\nProcess Creation                               4573.6 lps   (30.0 s, 2 samples)\nShell Scripts (1 concurrent)                   5948.9 lpm   (60.0 s, 2 samples)\nShell Scripts (8 concurrent)                   1956.7 lpm   (60.0 s, 2 samples)\nSystem Call Overhead                        1350215.3 lps   (10.0 s, 7 samples)\n\nSystem Benchmarks Index Values               BASELINE       RESULT    INDEX\nDhrystone 2 using register variables         116700.0   34704465.0   2973.8\nDouble-Precision Whetstone                       55.0       6360.0   1156.4\nExecl Throughput                                 43.0        903.5    210.1\nFile Copy 1024 bufsize 2000 maxblocks          3960.0     800480.2   2021.4\nFile Copy 256 bufsize 500 maxblocks            1655.0     219592.2   1326.8\nFile Copy 4096 bufsize 8000 maxblocks          5800.0    2163139.0   3729.6\nPipe Throughput                               12440.0    1281398.1   1030.1\nPipe-based Context Switching                   4000.0     103377.8    258.4\nProcess Creation                                126.0       4573.6    363.0\nShell Scripts (1 concurrent)                     42.4       5948.9   1403.0\nShell Scripts (8 concurrent)                      6.0       1956.7   3261.2\nSystem Call Overhead                          15000.0    1350215.3    900.1\n                                                                   ========\nSystem Benchmarks Index Score                                        1092.0\n\n------------------------------------------------------------------------\nBenchmark Run: \u65e5  7 12 2015 16:42:55 - 17:11:05\n8 CPUs in system; running 8 parallel copies of tests\n\nDhrystone 2 using register variables      151501922.0 lps   (10.0 s, 7 samples)\nDouble-Precision Whetstone                    47934.1 MWIPS (9.8 s, 7 samples)\nExecl Throughput                               4391.2 lps   (29.9 s, 2 samples)\nFile Copy 1024 bufsize 2000 maxblocks       1785300.9 KBps  (30.0 s, 2 samples)\nFile Copy 256 bufsize 500 maxblocks          417942.6 KBps  (30.0 s, 2 samples)\nFile Copy 4096 bufsize 8000 maxblocks       5208018.8 KBps  (30.0 s, 2 samples)\nPipe Throughput                             3024743.9 lps   (10.0 s, 7 samples)\nPipe-based Context Switching                 737487.3 lps   (10.0 s, 7 samples)\nProcess Creation                              17603.0 lps   (30.0 s, 2 samples)\nShell Scripts (1 concurrent)                  17545.1 lpm   (60.0 s, 2 samples)\nShell Scripts (8 concurrent)                   2572.0 lpm   (60.1 s, 2 samples)\nSystem Call Overhead                        3138596.8 lps   (10.0 s, 7 samples)\n\nSystem Benchmarks Index Values               BASELINE       RESULT    INDEX\nDhrystone 2 using register variables         116700.0  151501922.0  12982.2\nDouble-Precision Whetstone                       55.0      47934.1   8715.3\nExecl Throughput                                 43.0       4391.2   1021.2\nFile Copy 1024 bufsize 2000 maxblocks          3960.0    1785300.9   4508.3\nFile Copy 256 bufsize 500 maxblocks            1655.0     417942.6   2525.3\nFile Copy 4096 bufsize 8000 maxblocks          5800.0    5208018.8   8979.3\nPipe Throughput                               12440.0    3024743.9   2431.5\nPipe-based Context Switching                   4000.0     737487.3   1843.7\nProcess Creation                                126.0      17603.0   1397.1\nShell Scripts (1 concurrent)                     42.4      17545.1   4138.0\nShell Scripts (8 concurrent)                      6.0       2572.0   4286.7\nSystem Call Overhead                          15000.0    3138596.8   2092.4\n                                                                   ========\nSystem Benchmarks Index Score                                        3440.0<\/pre>\n

osx 10.9.5 \u3067\u3059\u304c\u3001\u4f53\u611f\u7684\u306b\u306f\u3082\u3063\u3068\u901f\u3044\u611f\u3058\u3002\u307e\u3041\u3001\u3068\u308a\u3042\u3048\u305a\u306e\u6307\u91dd\u3068\u3057\u3066\u304d\u307e\u3059\u3002<\/p>\n

\u305f\u3068\u3048\u3070\u3001sakuraVPS \u306e2G Plan \u306e CPU3 RAM 2GB HDD200GB \u30672000\u304f\u3089\u3044\u306f\u51fa\u307e\u3059\u3002<\/p>\n

 <\/p>\n

\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u8a08\u6e2c\u4e2d\u306e htop \u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u3002<\/p>\n

  1  [||||||||||||||||||||||||||||||||||||||||||||||||||||||||||100.0%]     Tasks: 252 total, 0 running\n  2  [||||||||||||||||||||||||||||||||||||||||||||||||||||||||||100.0%]     Load average: 7.85 5.22 3.26 \n  3  [||||||||||||||||||||||||||||||||||||||||||||||||||||||||||100.0%]     Uptime: 01:03:57\n  4  [||||||||||||||||||||||||||||||||||||||||||||||||||||||||||100.0%]\n  5  [||||||||||||||||||||||||||||||||||||||||||||||||||||||||||100.0%]\n  6  [||||||||||||||||||||||||||||||||||||||||||||||||||||||||||100.0%]\n  7  [||||||||||||||||||||||||||||||||||||||||||||||||||||||||||100.0%]\n  8  [||||||||||||||||||||||||||||||||||||||||||||||||||||||||||100.0%]\n  Mem[||||||||||||                                        3711\/32768MB]\n  Swp[                                                        0\/1024MB]<\/pre>\n

\u304c\u3093\u3070\u3063\u3066\u307e\u3059\u306d\u3002<\/p>\n

\u3061\u306a\u307f\u306b\u3001osx10.9.5 \u306e\u516c\u958b\u3057\u3066\u3044\u308b\u30bd\u30fc\u30b9\u306f\u3001<\/p>\n

http:\/\/www.opensource.apple.com\/release\/os-x-1095\/<\/a><\/a><\/p>\n

\u305f\u3068\u3048\u3070\u3001bash \u3068\u304b\u306f\u3001\u4ee5\u4e0b\u306b\u3042\u308a\u3001<\/p>\n

http:\/\/www.opensource.apple.com\/source\/bash\/bash-92\/<\/a><\/a><\/a><\/p>\n

\u307e\u3060\u3084\u3063\u305f\u3053\u3068\u306f\u306a\u3044\u3093\u3067\u3059\u304c\u3001xcode \u3092\u4f7f\u3063\u3066\u30d3\u30eb\u30c9\u3067\u304d\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n

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

\u3053\u3053\u306e\u3068\u3053\u308d\u3001RasPi2 \u3067\u3044\u308d\u3044\u308d\u904a\u3093\u3067\u3044\u307e\u3059\u304c\u3001\u305d\u3046\u3044\u3048\u3070\u6bcd\u8266\u3067\u3042\u308b osx \u6a5f\u3067 UnixBench \u3092\u8a08\u6e2c\u3057\u3066\u3044\u306a\u3044\u3053\u3068\u306b\u6c17\u304c\u3064\u304d\u307e\u3057\u305f\u3002\u3067\u3001\u305d\u306e\u7d50\u679c\u3002   UnixBench \u306b\u30d1\u30c3\u30c1\u3092\u5f53\u3066\u308b\u60c5\u5831\u306f […]<\/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":[62,69],"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\u3053\u306e\u3068\u3053\u308d\u3001RasPi2 \u3067\u3044\u308d\u3044\u308d\u904a\u3093\u3067\u3044\u307e\u3059\u304c\u3001\u305d\u3046\u3044\u3048\u3070\u6bcd\u8266\u3067\u3042\u308b osx \u6a5f\u3067 UnixBench …","_links":{"self":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/843"}],"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=843"}],"version-history":[{"count":0,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/843\/revisions"}],"wp:attachment":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/media?parent=843"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/categories?post=843"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/tags?post=843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}