{"id":179991,"date":"2020-10-25T09:27:59","date_gmt":"2020-10-25T01:27:59","guid":{"rendered":"http:\/\/4563.org\/?p=179991"},"modified":"2020-10-25T09:27:59","modified_gmt":"2020-10-25T01:27:59","slug":"%e5%a6%82%e6%9e%9c%e5%8e%9f%e6%9d%a5%e5%8e%bb%e4%b8%8b%e8%bd%bd%e4%b8%80%e4%b8%aa%e8%b5%84%e6%ba%90%e7%9a%84%e9%80%9f%e5%ba%a6%e6%98%af-10m-s%ef%bc%8c%e4%bd%86%e6%98%af%e5%9b%a0%e4%b8%ba%e6%88%91","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=179991","title":{"rendered":"\u5982\u679c\u539f\u6765\u53bb\u4e0b\u8f7d\u4e00\u4e2a\u8d44\u6e90\u7684\u901f\u5ea6\u662f 10M\/s\uff0c\u4f46\u662f\u56e0\u4e3a\u6211\u7684\u673a\u5668\u78c1\u76d8 IO \u88ab\u5403\u6ee1\u4e86\uff0c\u6b64\u65f6\u6211\u4e0b\u8f7d\u8d44\u6e90\u7684\u901f\u5ea6\u8fd8\u662f 10M\/s \u5417"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5982\u679c\u539f\u6765\u53bb\u4e0b\u8f7d\u4e00\u4e2a\u8d44\u6e90\u7684\u901f\u5ea6\u662f 10M\/s\uff0c\u4f46\u662f\u56e0\u4e3a\u6211\u7684\u673a\u5668\u78c1\u76d8 IO \u88ab\u5403\u6ee1\u4e86\uff0c\u6b64\u65f6\u6211\u4e0b\u8f7d\u8d44\u6e90\u7684\u901f\u5ea6\u8fd8\u662f 10M\/s \u5417               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : HorizonZy <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        \u4e0d\u662f\u8fd8\u6709\u5185\u5b58\u5417      <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>12<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3936225\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : si <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @si \u5982\u679c\u5185\u5b58\u591f\u5927\u7684\u8bdd\uff0c\u4e00\u76f4\u90fd\u662f 10M\/s \u5417\uff1f\u5982\u679c\u5185\u5b58\u5feb\u8981\u8017\u5c3d\u4e86\uff0c\u6b64\u65f6\u8fd8\u662f 10M\/s \u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3936226\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : HorizonZy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ea\u8981\u8fd8\u6709\u5185\u5b58\uff0c\u78c1\u76d8 IO \u4e0d\u5f71\u54cd\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3936227\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : si <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u731c\u6700\u7ec8\u4f1a\u4ea7\u751f\u4e00\u4e2a \u201c\u5199\u9519\u8bef\u201d \u7ed3\u675f\u4e0b\u8f7d\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3936228\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cmdOptionKana <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @si \u7f51\u7edc\u4e0b\u8f7d\u662f\u5148\u5199\u8fdb\u5185\u5b58\uff0c\u540e\u5199\u5165\u78c1\u76d8\u7684\uff1f\uff08\u7f51\u4e0a\u6ca1\u641c\u5230\u786e\u5207\u7684\u8d44\u6599\uff09                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3936229\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : miniwade514 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u822c\u6765\u8bf4\u4e0d\u662f <br \/>\u6709\u4e9b\u65f6\u5019\uff0c\u53ef\u4ee5\u6309\u7167\u4e00\u7684\u8bf4\u6cd5\uff0c\u6bd4\u5982\u67d0\u4e9b\u88ab\u7f13\u5b58\u7684 web \u9875\u9762\uff0c\u786e\u5b9e\u4f1a\u4ece\u5185\u5b58\u53d6\u503c\u907f\u5f00\u786c\u76d8\uff0c\u4e5f\u53ef\u80fd\u7279\u610f\u8bbe\u8ba1\u4e86\u7f13\u5b58\u6765\u907f\u514d\u786c\u76d8 io \u3002<br \/>\u4e0d\u8fc7\u5148\u60f3\u5230 io \u6ee1\u4e86\u8bf4\u7684\u6709\u70b9\u4e0d\u591f\u51c6\u786e\uff0c\u56e0\u4e3a\u4f60\u7684\u4e0b\u8f7d\u6700\u5148\u7528\u5149\u7684\u66f4\u591a\u53ef\u80fd\u662f\u786c\u76d8\u7684\u8bfb\u5199\u5e26\u5bbd\uff0c\u800c\u4e0d\u662f\u8bfb\u5199\u6d41\u7684\u5f00\u5173                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3936230\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : opengps <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @miniwade514 <br \/>\u5982\u679c\u5185\u5b58\u8017\u5c3d\uff0c\u90a3\u770b\u7cfb\u7edf\u600e\u4e48\u5904\u7406\u4e86\u3002\u7cfb\u7edf\u53ef\u80fd\u76f4\u63a5\u7ed3\u675f\u8fdb\u7a0b\u3002Windows \u3001Linux \u4e00\u822c\u90fd\u662f\u7528\u78c1\u76d8\u505a\u9875\u9762\u6587\u4ef6\u3001\u4ea4\u6362\u5206\u533a\u3002\u5047\u5982\u4e0d\u7ed3\u675f\u8fdb\u7a0b\u7684\u8bdd\uff0c\u8fd9\u79cd\u60c5\u51b5\u4f1a\u5f71\u54cd\u3002<br \/>\u57fa\u672c\u4e0a CPU \u548c\u5176\u4ed6\u786c\u4ef6\u7684 IO \u5927\u90e8\u5206\u90fd\u662f\u7ecf\u8fc7\u5185\u5b58\u3002\u7f51\u7edc\u3001\u78c1\u76d8\u8fd9\u4e9b\u90fd\u662f\u901a\u8fc7\u5185\u5b58\u4e2d\u8f6c\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3936231\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : si <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5982\u679c\u4f60\u91c7\u7528\u76f4\u5199\u65b9\u5f0f\u6253\u5f00\u6587\u4ef6\uff0c\u90a3\u4e48\u5199\u6587\u4ef6\u7684\u65f6\u5019\u5c31\u4f1a\u51cf\u6162\u901f\u5ea6\uff0c\u8ba9\u4f60\u4e0d\u53ef\u80fd\u8fbe\u5230\u8d85\u8fc7\u78c1\u76d8 IO \u7684\u4e0b\u8f7d\u901f\u5ea6\u3002<br \/>\u6bd4\u5982\u4f60\u6bcf\u79d2\u5199\u5165 10 \u4e2a 1MB \u7684\u6570\u636e\uff0c\u4f46\u662f\u78c1\u76d8\u53ea\u80fd\u8dd1\u5230 5MB\/s\uff0c\u90a3\u4e48\u6bcf\u4e2a\u78c1\u76d8 write() call \u4f1a\u7528\u6389 0.2 \u79d2\uff0c\u4e5f\u5c31\u610f\u5473\u7740\u6bcf 0.2 \u79d2\u7a0b\u5e8f\u624d\u4f1a\u53bb\u4ece\u7f51\u7edc\u4e0a\u63a5\u6536\u4e0b\u4e00\u4e2a 1MB \u7684\u5305\uff0c\u4e5f\u5c31\u5bfc\u81f4\u4e0b\u8f7d\u901f\u5ea6\u4e0d\u4f1a\u8d85\u8fc7 5MB\/s \u4e86\u3002<\/p>\n<p>\u5982\u679c\u662f\u7f13\u51b2\u5199\u5165\u7684\u8bdd\uff0c\u78c1\u76d8 write()\u4f1a\u76f4\u63a5\u5199\u5165\u5185\u5b58\uff0c\u7136\u540e\u8ba9\u5185\u5b58\u7f13\u51b2\u6162\u6162\u5237\u8fdb\u786c\u76d8\u3002\u5982\u679c\u5185\u5b58\u6ee1\u4e86\uff0c\u90a3\u4e48 write()\u8981\u7b49\u5185\u5b58\u7a7a\u95f4\uff0c\u800c\u5185\u5b58\u7a7a\u95f4\u8981\u7b49\u5185\u5b58\u6570\u636e\u5237\u51fa\uff0c\u6570\u636e\u5237\u51fa\u8fd8\u662f\u8981\u7b49\u786c\u76d8\u3002\u6240\u4ee5\u6700\u7ec8\u53c8\u56de\u5230\u4e86\u6bcf\u4e2a write()\u7528\u6389 0.2 \u79d2\u7684\u72b6\u6001\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3936232\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : msg7086 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u770b\u7a0b\u5e8f\u5199\u7684\u673a\u5236\uff0c\u4e00\u822c\u4f1a\u6709\u90a3\u4e48\u4e00\u70b9\u4f1a\u5199\u5185\u5b58\u91cc\uff0c\u4f46\u57fa\u672c\u4e0a\u78c1\u76d8 io \u6ee1\u4e86\u4e0b\u8f7d\u5199\u6b64\u822c\u90fd\u4f1a\u4e0b\u964d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3936233\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sonxzjw <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5728\u4e00\u4e2a\u963b\u585e\u7684\u6a21\u578b\u4e0b \u5982\u679c\u4f60\u7684\u78c1\u76d8 IO \u65e0\u6cd5\u7ed9\u4f60\u8c03\u5ea6\u8fd9 10M\/s, \u90a3\u4e48\u76f4\u5230\u4f60\u7684\u4e0b\u8f7d\u8bf7\u6c42\u5199\u6ee1 buffer, \u4e0b\u8f7d\u5c06\u4f1a\u88ab\u78c1\u76d8 IO \u88ab\u9650\u5236\u4f4f\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3936234\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : shenlanAZ <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u662f\uff0c\u5185\u6838 buffer \u672a\u53ca\u65f6\u843d\u76d8\u4f1a\u963b\u585e\u5bfc\u81f4 tcp \u4e22\u5305-&gt;\u91cd\u4f20                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3936235\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : SmiteChow <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             buffer \u4f1a\u6ee1                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3936236\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kuro1 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u770b\u4f60\u7684\u4e0b\u8f7d\u8f6f\u4ef6\u6e90\u4ee3\u7801                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u539f\u6765\u53bb\u4e0b\u8f7d\u4e00\u4e2a\u8d44\u6e90\u7684\u901f\u5ea6\u662f 1&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/179991"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=179991"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/179991\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=179991"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=179991"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=179991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}