{"id":222616,"date":"2021-07-27T08:13:52","date_gmt":"2021-07-27T00:13:52","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=222616"},"modified":"2021-07-19T09:15:49","modified_gmt":"2021-07-19T01:15:49","slug":"cpu-catch","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/cpu-catch.html","title":{"rendered":"\u7cfb\u7edf\u6027\u80fd\u8c03\u4f18\uff1a\u63d0\u5347 CPU \u7f13\u5b58\u7684\u547d\u4e2d\u7387"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5982\u679c CPU \u6240\u8981\u64cd\u4f5c\u7684\u6570\u636e\u5728\u7f13\u5b58\u4e2d\uff0c\u5219\u76f4\u63a5\u8bfb\u53d6\uff0c\u8fd9\u79f0\u4e3a\u7f13\u5b58\u547d\u4e2d\u3002\u547d\u4e2d\u7f13\u5b58\u4f1a\u5e26\u6765\u5f88\u5927\u7684\u6027\u80fd\u63d0\u5347\uff0c\u56e0\u6b64\uff0c\u6211\u4eec\u7684\u4ee3\u7801\u4f18\u5316\u76ee\u6807\u662f\u63d0\u5347 CPU \u7f13\u5b58\u7684\u547d\u4e2d\u7387\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

\u652f\u6301\u8d85\u7ebf\u7a0b\u7684numa\u67b6\u6784<\/strong><\/div>\n

\u7269\u7406\u786c\u4ef6\u89c6\u89d2\uff0c\u5c06\u591a\u4e2aCPU\u5c01\u88c5\u5728\u4e00\u8d77\uff0c\u8fd9\u4e2a\u5c01\u88c5\u88ab\u79f0\u4e3a\u63d2\u69fdSocket;Core\u662fsocket\u4e0a\u72ec\u7acb\u7684\u786c\u4ef6\u5355\u5143;\u901a\u8fc7intel\u7684\u8d85\u7ebf\u7a0bHT\u6280\u672f\u8fdb\u4e00\u6b65\u63d0\u5347CPU\u7684\u5904\u7406\u80fd\u529b\uff0cOS\u770b\u5230\u7684\u903b\u8f91\u4e0a\u7684\u6838Processor\u7684\u6570\u91cf\u3002<\/p>\n

\u6bcf\u4e2a\u786c\u4ef6\u7ebf\u7a0b\u90fd\u53ef\u4ee5\u6309\u903b\u8f91cpu\u5bfb\u5740\uff0c\u56e0\u6b64\u8fd9\u4e2a\u5904\u7406\u5668\u770b\u4e0a\u53bb\u6709\u516b\u5757cpu\u3002<\/p>\n

\"\"<\/p>\n

\u5bf9\u4e8e\u64cd\u4f5c\u7cfb\u7edf\u7684\u89c6\u89d2\uff1a<\/p>\n

    \n
  • CPU(s)\uff1a8<\/li>\n
  • NUMA node0 CPU(s)\uff1a0\uff0c4<\/li>\n
  • NUMA node1 CPU(s)\uff1a1\uff0c5<\/li>\n
  • NUMA node2 CPU(s)\uff1a2\uff0c6<\/li>\n
  • NUMA node3 CPU(s)\uff1a3\uff0c7<\/li>\n<\/ul>\n

    \"\"<\/p>\n

    L1\u7f13\u5206\u6210\u4e24\u79cd\uff0c\u4e00\u79cd\u662f\u6307\u4ee4\u7f13\u5b58\uff0c\u4e00\u79cd\u662f\u6570\u636e\u7f13\u5b58\u3002L2\u7f13\u5b58\u548cL3\u7f13\u5b58\u4e0d\u5206\u6307\u4ee4\u548c\u6570\u636e\u3002L1\u548cL2\u7f13\u5b58\u5728\u7b2c\u4e00\u4e2aCPU\u6838\u4e2d\uff0cL3\u5219\u662f\u6240\u6709CPU\u6838\u5fc3\u5171\u4eab\u7684\u5185\u5b58\u3002L1\u3001L2\u3001L3\u7684\u8d8a\u79bbCPU\u8fd1\u5c31\u8d8a\u5c0f\uff0c\u901f\u5ea6\u4e5f\u8d8a\u5feb\uff0c\u8d8a\u79bbCPU\u8fdc\uff0c\u901f\u5ea6\u4e5f\u8d8a\u6162\u3002\u518d\u5f80\u540e\u9762\u5c31\u662f\u5185\u5b58\uff0c\u5185\u5b58\u7684\u540e\u9762\u5c31\u662f\u786c\u76d8\u3002\u6211\u4eec\u6765\u770b\u4e00\u4e9b\u4ed6\u4eec\u7684\u901f\u5ea6\uff1a<\/p>\n

      \n
    • L1 \u7684\u5b58\u53d6\u901f\u5ea6\uff1a4 \u4e2aCPU\u65f6\u949f\u5468\u671f<\/li>\n
    • L2 \u7684\u5b58\u53d6\u901f\u5ea6\uff1a11 \u4e2aCPU\u65f6\u949f\u5468\u671f<\/li>\n
    • L3 \u7684\u5b58\u53d6\u901f\u5ea6\uff1a39 \u4e2aCPU\u65f6\u949f\u5468\u671f<\/li>\n
    • RAM\u5185\u5b58\u7684\u5b58\u53d6\u901f\u5ea6 \uff1a107 \u4e2aCPU\u65f6\u949f\u5468\u671f<\/li>\n<\/ul>\n

      \u5982\u679c CPU \u6240\u8981\u64cd\u4f5c\u7684\u6570\u636e\u5728\u7f13\u5b58\u4e2d\uff0c\u5219\u76f4\u63a5\u8bfb\u53d6\uff0c\u8fd9\u79f0\u4e3a\u7f13\u5b58\u547d\u4e2d\u3002\u547d\u4e2d\u7f13\u5b58\u4f1a\u5e26\u6765\u5f88\u5927\u7684\u6027\u80fd\u63d0\u5347\uff0c\u56e0\u6b64\uff0c\u6211\u4eec\u7684\u4ee3\u7801\u4f18\u5316\u76ee\u6807\u662f\u63d0\u5347 CPU \u7f13\u5b58\u7684\u547d\u4e2d\u7387\u3002<\/p>\n

      \u5728\u4e3b\u6d41\u7684\u670d\u52a1\u5668\u4e0a\uff0c\u4e00\u4e2a CPU \u5904\u7406\u5668\u4f1a\u6709 10 \u5230 20 \u591a\u4e2a\u7269\u7406\u6838\u3002\u540c\u65f6\uff0c\u4e3a\u4e86\u63d0\u5347\u670d\u52a1\u5668\u7684\u5904\u7406\u80fd\u529b\uff0c\u670d\u52a1\u5668\u4e0a\u901a\u5e38\u8fd8\u4f1a\u6709\u591a\u4e2a CPU \u5904\u7406\u5668(\u4e5f\u79f0\u4e3a\u591a CPU Socket)\uff0c\u6bcf\u4e2a\u5904\u7406\u5668\u6709\u81ea\u5df1\u7684\u7269\u7406\u6838(\u5305\u62ec L1\u3001L2 \u7f13\u5b58)\uff0cL3 \u7f13\u5b58\uff0c\u4ee5\u53ca\u8fde\u63a5\u7684\u5185\u5b58\uff0c\u540c\u65f6\uff0c\u4e0d\u540c\u5904\u7406\u5668\u95f4\u901a\u8fc7\u603b\u7ebf\u8fde\u63a5\u3002\u901a\u8fc7lscpu\u6765\u770b\uff1a<\/p>\n

      root@ubuntu:~#\u00a0lscpu\r\nArchitecture:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0x86_64\r\nCPU(s):\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a032\r\nThread(s)\u00a0per\u00a0core:\u00a0\u00a0\u00a0\u00a01\r\nCore(s)\u00a0per\u00a0socket:\u00a0\u00a0\u00a0\u00a08\r\nSocket(s):\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a04\r\nL1d\u00a0cache:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a032K\r\nL1i\u00a0cache:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a032K\r\nL2\u00a0cache:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0256K\r\nL3\u00a0cache:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a020480K\r\nNUMA\u00a0node0\u00a0CPU(s):\u00a0\u00a0\u00a0\u00a0\u00a00-7\r\nNUMA\u00a0node1\u00a0CPU(s):\u00a0\u00a0\u00a0\u00a0\u00a08-15\r\nNUMA\u00a0node2\u00a0CPU(s):\u00a0\u00a0\u00a0\u00a0\u00a016-23\r\nNUMA\u00a0node3\u00a0CPU(s):\u00a0\u00a0\u00a0\u00a0\u00a024-31<\/pre>\n

      \u4f60\u53ef\u80fd\u6ce8\u610f\u5230\uff0c\u4e09\u7ea7\u7f13\u5b58\u8981\u6bd4\u4e00\u3001\u4e8c\u7ea7\u7f13\u5b58\u5927\u8bb8\u591a\u500d\uff0c\u8fd9\u662f\u56e0\u4e3a\u5f53\u4e0b\u7684 CPU \u90fd\u662f\u591a\u6838\u5fc3\u7684\uff0c\u6bcf\u4e2a\u6838\u5fc3\u90fd\u6709\u81ea\u5df1\u7684\u4e00\u3001\u4e8c\u7ea7\u7f13\u5b58\uff0c\u4f46\u4e09\u7ea7\u7f13\u5b58\u5374\u662f\u4e00\u9897 CPU \u4e0a\u6240\u6709\u6838\u5fc3\u5171\u4eab\u7684\u3002<\/p>\n

      \u4f46\u662f\uff0c\u6709\u4e2a\u5730\u65b9\u9700\u8981\u4f60\u6ce8\u610f\u4e00\u4e0b\uff1a\u5982\u679c\u5e94\u7528\u7a0b\u5e8f\u5148\u5728\u4e00\u4e2a Socket \u4e0a\u8fd0\u884c\uff0c\u5e76\u4e14\u628a\u6570\u636e\u4fdd\u5b58\u5230\u4e86\u5185\u5b58\uff0c\u7136\u540e\u88ab\u8c03\u5ea6\u5230\u53e6\u4e00\u4e2a Socket \u4e0a\u8fd0\u884c\uff0c\u6b64\u65f6\uff0c\u5e94\u7528\u7a0b\u5e8f\u518d\u8fdb\u884c\u5185\u5b58\u8bbf\u95ee\u65f6\uff0c\u5c31\u9700\u8981\u8bbf\u95ee\u4e4b\u524d Socket \u4e0a\u8fde\u63a5\u7684\u5185\u5b58\uff0c\u8fd9\u79cd\u8bbf\u95ee\u5c5e\u4e8e\u8fdc\u7aef\u5185\u5b58\u8bbf\u95ee\u3002\u548c\u8bbf\u95ee Socket \u76f4\u63a5\u8fde\u63a5\u7684\u5185\u5b58\u76f8\u6bd4\uff0c\u8fdc\u7aef\u5185\u5b58\u8bbf\u95ee\u4f1a\u589e\u52a0\u5e94\u7528\u7a0b\u5e8f\u7684\u5ef6\u8fdf\u3002<\/p>\n

      \u5e38\u7528\u6027\u80fd\u76d1\u6d4b\u5de5\u5177<\/strong><\/div>\n

      Linux\u7cfb\u7edf\u4e0b\uff0cCPU\u4e0e\u5185\u5b58\u5b50\u7cfb\u7edf\u6027\u80fd\u8c03\u4f18\u7684\u5e38\u7528\u6027\u80fd\u76d1\u6d4b\u5de5\u5177\u6709top\u3001perf\u3001numactl\u8fd93\u4e2a\u5de5\u5177\u30021) top\u5de5\u5177 top\u5de5\u5177\u662f\u6700\u5e38\u7528\u7684Linux\u6027\u80fd\u76d1\u6d4b\u5de5\u5177\u4e4b\u4e00\u3002\u901a\u8fc7top\u5de5\u5177\u53ef\u4ee5\u76d1\u89c6\u8fdb\u7a0b\u548c\u7cfb\u7edf\u6574\u4f53\u6027\u80fd\u3002<\/p>\n

        \n
      • top \u67e5\u770b\u7cfb\u7edf\u6574\u4f53\u7684\u8d44\u6e90\u4f7f\u7528\u60c5\u51b5<\/li>\n
      • top\u540e\u8f93\u51651 \u67e5\u770b\u770b\u6bcf\u4e00\u4e2a\u903b\u8f91\u6838cpu\u7684\u8d44\u6e90\u4f7f\u7528\u60c5\u51b5<\/li>\n
      • top -p $PID -H \u67e5\u770b\u67d0\u4e2a\u8fdb\u7a0b\u5185\u6240\u6709\u68c0\u67e5\u7684CPU\u8d44\u6e90\u4f7f\u7528\u60c5\u51b5<\/li>\n
      • top\u540e\u8f93\u5165F\uff0c\u5e76\u9009\u62e9P\u9009\u9879 \u67e5\u770b\u7ebf\u7a0b\u6267\u884c\u8fc7\u7a0b\u4e2d\u662f\u5426\u8c03\u5ea6\u5230\u5176\u4ed6cpu\u4e0a\u6267\u884c\uff0c\u4e0a\u4e0b\u6587\u5207\u6362\u8fc7\u591a\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u3002<\/li>\n<\/ul>\n

        2) perf\u5de5\u5177 perf\u5de5\u5177\u662f\u975e\u5e38\u5f3a\u5927\u7684Linux\u6027\u80fd\u5206\u6790\u5de5\u5177\uff0c\u53ef\u4ee5\u901a\u8fc7\u8be5\u5de5\u5177\u83b7\u5f97\u8fdb\u7a0b\u5185\u7684\u8c03\u7528\u60c5\u51b5\u3001\u8d44\u6e90\u6d88\u8017\u60c5\u51b5\u5e76\u67e5\u627e\u5206\u6790\u70ed\u70b9\u51fd\u6570\u3002\u4ee5CentOS\u4e3a\u4f8b\uff0c\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u5b89\u88c5perf\u5de5\u5177\uff1a<\/p>\n

          \n
        • perf top \u67e5\u770b\u5360\u7528 CPU \u65f6\u949f\u6700\u591a\u7684\u51fd\u6570\u6216\u8005\u6307\u4ee4\uff0c\u56e0\u6b64\u53ef\u4ee5\u7528\u6765\u67e5\u627e\u70ed\u70b9\u51fd\u6570\u3002<\/li>\n
        • perf -g record -- sleep 1 -p $PID \u8bb0\u5f55\u8fdb\u7a0b\u57281s\u5185\u7684\u7cfb\u7edf\u8c03\u7528\u3002<\/li>\n
        • perf -g latency --sort max \u67e5\u770b\u4e0a\u4e00\u6b65\u8bb0\u5f55\u7684\u7ed3\u679c\uff0c\u4ee5\u8c03\u5ea6\u5ef6\u8fdf\u6392\u5e8f\u3002<\/li>\n
        • perf report \u67e5\u770b\u8bb0\u5f55<\/li>\n<\/ul>\n

          3) numactl\u5de5\u5177 numactl\u5de5\u5177\u53ef\u7528\u4e8e\u67e5\u770b\u5f53\u524d\u670d\u52a1\u5668\u7684NUMA\u8282\u70b9\u914d\u7f6e\u3001\u72b6\u6001\uff0c\u53ef\u901a\u8fc7\u8be5\u5de5\u5177\u5c06\u8fdb\u7a0b\u7ed1\u5b9a\u5230\u6307\u5b9aCPU\u6838\u4e0a\uff0c\u7531\u6307\u5b9aCPU\u6838\u6765\u8fd0\u884c\u5bf9\u5e94\u8fdb\u7a0b\u3002\u4ee5CentOS\u4e3a\u4f8b\uff0c\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u5b89\u88c5numactl\u5de5\u5177\uff1a<\/p>\n

            \n
          • numactl -H \u67e5\u770b\u5f53\u524d\u670d\u52a1\u5668\u7684NUMA\u914d\u7f6e\u3002<\/li>\n
          • numastat \u67e5\u770b\u5f53\u524d\u7684NUMA\u8fd0\u884c\u72b6\u6001\u3002<\/li>\n<\/ul>\n
            \u4f18\u5316\u65b9\u6cd5<\/strong><\/div>\n

            (1) NUMA\u4f18\u5316\uff0c\u51cf\u5c11\u8de8NUMA\u8bbf\u95ee\u5185\u5b58 \u4e0d\u540cNUMA\u5185\u7684CPU\u6838\u8bbf\u95ee\u540c\u4e00\u4e2a\u4f4d\u7f6e\u7684\u5185\u5b58\uff0c\u6027\u80fd\u4e0d\u540c\u3002\u5185\u5b58\u8bbf\u95ee\u5ef6\u65f6\u4ece\u9ad8\u5230\u4f4e\u4e3a\uff1a\u8de8CPU>\u8de8NUMA\uff0c\u4e0d\u8de8CPU>NUMA\u5185\u3002\u56e0\u6b64\u5728\u5e94\u7528\u7a0b\u5e8f\u8fd0\u884c\u65f6\u8981\u5c3d\u53ef\u80fd\u5730\u907f\u514d\u8de8NUMA\u8bbf\u95ee\u5185\u5b58\uff0c\u8fd9\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u7ebf\u7a0b\u7684CPU\u4eb2\u548c\u6027\u6765\u5b9e\u73b0\u3002\u5e38\u7528\u7684\u4fee\u6539\u65b9\u5f0f\u6709\u5982\u4e0b\uff1a(1)\u5c06\u8bbe\u5907\u4e2d\u65ad\u7ed1\u5b9a\u5230\u7279\u5b9aCPU\u6838\u4e0a\u3002\u53ef\u4ee5\u901a\u8fc7\u5982\u4e0b\u547d\u4ee4\u7ed1\u5b9a\uff1a<\/p>\n

            echo\u00a0$cpuNumber\u00a0>\u00a0\/proc\/irq\/$irq\/smp_affinity_list\r\n\u00a0\u4f8b\u5b50\uff1aecho\u00a00-4\u00a0>\u00a0\/proc\/irq\/78\/smp_affinity_list\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0echo\u00a03,8\u00a0>\u00a0\/proc\/irq\/78\/smp_affinity_list<\/pre>\n

            (2)\u901a\u8fc7numactl\u542f\u52a8\u7a0b\u5e8f\uff0c\u5982\u4e0b\u9762\u7684\u542f\u52a8\u547d\u4ee4\u8868\u793a\u542f\u52a8\u7a0b\u5e8f.\/mongod\uff0cmongo\u5c31\u53ea\u80fd\u5728CPU core 0\u5230core7\u8fd0\u884c(-C\u63a7\u5236)\u3002<\/p>\n

            numactl\u00a0-C\u00a00-7\u00a0.\/mongod<\/pre>\n

            (3)\u53ef\u4ee5\u4f7f\u7528 taskset \u547d\u4ee4\u628a\u4e00\u4e2a\u7a0b\u5e8f\u7ed1\u5b9a\u5728\u4e00\u4e2a\u6838\u4e0a\u8fd0\u884c\u3002<\/p>\n

            taskset\u00a0-c\u00a00\u00a0.\/redis-server<\/pre>\n

            (4)\u5728C\/C++\u4ee3\u7801\u4e2d\u901a\u8fc7sched_setaffinity\u51fd\u6570\u6765\u8bbe\u7f6e\u7ebf\u7a0b\u4eb2\u548c\u6027\u3002(5)\u5f88\u591a\u5f00\u6e90\u8f6f\u4ef6\u5df2\u7ecf\u652f\u6301\u5728\u81ea\u5e26\u7684\u914d\u7f6e\u6587\u4ef6\u4e2d\u4fee\u6539\u7ebf\u7a0b\u7684\u4eb2\u548c\u6027\uff0c\u4f8b\u5982Nginx\u53ef\u4ee5\u4fee\u6539nginx.conf\u6587\u4ef6\u4e2dworker_cpu_affinity\u53c2\u6570\u6765\u8bbe\u7f6eNginx\u7ebf\u7a0b\u4eb2\u548c\u6027\u3002<\/p>\n

            \u7ed1\u6838\u6ce8\u610f\u4e8b\u9879<\/strong><\/div>\n

            \u5728 CPU \u7684 NUMA \u67b6\u6784\u4e0b\uff0c\u5bf9 CPU \u6838\u7684\u7f16\u53f7\u89c4\u5219\uff0c\u5e76\u4e0d\u662f\u5148\u628a\u4e00\u4e2a CPU Socket \u4e2d\u7684\u6240\u6709\u903b\u8f91\u6838\u7f16\u5b8c\uff0c\u518d\u5bf9\u4e0b\u4e00\u4e2a CPU Socket \u4e2d\u7684\u903b\u8f91\u6838\u7f16\u7801\uff0c\u800c\u662f\u5148\u7ed9\u6bcf\u4e2a CPU Socket \u4e2d\u6bcf\u4e2a\u7269\u7406\u6838\u7684\u7b2c\u4e00\u4e2a\u903b\u8f91\u6838\u4f9d\u6b21\u7f16\u53f7\uff0c\u518d\u7ed9\u6bcf\u4e2a CPU Socket \u4e2d\u7684\u7269\u7406\u6838\u7684\u7b2c\u4e8c\u4e2a\u903b\u8f91\u6838\u4f9d\u6b21\u7f16\u53f7\u3002<\/p>\n

            \"\"<\/p>\n

            \u6ce8\u610f\u7684\u662f\u5728\u591a\u4e2a\u8fdb\u7a0b\u8981\u8fdb\u884c\u4eb2\u548c\u6027\u7ed1\u6838\u7684\uff0c\u4f60\u4e00\u5b9a\u8981\u6ce8\u610f NUMA \u67b6\u6784\u4e0b CPU \u6838\u7684\u7f16\u53f7\u65b9\u6cd5\uff0c\u8fd9\u6837\u624d\u4e0d\u4f1a\u7ed1\u9519\u6838\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

            \u7269\u7406\u786c\u4ef6\u89c6\u89d2\uff0c\u5c06\u591a\u4e2aCPU\u5c01\u88c5\u5728\u4e00\u8d77\uff0c\u8fd9\u4e2a\u5c01\u88c5\u88ab\u79f0\u4e3a\u63d2\u69fdSocket;Core\u662fsocket\u4e0a\u72ec\u7acb\u7684\u786c\u4ef6\u5355\u5143; […]<\/p>\n","protected":false},"author":323,"featured_media":92339,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-222616","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/222616","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/323"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=222616"}],"version-history":[{"count":4,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/222616\/revisions"}],"predecessor-version":[{"id":222618,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/222616\/revisions\/222618"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/92339"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=222616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=222616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=222616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}