{"id":13193,"date":"2026-01-28T10:28:54","date_gmt":"2026-01-28T02:28:54","guid":{"rendered":"https:\/\/www.gbase8.cn\/?p=13193"},"modified":"2026-01-28T10:28:57","modified_gmt":"2026-01-28T02:28:57","slug":"gbase-8a%e9%9b%86%e7%be%a4%e8%bf%90%e7%bb%b4%ef%bc%8c%e7%bd%91%e5%8d%a1rxtx%e9%85%8d%e7%bd%ae%e5%8f%82%e6%95%b0%e9%97%ae%e9%a2%98%ef%bc%8c%e5%af%bc%e8%87%b4%e6%80%a7%e8%83%bd%e5%81%b6%e5%8f%91","status":"publish","type":"post","link":"https:\/\/www.gbase8.cn\/en\/13193","title":{"rendered":"GBase 8a\u96c6\u7fa4\u8fd0\u7ef4\uff0c\u7f51\u5361rx,tx\u914d\u7f6e\u53c2\u6570\u95ee\u9898\uff0c\u5bfc\u81f4\u6027\u80fd\u5076\u53d1\u7f13\u6162"},"content":{"rendered":"<p>GBase 8a\u662fMPP\u67b6\u6784\uff0c\u4e00\u4e9bSQL\u8981\u5728\u591a\u4e2a\u8282\u70b9\u95f4\u4e92\u76f8\u4f20\u8f93\u5927\u91cf\u6570\u636e\uff0c\u5982\u679c\u7f51\u5361\u914d\u7f6erxt\u548ctx\u53c2\u6570\u4e0d\u9002\u5408\uff0c\u4f1a\u5bfc\u81f4\u4e22\u5305dropped\uff0c\u4ece\u800c\u51fa\u73b0\u76f8\u540c\u7684SQL\u6027\u80fd\u5ffd\u7136\u4e0b\u964d\u7684\u73b0\u8c61\u3002\u672c\u6587\u7ed9\u51fa\u6b64\u95ee\u9898\u7684\u5177\u4f53\u73b0\u8c61\uff0c\u539f\u56e0\u548c\u89e3\u51b3\u65b9\u6cd5\u3002<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Directory Navigation<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a2c45558f556\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a2c45558f556\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.gbase8.cn\/en\/13193\/#%E7%8E%B0%E8%B1%A1\" >Phenomenon<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.gbase8.cn\/en\/13193\/#%E6%8E%92%E6%9F%A5\" >Troubleshoot<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.gbase8.cn\/en\/13193\/#%E6%89%BE%E5%88%B0%E6%80%A7%E8%83%BD%E5%BD%B1%E5%93%8D%E7%9A%84%E8%8A%82%E7%82%B9\" >\u627e\u5230\u6027\u80fd\u5f71\u54cd\u7684\u8282\u70b9<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.gbase8.cn\/en\/13193\/#%E6%9F%A5%E7%9C%8B%E8%8A%82%E7%82%B9%E7%BD%91%E5%8D%A1%E4%BF%A1%E6%81%AF\" >\u67e5\u770b\u8282\u70b9\u7f51\u5361\u4fe1\u606f<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.gbase8.cn\/en\/13193\/#RX_errors\" >RX errors<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.gbase8.cn\/en\/13193\/#%E6%9F%A5%E7%9C%8B%E7%BD%91%E5%8D%A1Rx%EF%BC%8CTx%E4%BF%A1%E6%81%AF\" >\u67e5\u770b\u7f51\u5361Rx\uff0cTx\u4fe1\u606f<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.gbase8.cn\/en\/13193\/#%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88\" >Solution<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.gbase8.cn\/en\/13193\/#%E6%80%BB%E7%BB%93\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E7%8E%B0%E8%B1%A1\"><\/span>Phenomenon<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u76f8\u540c\u7684\u4e1a\u52a1SQL\uff0c\u5076\u53d1\u6027\u80fd\u65ad\u5d16\u5f0f\u4e0b\u964d\uff0c\u6bd4\u5982\u5e73\u65f610\u79d2\uff0c\u5076\u53d1\u80fd\u5230100\u79d2\uff0c200\u79d2\u4ee5\u4e0a\uff0c\u6709\u660e\u663e\u7684\u6296\u52a8\u3002\u800c\u4e14\u53d1\u751f\u95ee\u9898\u65f6\uff0c\u8fd9\u4e00\u6279SQL\u90fd\u6709\u5f71\u54cd\u3002\u5927\u90e8\u5206\u60c5\u51b5\u4e0b\uff0c\u95ee\u9898\u4f1a\u81ea\u52a8\u73af\u5883\u5e76\u6062\u590d\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%8E%92%E6%9F%A5\"><\/span>Troubleshoot<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%89%BE%E5%88%B0%E6%80%A7%E8%83%BD%E5%BD%B1%E5%93%8D%E7%9A%84%E8%8A%82%E7%82%B9\"><\/span>\u627e\u5230\u6027\u80fd\u5f71\u54cd\u7684\u8282\u70b9<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u6839\u636e\u6728\u6876\u6548\u5e94\uff0c\u5927\u90e8\u5206\u60c5\u51b5\u90fd\u662f1\u4e2a\u8282\u70b9(\u4e5f\u6709\u591a\u4e2a\u7684)\u6027\u80fd\u4e0b\u964d\uff0c\u5bfc\u81f4\u6574\u4f53\u6027\u80fd\u4e0b\u964d\u3002\u901a\u8fc7\u67e5\u770b\u6162SQL\u51fa\u73b0\u5728\u54ea\u4e2a\u6216\u8005\u54ea\u4e9b\u8282\u70b9\uff0c\u5b9a\u4f4d\u8981\u6392\u67e5\u7684\u76ee\u6807\u3002<\/p>\n\n\n\n<p>\u6392\u67e5\u53ef\u4ee5\u7528\u5982\u4e0bSQL<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>SELECT NODE_NAME, ID, user, host, command, start_time, time, state, SUBSTRING(info, 0, 100) AS info FROM information_schema.GNODES_TASK_INFORMATION where command=&#x27;query&#x27; and info is not null and info is not like &#x27;%information_schema.processlist%&#x27; order by time desc limit 10;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%9F%A5%E7%9C%8B%E8%8A%82%E7%82%B9%E7%BD%91%E5%8D%A1%E4%BF%A1%E6%81%AF\"><\/span>\u67e5\u770b\u8282\u70b9\u7f51\u5361\u4fe1\u606f<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u901a\u8fc7\u5982\u4e0b\u547d\u4ee4\uff0c\u67e5\u770b\u670d\u52a1\u7684eth0\u7f51\u5361\u4fe1\u606f\u3002\u7f51\u5361\u4e0d\u540c\uff0c\u53c2\u6570\u66ff\u6362\u4e0b<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>ifconfig -a eth0<\/code><\/pre>\n\n\n\n<p>\u4e3b\u8981\u67e5\u770btx\u548ctx\u6570\u636e\u5305\u5185\u5bb9\uff0c\u6b63\u5e38\u7684\u5982\u4e0b<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>&#91;gbase@vm161 ~]$ ifconfig -a enp0s3\r\nenp0s3: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\r\n        inet 10.0.2.161  netmask 255.255.255.0  broadcast 10.0.2.255\r\n        inet6 fe80::a00:27ff:fe70:4bfc  prefixlen 64  scopeid 0x20&lt;link>\r\n        ether 08:00:27:70:4b:fc  txqueuelen 1000  (Ethernet)\r\n        RX packets 229083  bytes 328000550 (312.8 MiB)\r\n        RX errors 0  dropped 0  overruns 0  frame 0\r\n        TX packets 35066  bytes 2680368 (2.5 MiB)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n<\/code><\/pre>\n\n\n\n<p>\u6709\u6545\u969c\u7684\u7f51\u5361\u4fe1\u606f\u5982\u4e0b\uff0c\u5176\u4e2ddropped\u7684\u6570\u91cf\uff0c\u4e00\u76f4\u5728\u7f13\u6162\u7684\u4e0d\u5b9a\u671f\u589e\u957f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"697\" height=\"148\" src=\"https:\/\/www.gbase8.cn\/wp-content\/uploads\/2026\/01\/image.png\" alt=\"\" class=\"wp-image-13195\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"RX_errors\"><\/span>RX errors<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>\u63a5\u6536\u603b\u9519\u8bef\u6570\u3002\u5305\u542b <code>dropped<\/code> <code>overruns<\/code> <code>frame<\/code> \u7b49\u7ec6\u5206\u9519\u8bef\u7c7b\u578b\u7684\u8ba1\u6570<\/p>\n\n\n\n<p><strong>dropped\uff1a\u63a5\u6536\u6570\u636e\u5305\u4e22\u5f03\u6570<\/strong><\/p>\n\n\n\n<p>\u7f51\u5361\u6210\u529f\u63a5\u6536\u5230\u6570\u636e\u5305\uff0c\u4f46<strong>\u56e0\u7cfb\u7edf\u5c42\u9762\u8d44\u6e90\u4e0d\u8db3<\/strong>\uff0c\u65e0\u6cd5\u5c06\u6570\u636e\u5305\u4f20\u9012\u7ed9\u4e0a\u5c42\u534f\u8bae\u6808\uff08\u5982 TCP\/IP\uff09\u800c\u4e22\u5f03\u7684\u6570\u91cf\u3002<\/p>\n\n\n\n<p><strong>overruns\uff1a\u63a5\u6536\u7f13\u51b2\u533a\u6ea2\u51fa\u6570<\/strong><\/p>\n\n\n\n<p>\u7f51\u5361<strong>\u786c\u4ef6\u63a5\u6536\u7f13\u51b2\u533a\uff08Ring Buffer\uff09\u6ea2\u51fa<\/strong>\u5bfc\u81f4\u7684\u6570\u636e\u5305\u4e22\u5f03\u6570\uff0c\u5c5e\u4e8e<strong>\u786c\u4ef6\u5c42\u9762\u7684\u6ea2\u51fa\u9519\u8bef<\/strong>\uff0c\u548c <code>dropped<\/code> \u7684 \u201c\u7cfb\u7edf\u7f13\u51b2\u533a\u6ea2\u51fa\u201d \u662f\u4e0d\u540c\u5c42\u9762\u7684\u95ee\u9898\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%9F%A5%E7%9C%8B%E7%BD%91%E5%8D%A1Rx%EF%BC%8CTx%E4%BF%A1%E6%81%AF\"><\/span>\u67e5\u770b\u7f51\u5361Rx\uff0cTx\u4fe1\u606f<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u901a\u8fc7\u5982\u4e0b\u547d\u4ee4\uff0c\u67e5\u770bTX\u548cRX\u4fe1\u606f<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>&#91;root@vm161 ~]#  ethtool -g enp0s3\r\nRing parameters for enp0s3:\r\nPre-set maximums:\r\nRX:                     4096\r\nRX Mini:                n\/a\r\nRX Jumbo:               n\/a\r\nTX:                     4096\r\nTX push buff len:       n\/a\r\nCurrent hardware settings:\r\nRX:                     256\r\nRX Mini:                n\/a\r\nRX Jumbo:               n\/a\r\nTX:                     256\r\nRX Buf Len:             n\/a\r\nCQE Size:               n\/a\r\nTX Push:                n\/a\r\nRX Push:                n\/a\r\nTX push buff len:       n\/a\r\nTCP data split:         n\/a\r\n<\/code><\/pre>\n\n\n\n<p>\u5176\u4e2dRX\u914d\u7f6e\u7684\u662f256\uff0c\u592a\u5c0f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88\"><\/span>Solution<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u4fee\u6539\u7f51\u5361\u7684Rx\u548ctx\u5927\u5c0f\u3002\u5176\u4e2d\u53c2\u6570rx\u548ctx\u5206\u522b\u4fee\u6539\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>&#91;root@vm161 ~]#  ethtool -G enp0s3 rx 4096 tx 4096\r\n&#91;root@vm161 ~]#  ethtool -g enp0s3\r\nRing parameters for enp0s3:\r\nPre-set maximums:\r\nRX:                     4096\r\nRX Mini:                n\/a\r\nRX Jumbo:               n\/a\r\nTX:                     4096\r\nTX push buff len:       n\/a\r\nCurrent hardware settings:\r\nRX:                     4096\r\nRX Mini:                n\/a\r\nRX Jumbo:               n\/a\r\nTX:                     4096\r\nRX Buf Len:             n\/a\r\nCQE Size:               n\/a\r\nTX Push:                n\/a\r\nRX Push:                n\/a\r\nTX push buff len:       n\/a\r\nTCP data split:         n\/a\r\n&#91;root@vm161 ~]#<\/code><\/pre>\n\n\n\n<p>\u4fee\u6539\u540e\uff0c\u518d\u6b21\u89c2\u5bdf\u7f51\u5361dropped,\u53d1\u73b0\u6ca1\u6709\u518d\u589e\u52a0\u3002\u540e\u7eed\u89c2\u5bdf\u51e0\u5929\uff0c\u4e00\u76f4\u6b63\u5e38\uff0c\u6027\u80fd\u4e5f\u6062\u590d\u5230\u7a33\u5b9a\u72b6\u6001\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%80%BB%E7%BB%93\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u7f51\u5361RX\u548cTX\u53c2\u6570\u914d\u7f6e\u4e0d\u5f53\uff0c\u5bfc\u81f4\u5728\u5927\u6570\u636e\u91cf\u4f20\u8f93\u4e0b\u51fa\u73b0\u4e22\u5305\uff0c\u9020\u6210\u6027\u80fd\u4e0b\u964d\u3002\u901a\u8fc7\u8c03\u6574\u53c2\u6570\uff0c\u89e3\u51b3\u4e86\u8fd9\u4e2a\u95ee\u9898\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>GBase 8a\u662fMPP\u67b6\u6784\uff0c\u4e00\u4e9bSQL\u8981\u5728\u591a\u4e2a\u8282\u70b9\u95f4\u4e92\u76f8\u4f20\u8f93\u5927\u91cf\u6570\u636e\uff0c\u5982\u679c\u7f51\u5361\u914d\u7f6erxt\u548ctx\u53c2\u6570\u4e0d\u9002\u5408\uff0c\u4f1a\u5bfc\u81f4\u4e22\u5305dropped\uff0c\u4ece\u800c\u51fa\u73b0\u76f8\u540c\u7684SQL\u6027\u80fd\u5ffd\u7136\u4e0b\u964d\u7684\u73b0\u8c61\u3002\u672c\u6587\u7ed9\u51fa\u6b64\u95ee\u9898\u7684\u5177\u4f53\u73b0\u8c61\uff0c\u539f\u56e0\u548c\u89e3\u51b3\u65b9\u6cd5\u3002<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[108],"tags":[],"class_list":["post-13193","post","type-post","status-publish","format-standard","hentry","category-gbase8a"],"_links":{"self":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/13193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/comments?post=13193"}],"version-history":[{"count":3,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/13193\/revisions"}],"predecessor-version":[{"id":13198,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/13193\/revisions\/13198"}],"wp:attachment":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/media?parent=13193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/categories?post=13193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/tags?post=13193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}