{"id":3093,"date":"2020-05-03T23:03:20","date_gmt":"2020-05-03T15:03:20","guid":{"rendered":"https:\/\/www.aoisnow.net\/blog\/?p=3093"},"modified":"2020-05-03T23:03:20","modified_gmt":"2020-05-03T15:03:20","slug":"tont-35653-%e5%be%ae%e8%bd%af%e7%9a%84%e4%bc%81%e4%b8%9a%e7%bd%91%e7%bb%9c%ef%bc%9a%e6%af%94%e3%80%8e%e5%9c%b0%e7%8b%b1%e3%80%8f%e8%bf%98%e8%a6%81%e6%81%90%e6%80%961-7%e5%80%8d","status":"publish","type":"post","link":"https:\/\/www.aoisnow.net\/blog\/archives\/3093","title":{"rendered":"TONT 35653 \u5fae\u8f6f\u7684\u4f01\u4e1a\u7f51\u7edc\uff1a\u6bd4\u300e\u5730\u72f1\u300f\u8fd8\u8981\u6050\u60161.7\u500d"},"content":{"rendered":"<p>\u539f\u6587\u94fe\u63a5\uff1a<a href=\"https:\/\/devblogs.microsoft.com\/oldnewthing\/20050512-48\/?p=35653\" target=\"_blank\" rel=\"noopener\">https:\/\/devblogs.microsoft.com\/oldnewthing\/20050512-48\/?p=35653<\/a><\/p>\n<p>Today I\u2019m going to tell a story from 1996. Why? Because I can.<\/p>\n<p>\u8fd9\u56de\u6211\u8981\u8bb2\u4e00\u4e2a1996\u5e74\u7684\u6545\u4e8b\u3002\u4e3a\u4ec0\u4e48\u5462\uff1f\u56e0\u4e3a\u6211\u60f3\u8fd9\u4e48\u505a\u3002<\/p>\n<p>One of the tests performed by Windows Hardware Quality Labs (WHQL) was the NCT packet stress test which had the nickname \u201cHell\u201d. The purpose of the test was to flood a network card with an insane number of packets, in order to see how it handled extreme conditions. It uncovered packet-dropping bugs, timing problems, all sorts of great stuff. Network card vendors used it to determine what size internal hardware buffers should be in order to cover \u201call reasonable network traffic scenarios\u201d.<\/p>\n<p>Windows\u786c\u4ef6\u8bbe\u5907\u8d28\u91cf\u5b9e\u9a8c\u5ba4\uff08WHQL\uff09\u65e5\u5e38\u8fdb\u884c\u7684\u5176\u4e2d\u4e00\u9879\u6d4b\u8bd5\u662fNCT\u6570\u636e\u5305\u538b\u529b\u6d4b\u8bd5\uff08\u8bd1\u6ce8\uff1a\u6ca1\u6709\u627e\u5230NCT\u5177\u4f53\u6307\u4ec0\u4e48\uff0c\u54ea\u4f4d\u670b\u53cb\u4e86\u89e3\u8bf7\u8d50\u6559\uff09\uff0c\u800c\u8fd9\u9879\u6d4b\u8bd5\u88ab\u51a0\u4e86\u4e2a\u6635\u79f0\u53eb\u300e\u5730\u72f1\u300f\uff08Hell\uff09\u3002\u8fd9\u9879\u6d4b\u8bd5\u7684\u76ee\u7684\u662f\u8ba9\u4e00\u5757\u7f51\u5361\u53bb\u5904\u7406\u6570\u91cf\u591a\u5230\u75af\u72c2\u7684\u6570\u636e\u5305\uff0c\u4ee5\u9a8c\u8bc1\u5176\u5728\u6781\u9650\u6761\u4ef6\u4e0b\u7684\u8868\u73b0\uff0c\u800c\u8fd9\u9879\u6d4b\u8bd5\u53ef\u4ee5\u63ed\u9732\u51fa\u8fd9\u5757\u7f51\u5361\u7684\u6389\u5305bug\u3001\u65f6\u5e8f\u95ee\u9898\u7b49\u5404\u79cd\u5404\u6837\u7684\u6bdb\u75c5\u3002\u7f51\u5361\u4f9b\u5e94\u5546\u901a\u8fc7\u8fd9\u9879\u6d4b\u8bd5\u7684\u7ed3\u679c\u6765\u5224\u5b9a\u4ed6\u4eec\u7684\u4ea7\u54c1\u786c\u4ef6\u7f13\u51b2\u533a\u7684\u5927\u5c0f\uff0c\u4ee5\u4fbf\u5e94\u5bf9\u300e\u6240\u6709\u5408\u4e4e\u5e38\u7406\u7684\u7f51\u7edc\u6d41\u91cf\u573a\u666f\u300f\u3002<\/p>\n<p>It so happened that at the time this test had currency (1996 era), the traffic on the Microsoft corporate network was approximately 1.7 times worse than the NCT packet stress test. A card could pass the Hell test with flying colors, yet drop 90% of its packets when installed on a computer at Microsoft because the card simply couldn\u2019t keep up with the traffic.<\/p>\n<p>\u5de7\u5408\u7684\u662f\uff0c\u5f53\u5e74\u8fd9\u9879\u6d4b\u8bd5\u8fd8\u5177\u5907\u4ef7\u503c\u65f6\uff081996\u5e74\u90a3\u65f6\u5019\uff09\uff0c\u8fd0\u884c\u5728\u5fae\u8f6f\u7684\u4f01\u4e1a\u7f51\u7edc\u4e0a\u7684\u6d41\u91cf\u5b9e\u9645\u4e0a\u5927\u7ea6\u662fNCT\u6570\u636e\u5305\u538b\u529b\u6d4b\u8bd5\u76841.7\u500d\u4e4b\u591a\u3002\u67d0\u5757\u7f51\u5361\u53ef\u80fd\u80fd\u5728\u300eHell\u300f\u6d4b\u8bd5\u4e2d\u83b7\u5f97\u6f02\u4eae\u7684\u5206\u6570\uff0c\u4f46\u5c06\u5176\u5b89\u88c5\u5728\u5fae\u8f6f\u5185\u90e8\u7684\u673a\u5668\u4e0a\u7684\u65f6\u5019\u4ecd\u7136\u4f1a\u670990%\u7684\u4e22\u5305\u7387\uff0c\u4ec5\u4ec5\u662f\u56e0\u4e3a\u8fd9\u5757\u7f51\u5361\u5b9e\u5728\u627f\u53d7\u4e0d\u4f4f\u90a3\u4e48\u5927\u7684\u6d41\u91cf\u3002<\/p>\n<p>The open secret among network card vendors was, \u201cIf you want your card to work with Windows, submit one card to WHQL and send another to a developer on the Windows team.\u201d<\/p>\n<p>\u7f51\u5361\u4f9b\u5e94\u5546\u4e4b\u95f4\u7684\u4e00\u4e2a\u516c\u5f00\u7684\u79d8\u5bc6\u662f\uff1a\u300e\u5982\u679c\u4f60\u60f3\u8ba9\u81ea\u5df1\u7684\u4ea7\u54c1\u80fd\u5728 Windows \u4e0a\u8fd0\u884c\uff0c\u90a3\u5c31\u5728\u5411 WHQL \u63d0\u4ea4\u6837\u54c1\u7684\u540c\u65f6\u4e5f\u7ed9 Windows \u5f00\u53d1\u7ec4\u7684\u5de5\u7a0b\u5e08\u4e5f\u9001\u4e00\u5757\u3002\u300f<\/p>\n<p>(This rule applied to hardware other than network cards. I was \u201cgifted\u201d a sound card from a major manufacturer and installed it on my main machine. It wasn\u2019t long before I found and fixed a crashing bug in their driver.)<\/p>\n<p>\uff08\u8fd9\u6761\u89c4\u77e9\u5728\u7f51\u5361\u4e4b\u5916\u7684\u786c\u4ef6\u4e0a\u4e5f\u9002\u7528\u3002\u6211\u5c31\u66fe\u7ecf\u88ab\u300e\u8d60\u4e88\u300f\u4e86\u4e00\u5757\u67d0\u5927\u5382\u7684\u58f0\u5361\uff0c\u4e8e\u662f\u5c31\u5c06\u5176\u88c5\u5728\u4e86\u6211\u7684\u673a\u5668\u4e0a\u3002\u6ca1\u8fc7\u591a\u4e45\uff0c\u6211\u5c31\u53d1\u73b0\u5e76\u4fee\u590d\u4e86\u8fd9\u5757\u58f0\u5361\u7684\u9a71\u52a8\u91cc\u4e00\u4e2a\u4f1a\u5bfc\u81f4\u5d29\u6e83\u7684bug\u3002\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u539f\u6587\u94fe\u63a5\uff1ahttps:\/\/devblogs.microsoft.com\/oldnewthing\/2005051 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-3093","post","type-post","status-publish","format-standard","hentry","category-tont_history"],"_links":{"self":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/posts\/3093","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/comments?post=3093"}],"version-history":[{"count":0,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/posts\/3093\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/media?parent=3093"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/categories?post=3093"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/tags?post=3093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}