{"id":1783,"date":"2024-10-16T19:17:43","date_gmt":"2024-10-16T11:17:43","guid":{"rendered":"https:\/\/blog.dynox.cn\/?p=1783"},"modified":"2026-10-16T19:32:44","modified_gmt":"2026-10-16T11:32:44","slug":"%e9%80%9a%e7%94%a8%e5%8f%af%e6%89%a9%e5%b1%95%e6%80%a7%e5%ae%9a%e5%be%8b-usl","status":"publish","type":"post","link":"https:\/\/blog.dynox.cn\/?p=1783","title":{"rendered":"\u901a\u7528\u53ef\u6269\u5c55\u6027\u5b9a\u5f8b\/USL"},"content":{"rendered":"<div class=\"gruber-markdown\"><p style=\"font-weight: 400;\">\u6570\u636e\u62df\u5408\u5904\u7406\u65f6\u8981\u7279\u522b\u6ce8\u610f\u5916\u63a8\uff08Extrapolation\uff09\u7684\u95ee\u9898\uff0c\u56e0\u4e3a\u5916\u63a8\u6781\u6613\u53ef\u80fd\u5bfc\u81f4\u65e0\u610f\u4e49\u7684\u6570\u636e\uff0c\u7136\u540e\u5728\u5b9e\u9645\u60c5\u51b5\u4e2d\u6211\u4eec\u6700\u9700\u8981\u7684\u6b63\u662f\u901a\u8fc7\u5916\u63a8\u6765\u8fdb\u884c\u8d8b\u52bf\u9884\u6d4b\u3002\u600e\u4e48\u8bc4\u4ef7\u5916\u63a8\u6570\u636e\u7684\u5408\u7406\u6027\u95ee\u9898\u5728\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u4e2d\u4e5f\u6709\u4e0d\u540c\u7684\u89e3\u51b3\u529e\u6cd5\uff0c\u5047\u8bbe\u68c0\u9a8c\u7ed9\u6211\u4eec\u63d0\u4f9b\u4e86\u65b0\u7684\u601d\u8def\uff0c\u8fd9\u91cc\u5c31\u4ee5\u53ef\u6269\u5c55\u6027\u7b97\u6cd5\u7684\u5e76\u53d1\u6027\u80fd\u7684\u95ee\u9898\u4e3a\u4f8b\u6765\u8bf4\u660e\u3002<\/p>\n<p style=\"font-weight: 400;\">\u968f\u7740\u8ba1\u7b97\u673aCPU \u00a0\u6027\u80fd\u5411\u4e0a\u6269\u5c55\uff08scale up\uff09\u9010\u6e10\u9047\u5230\u74f6\u9888\u95ee\u9898\uff0c\u4e00\u573a\u6a2a\u5411\u6269\u5c55\uff08scale out\uff09\u7684\u7ade\u8d5b\u6b63\u5728\u52a0\u901f\uff0c\u786c\u4ef6\u7684\u6a2a\u5411\u53d1\u5c55\u540c\u65f6\u4e5f\u7ed9\u8f6f\u4ef6\u5e26\u6765\u4e86\u5de8\u5927\u7684\u53ef\u6269\u5c55\u6027\u6311\u6218\uff0c\u7279\u522b\u662f\u64cd\u4f5c\u7cfb\u7edf\u5c42\u9762\u4e0a\u7684\u6027\u80fd\u74f6\u9888\u95ee\u9898\u8d8a\u6765\u8d8a\u660e\u663e\u3002\u6269\u5c55\u6027\u7684\u4f18\u52a3\u76f4\u63a5\u51b3\u5b9a\u4e86\u5927\u89c4\u6a21\u4e91\u670d\u52a1\u5668\u7cfb\u7edf\u7684\u6574\u4f53\u6548\u80fd\uff0c\u5bf9\u4e8e\u767e\u4e07\u6570\u91cf\u7ea7\u7684\u8ba1\u7b97\u4e2d\u4e60\u800c\u8a00\uff0c\u54ea\u6015\u662f\u8f83\u5c0f\u7684\u6548\u80fd\u63d0\u5347\u90fd\u4ee3\u8868\u7740\u5de8\u5927\u7684\u7ecf\u6d4e\u5229\u76ca\u3002\u4e0b\u56fe\u4e3a\u4f7f\u7528objpool\u65b0\u65b9\u6848\u66ff\u4ee3\u539f\u6765\u7684freelist\u5b9e\u73b0\u4ee5\u89e3\u51b3\u6269\u5c55\u6027\u6027\u80fd\u95ee\u9898\u7684\u5b9e\u4f8b\u3002\u4ece\u56fe\u4e2d\u53ef\u770b\u51fa\u00a0freelist\u65b9\u6848\u7684\u6027\u80fd\u6570\u636e\u5e76\u6ca1\u6709\u968f\u7740\u7ebf\u7a0b\u6570\u7684\u589e\u52a0\u800c\u5feb\u901f\u589e\u52a0\uff0c\u800cobjpool\u65b9\u6848\u8981\u8fdc\u8fdc\u597d\u4e8e\u539f\u6765\u7684freelist\u65b9\u6848\u3002<\/p>\n<p style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"UntitledImage.png\" src=\"https:\/\/blog.dynox.cn\/wp-content\/uploads\/2026\/10\/UntitledImage.png\" alt=\"\" width=\"547\" height=\"359\" border=\"0\"><\/p>\n<p style=\"font-weight: 400;\">\u9488\u5bf9\u6b64\u7c7b\u5e76\u884c\u7b97\u6cd5\u7684\u8bc4\u4f30\u4e00\u822c\u4f7f\u7528<strong>\u901a\u7528\u53ef\u6269\u5c55\u6027\u5b9a\u5f8b\/<\/strong><strong>USL<\/strong>\uff08Universal Scalability Law\uff09\uff0c\u7531Dr. Neil Gunther\u57281993 \u5e74CMG \u4f1a\u8bae\u4e2d\u6240\u63d0\u51fa\uff0c\u6b64\u5b9a\u5f8b\u662f\u5728\u963f\u59c6\u8fbe\u5c14\u5b9a\u5f8b\uff08Amdahl\u2018s Law\uff09\u7684\u57fa\u7840\u4e4b\u4e0a\u589e\u52a0\u4e86\u4e00\u4e2a\u901a\u8baf\u6216\u4e00\u81f4\u6027\u7684\u635f\u8017\u56e0\u5b50\uff0c\u672c\u8d28\u4e0a\u662f\u4e00\u4e2a\u4e00\u5143\u4e8c\u6b21\u65b9\u7a0b\u7684\u62df\u5408\u5904\u7406\u3002<\/p>\n<p style=\"font-weight: 400;\">\u5b9e\u6d4b\u73af\u5883\u7684\u786c\u4ef6\u7ebf\u7a0b\u7684\u4e0a\u9650\u4e3a128\uff0c\u6211\u4eec\u65e0\u6cd5\u76f4\u63a5\u6d4b\u7b97144\u7ebf\u7a0b\u7684\u5b9e\u9645\u6570\u636e\uff0c\u800c\u672a\u6765\u5f88\u53ef\u80fd\u8981\u6269\u5c55\u5230144\/256\u751a\u81f3\u66f4\u591a\u7ebf\u7a0b\u7684\u7cfb\u7edf\u4e0a\uff0c\u6b64\u60c5\u51b5\u4e0b\u6211\u4eec\u53ea\u80fd\u901a\u8fc7\u8ba1\u7b97\u624b\u6bb5\u8fdb\u884c \u9884\u6d4b\u4e0e\u8bc4\u4f30\u3002\u4e0b\u56fe\u4e2d\u6a58\u7ea2\u8272\u70b9\u5373\u4e3a\u5916\u63a8\u9884\u6d4b\u51fa\u7684144\u7ebf\u7a0b\u5e76\u53d1\u7684\u6027\u80fd\u6570\u503c\u3002\u4e00\u822c\u60c5\u51b5\u4e0b\u6211\u4eec\u76f4\u63a5\u4f7f\u7528USL\u5b9a\u5f8b\u7684\u7ed3\u8bba\uff0c\u800c\u73b0\u5728\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u672c\u6b21\u8bfe\u5802\u4e0a\u6240\u5b66\u5230\u7684\u5047\u8bbe\u68c0\u9a8c\u624b\u6bb5\u505a\u8fdb\u4e00\u6b65\u7684\u9a8c\u8bc1\u3002<\/p>\n<p style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"UntitledImage.png\" src=\"https:\/\/blog.dynox.cn\/wp-content\/uploads\/2026\/10\/UntitledImage-1.png\" alt=\"\" width=\"583\" height=\"357\" border=\"0\"><\/p>\n<p style=\"font-weight: 400;\">\u6b64\u5904\u5c06\u91c7\u7528\u9010\u6e10\u903c\u8fd1\u7684\u65b9\u5f0f\uff0c\u5148\u6839\u636e\u524d6\u7ec4\u6570\u636e\u63a8\u7b97\u51fa\u7b2c7\u7ec4\u7684\u6570\u636e\uff0c\u5e76\u8ba1\u7b97\u9884\u6d4b\u6570\u636e\u4e0e\u5b9e\u6d4b\u6570\u636e\u7684\u5dee\u5f02\u7387\uff0c\u7136\u540e\u9010\u6b65\u5411\u540e\u63a8\u8fdb\u76f4\u5230\u6700\u540e\u4e00\u7ec4\u3002\u4e00\u822c\u7ea6\u5b9a\u5dee\u5f02\u7387\u5728-5%\u53ca\u6709\u51735%\u4e4b\u95f4\u5219\u4e3a\u53ef\u63a5\u53d7\u6570\u636e\uff0c\u6545\u6b64\u5047\u8bbe\u68c0\u9a8c\u4e3a\u53cc\u4fa7\u68c0\u9a8c\u3002\u4e0b\u56fe\u5c55\u793a\u51fa\u4e86\u9884\u6d4b\u503c\u4e0e\u5b9e\u6d4b\u503c\u7684\u5dee\u5f02\u7387\u6570\u503c\u7684\u5206\u5e03\uff0c\u4ece\u56fe\u4e2d\u53ef\u4ee5\u770b\u51fa\u5dee\u5f02\u7387\u7684\u6570\u636e\u5448\u73b0\u51fa\u6b63\u6001\u5206\u5e03\u7684\u89c4\u5f8b\uff0c\u8fd9\u4e5f\u662f\u6211\u4eec\u80fd\u4f7f\u7528\u5047\u8bbe\u68c0\u9a8c\u7684\u57fa\u7840\uff1a<\/p>\n<p style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"UntitledImage.png\" src=\"https:\/\/blog.dynox.cn\/wp-content\/uploads\/2026\/10\/UntitledImage-2.png\" alt=\"\" width=\"580\" height=\"327\" border=\"0\"><\/p>\n<p style=\"font-weight: 400;\"><strong>\u9a8c\u8bc1\u65b9\u6cd5\uff1a<\/strong><br>H0:\u00a0 \u9884\u6d4b\u503c\u4e0e\u5b9e\u6d4b\u503c\u5dee\u5f02\u7387\u8d85\u51fa5%\uff0c\u6545\u4e0d\u63a5\u53d7\u5916\u63a8\u9884\u6d4b<br>H1:\u00a0 \u9884\u6d4b\u503c\u4e0e\u5b9e\u6d4b\u503c\u5dee\u5f02\u7387\u4e0d\u8d85\u51fa5%\uff0c\u6545\u63a8\u7ffbH0\u5e76\u63a5\u53d7\u5916\u63a8\u9884\u6d4b<\/p>\n<table style=\"font-weight: 400;\">\n<tbody>\n<tr>\n<td colspan=\"4\" width=\"720\">\n<strong>\u5047\u8bbe\u68c0\u9a8c\u8ba1\u7b97<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"115\">\n<p>\u5e73\u5747\u5dee\u5f02\u7387<\/p>\n<\/td>\n<td width=\"232\">\n<p>0.02550639692225448<\/p>\n<\/td>\n<td width=\"145\">\n<p>\u6807\u51c6\u5dee<\/p>\n<\/td>\n<td width=\"228\">\n<p>0.0024513878828771635<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"115\">\n<p>\u00a0T\u503c<\/p>\n<\/td>\n<td width=\"232\">\n<p>-9.99172886870832<\/p>\n<\/td>\n<td width=\"145\">\n<p>Prob(u &gt; 5%)<\/p>\n<\/td>\n<td width=\"228\">\n<p>1.0559846975389721e-19<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"font-weight: 400;\"><strong>\u00a0<\/strong><\/p>\n<p style=\"font-weight: 400;\"><strong>\u7ed3\u8bba\uff1a<\/strong>\u63a8\u7ffb\u539f\u5047\u8bbeH0\uff0c\u63a5\u53d7H1\uff0c\u5373\u5916\u63a8\u9884\u6d4b\u503c\u7b26\u5408\u9884\u671f\uff0c\u4f7f\u7528USL\u6cd5\u5219\u5916\u63a8\u4e00\u7ec4\u8fdb\u884c\u9884\u6d4b\u7684\u53ef\u4fe1\u5ea6\u975e\u5e38\u9ad8\u3002\u53e6\u5916\u5bf9\u4e8e\u5f88\u96be\u5b9e\u6d4b\u6216\u6570\u636e\u91cf\u8d85\u5c11\u7684\u60c5\u51b5\u8f83\u5e38\u7528\u7684\u529e\u6cd5\u662f\u901a\u8fc7\u6784\u5efa\u6a21\u62df\u7cfb\u7edf\u6765\u63a8\u6d4b\u6b64\u7cfb\u7edf\u7684\u53d1\u5c55\u8d8b\u52bf\uff0c\u800c\u5047\u8bbe\u68c0\u9a8c\u7684\u529e\u6cd5\u6240\u8fbe\u6210\u7684\u91cf\u5316\u4f50\u8bc1\u4f9d\u7136\u9002\u7528\u4e8e\u8fd9\u79cd\u6a21\u62df\u9884\u6d4b\u7684\u65b9\u5f0f\u3002<\/div>","protected":false},"excerpt":{"rendered":"<p>\u6570\u636e\u62df\u5408\u5904\u7406\u65f6\u8981\u7279\u522b\u6ce8\u610f\u5916\u63a8\uff08Extrapolation\uff09\u7684\u95ee\u9898\uff0c\u56e0\u4e3a\u5916\u63a8\u6781\u6613\u53ef\u80fd\u5bfc\u81f4\u65e0\u610f\u4e49\u7684\u6570\u636e\uff0c\u7136\u540e\u5728\u5b9e\u9645 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[9],"tags":[684,682,683],"views":3,"_links":{"self":[{"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=\/wp\/v2\/posts\/1783"}],"collection":[{"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1783"}],"version-history":[{"count":2,"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=\/wp\/v2\/posts\/1783\/revisions"}],"predecessor-version":[{"id":1788,"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=\/wp\/v2\/posts\/1783\/revisions\/1788"}],"wp:attachment":[{"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}