{"id":15117,"date":"2015-05-25T23:54:19","date_gmt":"2015-05-25T14:54:19","guid":{"rendered":"http:\/\/oichinote.com\/plus\/?p=15117"},"modified":"2018-03-19T22:41:21","modified_gmt":"2018-03-19T13:41:21","slug":"effect-of-arc-on-zfs","status":"publish","type":"post","link":"https:\/\/oichinote.com\/plus\/2015\/05\/effect-of-arc-on-zfs.html","title":{"rendered":"ZFS\u3067ARC\u306e\u52b9\u679c\u3092\u8abf\u3079\u308b"},"content":{"rendered":"<p>Netatalk ML\u3067\u8a71\u984c\u306b\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u3001\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u30b5\u30fc\u30d0\u30b9\u30da\u30c3\u30af\u306f\u3001\u6982\u306d\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/oichinote.com\/plus\/2014\/01\/hfs-vs-zfs.html\" rel=\"_RAclick\">HFS+(SSD)\u5bfeZFS(SSD+HDD)\u30d9\u30f3\u30c1\u30de\u30fc\u30af : \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593<\/a> <em>(2014\u5e741\u670815\u65e5)<\/em><\/li>\n<\/ul>\n<p>\u91cd\u8981\u306a\u3068\u3053\u308d\u3060\u3051\u629c\u304d\u51fa\u3059\u3068\u3001\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u30b5\u30fc\u30d0\u30b9\u30da\u30c3\u30af\n<ul>\n<li>Pentium G630T (MEM 16GiB)<\/li>\n<li>ARC 15GiB (DRAM)<\/li>\n<li>ZIL 8GiB (SSD)<\/li>\n<li>L2ARC 16GiB (SSD)<\/li>\n<li>\u30c7\u30fc\u30bf\u30d7\u30fc\u30eb(upool) (HDD)<\/li>\n<li>FreeBSD 10.0<\/li>\n<\/ul>\n<\/li>\n<li>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b9\u30da\u30c3\u30af\n<ul>\n<li>MacBook Pro Retina 13 (Early 2015) i5 (MEM 16GiB)<\/li>\n<li>USB3-GigabitEther\u30a2\u30c0\u30d7\u30bf\u3067\u63a5\u7d9a<\/li>\n<li>OS X 10.10.3 Yosemite<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>FreeBSD\u306b\u306f\u3001Netatalk3.1.7\u3068Samba3.6.25\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u72b6\u614b\u3067\u3001ARC(primarycache)\u3092On\/Off\u3057\u3066\u3001\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u3092\u53d6\u3063\u3066\u307f\u307e\u3057\u305f\u3002\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u306f\u3001fio\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002\u6e2c\u5b9a\u6761\u4ef6\u306f\u3001CristalDiskMark\u306b\u8fd1\u304f\u306a\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15118\" src=\"https:\/\/oichinote.com\/plus\/files\/2015\/05\/20150525zfs-arc-on-off.png\" alt=\"ARC On\/Off\u3067\u306eFIO\u30d9\u30f3\u30c1\u30de\u30fc\u30af\" width=\"480\" height=\"215\" srcset=\"https:\/\/oichinote.com\/plus\/files\/2015\/05\/20150525zfs-arc-on-off.png 480w, https:\/\/oichinote.com\/plus\/files\/2015\/05\/20150525zfs-arc-on-off-150x67.png 150w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/p>\n<p>\u3044\u3064\u3082\u3069\u304a\u308a\u3001AFP\u63a5\u7d9a\u306e\u65b9\u304c\u901f\u3044\u3067\u3059\u3002ARC\u3092OFF\u306b\u3059\u308b\u3068\u3001\u30ac\u30af\u30c3\u3068\u901f\u5ea6\u304c\u843d\u3061\u307e\u3059\u306d\u3002ARC\u3092ON\u3067\u3057\u304b\u4f7f\u3063\u305f\u3053\u3068\u304c\u306a\u304b\u3063\u305f\u306e\u3067\u3001ARC\u304c\u3053\u3093\u306a\u306b\u52b9\u679c\u7684\u3068\u306f\u601d\u3063\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u306a\u304a\u3001ARC\u306eOn\/Off\u306f\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u304c\u3001upool\/export\/a\u306e\u5834\u5408\u3067\u3059\u3002<\/p>\n<p>ARC On<\/p>\n<pre># zfs set primarycache=all upool\/export\/a\r\n<\/pre>\n<p>ARC Off<\/p>\n<pre># zfs set primarycache=none upool\/export\/a\r\n<\/pre>\n<p>\u3061\u306a\u307f\u306b\u3001ARC\u306e\u72b6\u614b\u3092\u898b\u308b\u65b9\u6cd5\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002\u3053\u308c\u306f\u3001ARC\u304cOff\u306e\u72b6\u614b\u3067\u3059\u3002<\/p>\n<pre># zfs get primarycache upool\/export\/a\r\nNAME            PROPERTY      VALUE         SOURCE\r\nupool\/export\/a  primarycache  none          local\r\n<\/pre>\n<p>AFP\u63a5\u7d9a\u3068SMB\u63a5\u7d9a\u3068\u3067\u3001\u901f\u5ea6\u4f4e\u4e0b\u7387\u3092\u8abf\u3079\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15119\" src=\"https:\/\/oichinote.com\/plus\/files\/2015\/05\/20150525zfs-arc-on-off-downrate.png\" alt=\"ARC On\/Off\u3067\u306e\u901f\u5ea6\u4f4e\u4e0b\u7387\" width=\"480\" height=\"260\" srcset=\"https:\/\/oichinote.com\/plus\/files\/2015\/05\/20150525zfs-arc-on-off-downrate.png 480w, https:\/\/oichinote.com\/plus\/files\/2015\/05\/20150525zfs-arc-on-off-downrate-150x81.png 150w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/p>\n<p>AFP\u63a5\u7d9a(netatalk)\u3060\u3068\u3001Write\u306b\u6bd4\u3079\u3066Read\u306e\u901f\u5ea6\u4f4e\u4e0b\u7387\u304c\u5927\u304d\u3044\u3088\u3046\u3067\u3059\u3002SMB\u63a5\u7d9a(samba)\u3060\u3068\u3001\u843d\u3061\u65b9\u306f\u5927\u4f53\u540c\u3058\u306a\u306e\u3067\u3059\u304c\u3001Sequential Write\u304c\u306a\u305c\u304b\u901f\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u4f55\u6545\u3067\u3057\u3087\u3046\u304b?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Netatalk ML\u3067\u8a71\u984c\u306b\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u3001\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\u3002 \u30b5\u30fc\u30d0\u30b9\u30da\u30c3\u30af\u306f\u3001\u6982\u306d\u6b21\u306e\u901a\u308a\u3067\u3059\u3002 HFS+(SSD)\u5bfeZFS(SSD+HDD)\u30d9\u30f3\u30c1\u30de\u30fc\u30af : \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593 (2014\u5e741\u670815\u65e5) \u91cd\u8981\u306a\u3068\u3053\u308d\u3060\u3051 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":15118,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u65b0\u3057\u3044\u8a18\u4e8b\u300eZFS\u3067ARC\u306e\u52b9\u679c\u3092\u8abf\u3079\u308b\u300f\u3092\u6295\u7a3f\u3057\u307e\u3057\u305f\u3002\u8aad\u3093\u3067\u3044\u305f\u3060\u3051\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\u3002","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[60,34,59,30],"tags":[],"class_list":["post-15117","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-freebsd","category-mac","category-nas","category-netatalk"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/oichinote.com\/plus\/files\/2015\/05\/20150525zfs-arc-on-off.png","jetpack-related-posts":[{"id":15140,"url":"https:\/\/oichinote.com\/plus\/2015\/05\/effect-of-l2arc-on-zfs-via-smb.html","url_meta":{"origin":15117,"position":0},"title":"ZFS\u306eL2ARC\u306e\u52b9\u679c\u3082\u8abf\u3079\u308b(SMB\u7de8)","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2015\u5e745\u670828\u65e5","format":false,"excerpt":"ZFS\u306eARC\u306e\u52b9\u679c\u3092\u8abf\u3079\u3066\u307e\u3059\u3002\u304d\u3063\u304b\u3051\u306f\u3001\u6b21\u306e\u30e1\u30fc\u30eb\u3067\u3059\u3002 [netatalk-ja:0460]\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"SMB1(Samba3)\u3067\u306e\u4f4e\u4e0b\u7387","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2015\/05\/20150528smb1-3-fio.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":15126,"url":"https:\/\/oichinote.com\/plus\/2015\/05\/effect-of-l2arc-on-zfs.html","url_meta":{"origin":15117,"position":1},"title":"ZFS\u306eL2ARC\u306e\u52b9\u679c\u3082\u8abf\u3079\u308b","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2015\u5e745\u670827\u65e5","format":false,"excerpt":"ZFS\u306eARC\u306e\u52b9\u679c\u3092\u8abf\u3079\u307e\u3057\u305f\u3002\u304d\u3063\u304b\u3051\u306f\u3001\u6b21\u306e\u30e1\u30fc\u30eb\u3067\u3059\u3002 [netatalk-ja:0460]\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"ARC\/L2CAR on\/off\u3067\u306e\u901f\u5ea6\u4f4e\u4e0b\u7387","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2015\/05\/20150527zfs-arcl2arc-on-off-downrate.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":15148,"url":"https:\/\/oichinote.com\/plus\/2015\/05\/netatalk-vs-samba-fake-compare.html","url_meta":{"origin":15117,"position":2},"title":"Netatalk\u3068Samba\u306e\u901f\u5ea6\u6bd4\u8f03(\u7121\u610f\u5473)","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2015\u5e745\u670829\u65e5","format":false,"excerpt":"FreeBSD\u3092ZFS\u3067\u904b\u7528\u3057\u3066\u3001NAS\u3068\u3057\u3066\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002 Sweet Home Server \u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"\u5168\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u5408\u8a08","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2015\/05\/20150529afp-vs-smb-total.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":7985,"url":"https:\/\/oichinote.com\/plus\/2013\/04\/install-freebsd-with-full-zfs.html","url_meta":{"origin":15117,"position":3},"title":"FreeBSD9\u3067Full ZFS\u30b7\u30b9\u30c6\u30e0\u4f5c\u6210\u306e\u5b9f\u9a13[\u8ffd\u8a18\u3042\u308a]","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2013\u5e744\u670829\u65e5","format":false,"excerpt":"FreeBSD\u52c9\u5f37\u30b7\u30ea\u30fc\u30ba\u306e\u4e00\u74b0\u3067\u3059\u3002 FreeBSD\u306e\u52c9\u5f37\u4e2d: \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593 (2012\u5e7411\u67083\u2026","rel":"","context":"NAS","block_context":{"text":"NAS","link":"https:\/\/oichinote.com\/plus\/category\/nas"},"img":{"alt_text":"\u30b7\u30b9\u30c6\u30e0\u7528\u30d7\u30fc\u30eb","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2013\/04\/20130428zfs_rpool.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":10620,"url":"https:\/\/oichinote.com\/plus\/2014\/01\/hfs-vs-zfs.html","url_meta":{"origin":15117,"position":4},"title":"HFS+(SSD)\u5bfeZFS(SSD+HDD)\u30d9\u30f3\u30c1\u30de\u30fc\u30af","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2014\u5e741\u670815\u65e5","format":false,"excerpt":"\u79c1\u304c\u3001FIO\u3092\u4f7f\u3063\u3066\u7c21\u6613\u7684\u306b\u6e2c\u5b9a\u3057\u305f\u7269\u306a\u306e\u3067\u3001\u9593\u9055\u3063\u3066\u3044\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u307e\u305f\u3001\u30de\u30b7\u30f3\u30b9\u30da\u30c3\u30af\u3082\u540c\u3058\u2026","rel":"","context":"Mac","block_context":{"text":"Mac","link":"https:\/\/oichinote.com\/plus\/category\/mac"},"img":{"alt_text":"Sequential Read 1G","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2014\/01\/20140115benchmark-seqread1G.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":7807,"url":"https:\/\/oichinote.com\/plus\/2013\/07\/have-bought-a-giada-mi-z68.html","url_meta":{"origin":15117,"position":5},"title":"Mini-ITX\u30de\u30b6\u30fc\u30dc\u30fc\u30c9Giada MI-Z68\u3092\u8cb7\u3044\u307e\u3057\u305f","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2013\u5e747\u67084\u65e5","format":false,"excerpt":"QNAP\u306eNAS\u3001TS-412\u3092\u8cb7\u3044\u307e\u3057\u305f\u3002\u3075\u3064\u30fc\u306b\u4f7f\u3046\u5206\u306a\u3089\u3001\u7533\u3057\u5206\u3042\u308a\u307e\u305b\u3093\u3002\u305f\u3060\u3001\u4ed6\u306e\u30b5\u30fc\u30d0\u30fc\u2026","rel":"","context":"NAS","block_context":{"text":"NAS","link":"https:\/\/oichinote.com\/plus\/category\/nas"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/15117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/comments?post=15117"}],"version-history":[{"count":8,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/15117\/revisions"}],"predecessor-version":[{"id":23094,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/15117\/revisions\/23094"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media\/15118"}],"wp:attachment":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media?parent=15117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/categories?post=15117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/tags?post=15117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}