{"id":7697,"date":"2021-04-06T23:38:24","date_gmt":"2021-04-06T14:38:24","guid":{"rendered":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=7697"},"modified":"2021-04-10T15:51:08","modified_gmt":"2021-04-10T06:51:08","slug":"%e3%83%a1%e3%83%a2-hyper-v-%e3%82%b2%e3%82%b9%e3%83%88%e3%81%a7-cpu-%e3%81%ae%e3%83%91%e3%83%95%e3%82%a9%e3%83%bc%e3%83%9e%e3%83%b3%e3%82%b9%e3%82%ab%e3%82%a6%e3%83%b3%e3%82%bf%e3%82%92%e4%bb%ae","status":"publish","type":"post","link":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=7697","title":{"rendered":"Hyper-V \u30b2\u30b9\u30c8\u3067 CPU \u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30ab\u30a6\u30f3\u30bf\u3092\u4eee\u60f3\u5316\u3059\u308b"},"content":{"rendered":"<p>Hyper-V \u30b2\u30b9\u30c8\u3067 CPU \u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30ab\u30a6\u30f3\u30bf\u3092\u4eee\u60f3\u5316\u3059\u308b\u65b9\u6cd5\u306f <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows-server\/virtualization\/hyper-v\/manage\/performance-monitoring-hardware\">Enable Intel Performance Monitoring Hardware in a Hyper-V virtual machine | Microsoft Docs<\/a> \u306b\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u30ab\u30a6\u30f3\u30bf\u306e\u7a2e\u985e\u306f\u3044\u308d\u3044\u308d\u3042\u308b\u3088\u3046\u3067\u3059\u304c\u3001\u79c1\u306e\u74b0\u5883\u3067\u306f ipt \u3092\u6709\u52b9\u5316\u3057\u3088\u3046\u3068\u3057\u305f\u3089 Set-VMProcessor \u30b3\u30de\u30f3\u30c9\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u8db3\u308a\u306a\u3044\u3068\u8a00\u308f\u308c\u3001pmu, lbr, pebs \u30923\u3064\u3068\u3082\u6709\u52b9\u5316\u3057\u3088\u3046\u3068\u3057\u305f\u3089 VM \u8d77\u52d5\u6642\u306b\u6012\u3089\u308c\u305f\u306e\u3067\u3001 pmu \u3060\u3051\u6709\u52b9\u5316\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<blockquote>\n<pre>\r\nSet-VMProcessor VM\u540d -Perfmon @(\"pmu\")\r\n<\/pre>\n<\/blockquote>\n<p>Linux \u30b2\u30b9\u30c8\u3067 perf_event_open \u3067 CPU \u30af\u30ed\u30c3\u30af\u30b5\u30a4\u30af\u30eb\u306e\u30ab\u30a6\u30f3\u30bf (PERF_TYPE_HARDWARE\/PERF_COUNT_HW_CPU_CYCLES) \u3092\u958b\u304d\u305f\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u76ee\u7684\u3067\u3042\u308c\u3070 pmu \u3060\u3051\u3067\u3088\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hyper-V \u30b2\u30b9\u30c8\u3067 CPU \u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30ab\u30a6\u30f3\u30bf\u3092\u4eee\u60f3\u5316\u3059\u308b\u65b9\u6cd5\u306f Enable Intel Performance Monitoring Hardware in a Hyper-V virtual machi [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"class_list":["post-7697","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/7697","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7697"}],"version-history":[{"count":5,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/7697\/revisions"}],"predecessor-version":[{"id":7705,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/7697\/revisions\/7705"}],"wp:attachment":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7697"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7697"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}