{"id":3487,"date":"2022-09-06T11:44:29","date_gmt":"2022-09-06T02:44:29","guid":{"rendered":"https:\/\/www.ish.org\/blog\/?p=3487"},"modified":"2024-06-02T21:21:29","modified_gmt":"2024-06-02T12:21:29","slug":"%ef%bc%92%e5%8f%b0%e7%9b%ae%e3%81%aenas%ef%bc%88%e3%81%9d%e3%81%ae6hmb%e3%82%92%e5%88%87%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.ish.org\/blog\/?p=3487","title":{"rendered":"\uff12\u53f0\u76ee\u306eNAS\uff08\u305d\u306e6:HMB\u3092\u5207\u3063\u3066\u307f\u305f\u3051\u3069\u3001\u3059\u3050\u6b62\u3081\u305f\uff09"},"content":{"rendered":"<p>\u305d\u306e\u5f8c\u3082\u3001\u6642\u3005ZIL\/L2ARC\u304cremoved\u3068\u306a\u308b\u72b6\u614b\u304c\u7d9a\u3044\u3066\u3044\u307e\u3059\u3002<!--more--><br \/>\n\u7279\u306b\u983b\u767a\u3059\u308b1\u53f0\u76ee\u306eNAS\u306b\u5bfe\u3057\u3066\u3001HMB\u3092\u5207\u308b\u3053\u3068\u3067\u72b6\u6cc1\u304c\u5909\u308f\u308b\u304b\u8abf\u3079\u308b\u305f\u3081\u306b\u3001<code>hw.nvme.hmb_max=0<\/code>\u3092<code>\/boot\/loader.conf<\/code>\u306b\u8ffd\u8a18\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u4eca\u307e\u3067\u306f\u8d77\u52d5\u76f4\u5f8c\u306b<\/p>\n<pre>nvme0: Allocated 64MB host memory buffer<\/pre>\n<p>\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u304c\u3001HMB\u3092\u6b62\u3081\u305f\u3053\u3068\u3067\u3053\u308c\u304c\u8868\u793a\u3055\u308c\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002\u3053\u308c\u3067\u72b6\u6cc1\u304c\u6539\u5584\u3055\u308c\u308b\u3068\u5b09\u3057\u3044\u306e\u3067\u3059\u304c\u3002<\/p>\n<p>P.S. \u305d\u306e\u5f8c\u3001\u3057\u3070\u3089\u304f\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u52d5\u4f5c\u304c\u975e\u5e38\u306b\u9045\u304f\u306a\u3063\u3066\u8010\u3048\u3089\u308c\u306a\u304b\u3063\u305f\u306e\u3067\u3001HMB\u3092\u4f7f\u3046\u69cb\u6210\u306b\u623b\u3057\u307e\u3057\u305f\u3002ZIL\/L2ARC\u304cremove\u3055\u308c\u308b\u983b\u5ea6\u306f\u7d042\u304b\u6708\u306b1\u56de\u306a\u306e\u3067\u3001\u3053\u306e\u307e\u307e\u6211\u6162\u3059\u308b\u304b\u3001DRAM\u30ad\u30e3\u30c3\u30b7\u30e5\u4ed8\u304d\u306eSSD\u306b\u4ea4\u63db\u3059\u308b\u304b\u3001FreeBSD\u3092\u8ae6\u3081\u308b\u304b\u306e\u9078\u629e\u3067\u3059\u3002<\/p>\n<p>P.P.S. \u3061\u306a\u307f\u306b\u3001\u3053\u306e\u30de\u30b7\u30f3\u3067\u4f7f\u7528\u3057\u3066\u3044\u308bnvme SSD\u306fubuntu\u3067nvme id-ctrl \/dev\/nvme0 -H\u3092\u5b9f\u884c\u3059\u308b\u3068hmpre\u3082hmmin\u308216384(=64MB)\u3067\u3059\u3002\u306a\u304a\u3001\u6700\u521d\u306b\u4f7f\u3044\u3060\u3057\u305f\u306e\u306f12.2R\u304b\u3089\u3067\u3059\u304c\u300112.2R\u308413.0R\u3067\u306f\u3053\u306e\u554f\u984c\u306f\u4e00\u5e74\u534a\u4ee5\u4e0a\u306e\u5229\u7528\u671f\u9593\u4e2d\u306b\u4e00\u5ea6\u3082\u767a\u751f\u305b\u305a\u300113.1R\u306bupgrade\u3057\u3066\u304b\u3089\u767a\u751f\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3053\u3068\u306b\u6c17\u4ed8\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>P.P.P.S. FreeBSD\u4e0a\u3067hmpre\u3084hmmin\u3092\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408\u306b\u306f\u3001<\/p>\n<pre># nvmecontrol identify nvme0 | grep  -i 'host buffer'\r\nHost Buffer Preferred Size:  67108864 bytes\r\nHost Buffer Minimum Size:    67108864 bytes<\/pre>\n<p>\u3067\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p><a href=\/blog\/?p=3419>\u305d\u306e5<\/a>\u3078\u623b\u308b\u3000<a href=\/blog\/?p=4048>\u305d\u306e7<\/a>\u3078\u7d9a\u304f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u305d\u306e\u5f8c\u3082\u3001\u6642\u3005ZIL\/L2ARC\u304cremoved\u3068\u306a\u308b\u72b6\u614b\u304c\u7d9a\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5],"tags":[],"class_list":["post-3487","post","type-post","status-publish","format-standard","hentry","category-freebsd","category-zfs"],"_links":{"self":[{"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3487"}],"version-history":[{"count":12,"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3487\/revisions"}],"predecessor-version":[{"id":4052,"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3487\/revisions\/4052"}],"wp:attachment":[{"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}