From cbed295b4795f6321e2df0928b5a85fd4bcaa230 Mon Sep 17 00:00:00 2001 From: Eric Chang Date: Tue, 10 Sep 2019 16:03:24 +0800 Subject: [PATCH] add benchmark with external nvme ssd --- config.toml.ok | 159 + config.toml.orianna | 88 + ...internal-nvme-ssd-and-external-sata-ssd.md | 422 + public/404.html | 10 +- public/author/eric-chang/index.html | 178 +- public/author/eric-chang/index.xml | 13 +- public/author/eric-chang/page/2/index.html | 177 +- public/author/eric-chang/page/3/index.html | 163 +- public/author/eric-chang/page/4/index.html | 87 +- public/author/index.html | 12 +- public/author/index.xml | 2 +- public/categories/ansible/index.html | 10 +- public/categories/index.html | 12 +- public/categories/index.xml | 2 +- public/categories/linux/index.html | 10 +- public/categories/proxmox/index.html | 10 +- public/categories/ps/index.html | 10 +- public/categories/碎念/index.html | 10 +- public/categories/筆記/index.html | 172 +- public/categories/筆記/index.xml | 13 +- public/categories/筆記/page/2/index.html | 174 +- public/categories/筆記/page/3/index.html | 89 +- public/categories/群暉/index.html | 10 +- public/css/font.css | 68 + public/css/main.css | 1172 +++ .../fontawesome/all.min.css | 5 + public/css/vendors-extensions/mdb/mdb.css | 7339 +++++++++++++++++ public/css/vendors-extensions/mdb/mdb.min.css | 38 + .../css/vendors/bootstrap4/bootstrap.min.css | 7 + public/css/vendors/highlight/github-gist.css | 71 + public/css/vendors/mdb/mdb.min.css | 38 + public/css/vendors/mdb/style.min.css | 1 + public/fonts/fontawesome/fa-brands-400.eot | Bin 0 -> 118560 bytes public/fonts/fontawesome/fa-brands-400.svg | 1154 +++ public/fonts/fontawesome/fa-brands-400.ttf | Bin 0 -> 118324 bytes public/fonts/fontawesome/fa-brands-400.woff | Bin 0 -> 76344 bytes public/fonts/fontawesome/fa-brands-400.woff2 | Bin 0 -> 65316 bytes public/fonts/fontawesome/fa-regular-400.eot | Bin 0 -> 40576 bytes public/fonts/fontawesome/fa-regular-400.svg | 467 ++ public/fonts/fontawesome/fa-regular-400.ttf | Bin 0 -> 40348 bytes public/fonts/fontawesome/fa-regular-400.woff | Bin 0 -> 18168 bytes public/fonts/fontawesome/fa-regular-400.woff2 | Bin 0 -> 14868 bytes public/fonts/fontawesome/fa-solid-900.eot | Bin 0 -> 180720 bytes public/fonts/fontawesome/fa-solid-900.svg | 2444 ++++++ public/fonts/fontawesome/fa-solid-900.ttf | Bin 0 -> 180500 bytes public/fonts/fontawesome/fa-solid-900.woff | Bin 0 -> 86876 bytes public/fonts/fontawesome/fa-solid-900.woff2 | Bin 0 -> 67400 bytes public/gallery/index.html | 10 +- public/gallery/sammy93/index.html | 10 +- public/img/default.jpg | Bin 0 -> 477760 bytes public/img/header-slides/raw_1515691746.jpg | Bin 0 -> 377108 bytes public/img/header-slides/raw_1515847341.jpg | Bin 0 -> 477760 bytes public/img/mask/circle.svg | 5 + public/img/profile.jpg | Bin 0 -> 85776 bytes public/img/svg/arrow_left.svg | 4 + public/img/svg/arrow_right.svg | 4 + public/img/zheng.png | Bin 0 -> 27789 bytes public/index.html | 182 +- public/index.json | 14 + public/index.xml | 13 +- public/js/main.js | 57 + .../bootstrap4/bootstrap.js | 3956 +++++++++ public/js/vendors/highlight.pack.js | 2 + public/js/vendors/holder.min.js | 13 + public/js/vendors/jquery/jquery-3.3.1.min.js | 2 + .../jquery/jquery.smooth-scroll.min.js | 9 + .../js/vendors/katex/contrib/auto-render.js | 790 ++ .../vendors/katex/contrib/auto-render.min.js | 1 + public/js/vendors/katex/contrib/copy-tex.css | 12 + public/js/vendors/katex/contrib/copy-tex.js | 174 + .../js/vendors/katex/contrib/copy-tex.min.css | 1 + .../js/vendors/katex/contrib/copy-tex.min.js | 1 + .../katex/contrib/mathtex-script-type.js | 113 + .../katex/contrib/mathtex-script-type.min.js | 1 + .../vendors/katex/fonts/KaTeX_AMS-Regular.ttf | Bin 0 -> 71428 bytes .../katex/fonts/KaTeX_AMS-Regular.woff | Bin 0 -> 40200 bytes .../katex/fonts/KaTeX_AMS-Regular.woff2 | Bin 0 -> 33208 bytes .../katex/fonts/KaTeX_Caligraphic-Bold.ttf | Bin 0 -> 19588 bytes .../katex/fonts/KaTeX_Caligraphic-Bold.woff | Bin 0 -> 12136 bytes .../katex/fonts/KaTeX_Caligraphic-Bold.woff2 | Bin 0 -> 10608 bytes .../katex/fonts/KaTeX_Caligraphic-Regular.ttf | Bin 0 -> 18960 bytes .../fonts/KaTeX_Caligraphic-Regular.woff | Bin 0 -> 11868 bytes .../fonts/KaTeX_Caligraphic-Regular.woff2 | Bin 0 -> 10412 bytes .../katex/fonts/KaTeX_Fraktur-Bold.ttf | Bin 0 -> 35968 bytes .../katex/fonts/KaTeX_Fraktur-Bold.woff | Bin 0 -> 23388 bytes .../katex/fonts/KaTeX_Fraktur-Bold.woff2 | Bin 0 -> 20488 bytes .../katex/fonts/KaTeX_Fraktur-Regular.ttf | Bin 0 -> 34652 bytes .../katex/fonts/KaTeX_Fraktur-Regular.woff | Bin 0 -> 22844 bytes .../katex/fonts/KaTeX_Fraktur-Regular.woff2 | Bin 0 -> 19868 bytes .../vendors/katex/fonts/KaTeX_Main-Bold.ttf | Bin 0 -> 61772 bytes .../vendors/katex/fonts/KaTeX_Main-Bold.woff | Bin 0 -> 36928 bytes .../vendors/katex/fonts/KaTeX_Main-Bold.woff2 | Bin 0 -> 30824 bytes .../katex/fonts/KaTeX_Main-BoldItalic.ttf | Bin 0 -> 44824 bytes .../katex/fonts/KaTeX_Main-BoldItalic.woff | Bin 0 -> 26228 bytes .../katex/fonts/KaTeX_Main-BoldItalic.woff2 | Bin 0 -> 22176 bytes .../vendors/katex/fonts/KaTeX_Main-Italic.ttf | Bin 0 -> 47952 bytes .../katex/fonts/KaTeX_Main-Italic.woff | Bin 0 -> 27200 bytes .../katex/fonts/KaTeX_Main-Italic.woff2 | Bin 0 -> 23064 bytes .../katex/fonts/KaTeX_Main-Regular.ttf | Bin 0 -> 70512 bytes .../katex/fonts/KaTeX_Main-Regular.woff | Bin 0 -> 39728 bytes .../katex/fonts/KaTeX_Main-Regular.woff2 | Bin 0 -> 33096 bytes .../vendors/katex/fonts/KaTeX_Math-Italic.ttf | Bin 0 -> 41448 bytes .../katex/fonts/KaTeX_Math-Italic.woff | Bin 0 -> 23820 bytes .../katex/fonts/KaTeX_Math-Italic.woff2 | Bin 0 -> 20416 bytes .../katex/fonts/KaTeX_SansSerif-Bold.ttf | Bin 0 -> 34032 bytes .../katex/fonts/KaTeX_SansSerif-Bold.woff | Bin 0 -> 19172 bytes .../katex/fonts/KaTeX_SansSerif-Bold.woff2 | Bin 0 -> 16000 bytes .../katex/fonts/KaTeX_SansSerif-Italic.ttf | Bin 0 -> 31308 bytes .../katex/fonts/KaTeX_SansSerif-Italic.woff | Bin 0 -> 18128 bytes .../katex/fonts/KaTeX_SansSerif-Italic.woff2 | Bin 0 -> 15204 bytes .../katex/fonts/KaTeX_SansSerif-Regular.ttf | Bin 0 -> 30156 bytes .../katex/fonts/KaTeX_SansSerif-Regular.woff | Bin 0 -> 16784 bytes .../katex/fonts/KaTeX_SansSerif-Regular.woff2 | Bin 0 -> 14004 bytes .../katex/fonts/KaTeX_Script-Regular.ttf | Bin 0 -> 24864 bytes .../katex/fonts/KaTeX_Script-Regular.woff | Bin 0 -> 13856 bytes .../katex/fonts/KaTeX_Script-Regular.woff2 | Bin 0 -> 12268 bytes .../katex/fonts/KaTeX_Size1-Regular.ttf | Bin 0 -> 13172 bytes .../katex/fonts/KaTeX_Size1-Regular.woff | Bin 0 -> 6980 bytes .../katex/fonts/KaTeX_Size1-Regular.woff2 | Bin 0 -> 5812 bytes .../katex/fonts/KaTeX_Size2-Regular.ttf | Bin 0 -> 12412 bytes .../katex/fonts/KaTeX_Size2-Regular.woff | Bin 0 -> 6684 bytes .../katex/fonts/KaTeX_Size2-Regular.woff2 | Bin 0 -> 5560 bytes .../katex/fonts/KaTeX_Size3-Regular.ttf | Bin 0 -> 8360 bytes .../katex/fonts/KaTeX_Size3-Regular.woff | Bin 0 -> 4776 bytes .../katex/fonts/KaTeX_Size3-Regular.woff2 | Bin 0 -> 3860 bytes .../katex/fonts/KaTeX_Size4-Regular.ttf | Bin 0 -> 11284 bytes .../katex/fonts/KaTeX_Size4-Regular.woff | Bin 0 -> 6456 bytes .../katex/fonts/KaTeX_Size4-Regular.woff2 | Bin 0 -> 5132 bytes .../katex/fonts/KaTeX_Typewriter-Regular.ttf | Bin 0 -> 36308 bytes .../katex/fonts/KaTeX_Typewriter-Regular.woff | Bin 0 -> 20924 bytes .../fonts/KaTeX_Typewriter-Regular.woff2 | Bin 0 -> 17536 bytes public/js/vendors/katex/katex.min.css | 1 + public/js/vendors/katex/katex.min.js | 1 + public/js/vendors/mdb/mdb.min.js | 1 + public/js/vendors/mdb/mdw-search.js | 59 + public/js/vendors/popper.min.js | 5 + public/page/2/index.html | 181 +- public/page/3/index.html | 167 +- public/page/4/index.html | 89 +- .../index.html | 10 +- .../index.html | 10 +- .../index.html | 10 +- .../post/ansible-selectattr-filter/index.html | 10 +- .../index.html | 10 +- public/post/ansible-selectattr/index.html | 10 +- .../index.html | 10 +- .../index.html | 806 ++ public/post/bookstack-docker/index.html | 10 +- .../index.html | 10 +- .../post/change-timezone-in-docker/index.html | 10 +- .../post/command_to_test_main_ssl/index.html | 10 +- public/post/copy_role_in_pgsql/index.html | 10 +- .../index.html | 10 +- .../index.html | 10 +- .../enable-synology-public-ssh/index.html | 10 +- .../index.html | 10 +- .../incredibly-slow-mdadm-rebuild/index.html | 10 +- public/post/index.html | 178 +- public/post/index.xml | 13 +- .../index.html | 10 +- .../index.html | 10 +- .../index.html | 10 +- .../index.html | 10 +- .../index.html | 10 +- public/post/log-all-bash-commands/index.html | 10 +- .../index.html | 10 +- .../post/nice-du-report-tool-durep/index.html | 10 +- public/post/page/10/index.html | 1106 +++ public/post/page/11/index.html | 1095 +++ public/post/page/12/index.html | 1095 +++ public/post/page/13/index.html | 973 +++ public/post/page/2/index.html | 177 +- public/post/page/3/index.html | 163 +- public/post/page/4/index.html | 87 +- public/post/page/5/index.html | 1092 +++ public/post/page/6/index.html | 1093 +++ public/post/page/7/index.html | 1067 +++ public/post/page/8/index.html | 1087 +++ public/post/page/9/index.html | 1087 +++ .../index.html | 10 +- .../index.html | 10 +- .../index.html | 10 +- .../index.html | 10 +- .../index.html | 10 +- .../index.html | 10 +- .../index.html | 10 +- .../synology-ds415-repair-cost/index.html | 10 +- .../transfer-cent62-using-rsync/index.html | 10 +- .../index.html | 10 +- .../index.html | 10 +- .../weird-client-server-connection/index.html | 10 +- public/series/index.html | 433 + public/series/index.xml | 14 + public/sitemap.xml | 2 +- public/tags/10g/index.html | 10 +- public/tags/ansible/index.html | 10 +- public/tags/backup/index.html | 10 +- public/tags/benchmark/index.html | 399 + public/tags/benchmark/index.xml | 25 + public/tags/benchmark/page/1/index.html | 1 + public/tags/bookstack/index.html | 10 +- public/tags/bsd/index.html | 10 +- public/tags/centos/index.html | 10 +- public/tags/docker/index.html | 10 +- public/tags/du/index.html | 10 +- public/tags/edgerouter/index.html | 10 +- public/tags/firefox/index.html | 10 +- public/tags/freenas/index.html | 10 +- public/tags/index.html | 16 +- public/tags/index.xml | 20 +- public/tags/inventory/index.html | 10 +- public/tags/linux/index.html | 10 +- public/tags/log/index.html | 10 +- public/tags/mdadm/index.html | 10 +- public/tags/mellanox/index.html | 10 +- public/tags/meshcentral/index.html | 10 +- public/tags/metabase/index.html | 10 +- public/tags/nas/index.html | 10 +- public/tags/nvidia/index.html | 10 +- public/tags/nvme/index.html | 399 + public/tags/nvme/index.xml | 25 + public/tags/nvme/page/1/index.html | 1 + public/tags/pgbarman/index.html | 10 +- public/tags/postgresql/index.html | 87 +- public/tags/postgresql/index.xml | 13 +- public/tags/proxmox/index.html | 10 +- public/tags/ps/index.html | 10 +- public/tags/psql/index.html | 10 +- public/tags/pxe/index.html | 10 +- public/tags/raid/index.html | 10 +- public/tags/remote/index.html | 10 +- public/tags/restore/index.html | 10 +- public/tags/ssh/index.html | 10 +- public/tags/synology/index.html | 10 +- public/tags/timezone/index.html | 10 +- public/tags/ubuntu/index.html | 10 +- public/tags/vim/index.html | 10 +- public/tags/vpn/index.html | 10 +- public/tags/wireguard/index.html | 10 +- public/tags/zfs/index.html | 10 +- public/tags/短今/index.html | 10 +- public/tags/筆記/index.html | 10 +- public/tags/群暉/index.html | 10 +- public/tw/sitemap.xml | 57 +- themes/AllinOne | 1 + 245 files changed, 32433 insertions(+), 1454 deletions(-) create mode 100644 config.toml.ok create mode 100644 config.toml.orianna create mode 100644 content/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd.md create mode 100644 public/css/font.css create mode 100644 public/css/main.css create mode 100644 public/css/vendors-extensions/fontawesome/all.min.css create mode 100755 public/css/vendors-extensions/mdb/mdb.css create mode 100755 public/css/vendors-extensions/mdb/mdb.min.css create mode 100755 public/css/vendors/bootstrap4/bootstrap.min.css create mode 100644 public/css/vendors/highlight/github-gist.css create mode 100755 public/css/vendors/mdb/mdb.min.css create mode 100755 public/css/vendors/mdb/style.min.css create mode 100644 public/fonts/fontawesome/fa-brands-400.eot create mode 100644 public/fonts/fontawesome/fa-brands-400.svg create mode 100644 public/fonts/fontawesome/fa-brands-400.ttf create mode 100644 public/fonts/fontawesome/fa-brands-400.woff create mode 100644 public/fonts/fontawesome/fa-brands-400.woff2 create mode 100644 public/fonts/fontawesome/fa-regular-400.eot create mode 100644 public/fonts/fontawesome/fa-regular-400.svg create mode 100644 public/fonts/fontawesome/fa-regular-400.ttf create mode 100644 public/fonts/fontawesome/fa-regular-400.woff create mode 100644 public/fonts/fontawesome/fa-regular-400.woff2 create mode 100644 public/fonts/fontawesome/fa-solid-900.eot create mode 100644 public/fonts/fontawesome/fa-solid-900.svg create mode 100644 public/fonts/fontawesome/fa-solid-900.ttf create mode 100644 public/fonts/fontawesome/fa-solid-900.woff create mode 100644 public/fonts/fontawesome/fa-solid-900.woff2 create mode 100644 public/img/default.jpg create mode 100644 public/img/header-slides/raw_1515691746.jpg create mode 100644 public/img/header-slides/raw_1515847341.jpg create mode 100644 public/img/mask/circle.svg create mode 100644 public/img/profile.jpg create mode 100755 public/img/svg/arrow_left.svg create mode 100755 public/img/svg/arrow_right.svg create mode 100644 public/img/zheng.png create mode 100644 public/js/main.js create mode 100755 public/js/vendors-extensions/bootstrap4/bootstrap.js create mode 100644 public/js/vendors/highlight.pack.js create mode 100755 public/js/vendors/holder.min.js create mode 100755 public/js/vendors/jquery/jquery-3.3.1.min.js create mode 100755 public/js/vendors/jquery/jquery.smooth-scroll.min.js create mode 100644 public/js/vendors/katex/contrib/auto-render.js create mode 100644 public/js/vendors/katex/contrib/auto-render.min.js create mode 100644 public/js/vendors/katex/contrib/copy-tex.css create mode 100644 public/js/vendors/katex/contrib/copy-tex.js create mode 100644 public/js/vendors/katex/contrib/copy-tex.min.css create mode 100644 public/js/vendors/katex/contrib/copy-tex.min.js create mode 100644 public/js/vendors/katex/contrib/mathtex-script-type.js create mode 100644 public/js/vendors/katex/contrib/mathtex-script-type.min.js create mode 100644 public/js/vendors/katex/fonts/KaTeX_AMS-Regular.ttf create mode 100644 public/js/vendors/katex/fonts/KaTeX_AMS-Regular.woff create mode 100644 public/js/vendors/katex/fonts/KaTeX_AMS-Regular.woff2 create mode 100644 public/js/vendors/katex/fonts/KaTeX_Caligraphic-Bold.ttf create mode 100644 public/js/vendors/katex/fonts/KaTeX_Caligraphic-Bold.woff create mode 100644 public/js/vendors/katex/fonts/KaTeX_Caligraphic-Bold.woff2 create mode 100644 public/js/vendors/katex/fonts/KaTeX_Caligraphic-Regular.ttf create mode 100644 public/js/vendors/katex/fonts/KaTeX_Caligraphic-Regular.woff create mode 100644 public/js/vendors/katex/fonts/KaTeX_Caligraphic-Regular.woff2 create mode 100644 public/js/vendors/katex/fonts/KaTeX_Fraktur-Bold.ttf create mode 100644 public/js/vendors/katex/fonts/KaTeX_Fraktur-Bold.woff create mode 100644 public/js/vendors/katex/fonts/KaTeX_Fraktur-Bold.woff2 create mode 100644 public/js/vendors/katex/fonts/KaTeX_Fraktur-Regular.ttf create mode 100644 public/js/vendors/katex/fonts/KaTeX_Fraktur-Regular.woff create mode 100644 public/js/vendors/katex/fonts/KaTeX_Fraktur-Regular.woff2 create mode 100644 public/js/vendors/katex/fonts/KaTeX_Main-Bold.ttf create mode 100644 public/js/vendors/katex/fonts/KaTeX_Main-Bold.woff create mode 100644 public/js/vendors/katex/fonts/KaTeX_Main-Bold.woff2 create mode 100644 public/js/vendors/katex/fonts/KaTeX_Main-BoldItalic.ttf create mode 100644 public/js/vendors/katex/fonts/KaTeX_Main-BoldItalic.woff create mode 100644 public/js/vendors/katex/fonts/KaTeX_Main-BoldItalic.woff2 create mode 100644 public/js/vendors/katex/fonts/KaTeX_Main-Italic.ttf create mode 100644 public/js/vendors/katex/fonts/KaTeX_Main-Italic.woff create mode 100644 public/js/vendors/katex/fonts/KaTeX_Main-Italic.woff2 create mode 100644 public/js/vendors/katex/fonts/KaTeX_Main-Regular.ttf create mode 100644 public/js/vendors/katex/fonts/KaTeX_Main-Regular.woff create mode 100644 public/js/vendors/katex/fonts/KaTeX_Main-Regular.woff2 create mode 100644 public/js/vendors/katex/fonts/KaTeX_Math-Italic.ttf create mode 100644 public/js/vendors/katex/fonts/KaTeX_Math-Italic.woff create mode 100644 public/js/vendors/katex/fonts/KaTeX_Math-Italic.woff2 create mode 100644 public/js/vendors/katex/fonts/KaTeX_SansSerif-Bold.ttf create mode 100644 public/js/vendors/katex/fonts/KaTeX_SansSerif-Bold.woff create mode 100644 public/js/vendors/katex/fonts/KaTeX_SansSerif-Bold.woff2 create mode 100644 public/js/vendors/katex/fonts/KaTeX_SansSerif-Italic.ttf create mode 100644 public/js/vendors/katex/fonts/KaTeX_SansSerif-Italic.woff create mode 100644 public/js/vendors/katex/fonts/KaTeX_SansSerif-Italic.woff2 create mode 100644 public/js/vendors/katex/fonts/KaTeX_SansSerif-Regular.ttf create mode 100644 public/js/vendors/katex/fonts/KaTeX_SansSerif-Regular.woff create mode 100644 public/js/vendors/katex/fonts/KaTeX_SansSerif-Regular.woff2 create mode 100644 public/js/vendors/katex/fonts/KaTeX_Script-Regular.ttf create mode 100644 public/js/vendors/katex/fonts/KaTeX_Script-Regular.woff create mode 100644 public/js/vendors/katex/fonts/KaTeX_Script-Regular.woff2 create mode 100644 public/js/vendors/katex/fonts/KaTeX_Size1-Regular.ttf create mode 100644 public/js/vendors/katex/fonts/KaTeX_Size1-Regular.woff create mode 100644 public/js/vendors/katex/fonts/KaTeX_Size1-Regular.woff2 create mode 100644 public/js/vendors/katex/fonts/KaTeX_Size2-Regular.ttf create mode 100644 public/js/vendors/katex/fonts/KaTeX_Size2-Regular.woff create mode 100644 public/js/vendors/katex/fonts/KaTeX_Size2-Regular.woff2 create mode 100644 public/js/vendors/katex/fonts/KaTeX_Size3-Regular.ttf create mode 100644 public/js/vendors/katex/fonts/KaTeX_Size3-Regular.woff create mode 100644 public/js/vendors/katex/fonts/KaTeX_Size3-Regular.woff2 create mode 100644 public/js/vendors/katex/fonts/KaTeX_Size4-Regular.ttf create mode 100644 public/js/vendors/katex/fonts/KaTeX_Size4-Regular.woff create mode 100644 public/js/vendors/katex/fonts/KaTeX_Size4-Regular.woff2 create mode 100644 public/js/vendors/katex/fonts/KaTeX_Typewriter-Regular.ttf create mode 100644 public/js/vendors/katex/fonts/KaTeX_Typewriter-Regular.woff create mode 100644 public/js/vendors/katex/fonts/KaTeX_Typewriter-Regular.woff2 create mode 100644 public/js/vendors/katex/katex.min.css create mode 100644 public/js/vendors/katex/katex.min.js create mode 100755 public/js/vendors/mdb/mdb.min.js create mode 100644 public/js/vendors/mdb/mdw-search.js create mode 100755 public/js/vendors/popper.min.js create mode 100644 public/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/index.html create mode 100644 public/post/page/10/index.html create mode 100644 public/post/page/11/index.html create mode 100644 public/post/page/12/index.html create mode 100644 public/post/page/13/index.html create mode 100644 public/post/page/5/index.html create mode 100644 public/post/page/6/index.html create mode 100644 public/post/page/7/index.html create mode 100644 public/post/page/8/index.html create mode 100644 public/post/page/9/index.html create mode 100644 public/series/index.html create mode 100644 public/series/index.xml create mode 100644 public/tags/benchmark/index.html create mode 100644 public/tags/benchmark/index.xml create mode 100644 public/tags/benchmark/page/1/index.html create mode 100644 public/tags/nvme/index.html create mode 100644 public/tags/nvme/index.xml create mode 100644 public/tags/nvme/page/1/index.html create mode 160000 themes/AllinOne diff --git a/config.toml.ok b/config.toml.ok new file mode 100644 index 00000000..a006b353 --- /dev/null +++ b/config.toml.ok @@ -0,0 +1,159 @@ +title = "MC部落" +# Add an trailing slash to ensure that all fonts render correctly. +baseURL = "https://h.cowbay.org/" +theme = "bilberry-hugo-theme" + +enableRobotsTXT = true + +# Change to one of your content languages definded at the end. +DefaultContentLanguage = "tw" + +# Enable / Disable Google Analytics statistics for your site +#googleAnalytics = "UA-128770427-1" +googleAnalytics = "UA-138954876-1" + +# Enable / Disable comments on the articles via Disqus. +disqusShortname = "h-cowbay-org-1" + +[params] + # Favicon for the browser's favorites and tabs + favicon = "" # set a favicon icon + + # Custom CSS / JS modules that will be imported by the template. + # Files are relative to the static/ directory or a URL. + # Files are imported in the order they appear here, after + # theme.css and theme.js, respectively. + css_modules = ["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"] + js_modules = [] + + # Description and meta data for the search engines + author = "Eric Chang" + description = "What’s the Worst That Could Happen?" + keywords = "linux,blog,responsive,search,font awesome,pages,posts,multilingual,highlight.js,syntax highlighting,premium,shortcuts" + + # How many articles should be displayed at once? + paginate = 10 + + # Enable / Disable MathJax + enable_mathjax = false + + # Enable / Disable algolia search +# algolia_search = true +# algolia_appId = "Y2C4RWMPXW" +# algolia_apiKey = "50ea7f8c41c0ad233926e0be2b769ed1" +# algolia_indexName = "default-content" + + algolia_search = true + algolia_appId = "2XL0P8XDCY" + algolia_apiKey = "4ef65b37b627bb886b46c34a10e63aa6" + algolia_indexName = "h_cowbay_org" + # Set this option to false if you want to search within all articles in all languages at once + algolia_currentLanguageOnly = false + + # Style configuration + # set the width of your site's content + siteWidth = "800px" + + # let hugo automatically resize and crop your images to the correct sizes + resizeImages = true + + # Header configuration + # your subtitle if you want to use any + subtitle = "What’s the Worst That Could Happen?" + + # if you want to use gravatar for the header image + gravatarEMail = "mc@mc4.us" + + # set an path to the image file you want to use | overwrites gravatar + customImage = "" + + # define the icon you want to use for the overlay for the customImage or gravatar. + overlayIcon = "fa-home" + + # always display the top navigation (with pages and search) on non-mobile screens + permanentTopNav = true + + # show a language chooser in the header + showHeaderLanguageChooser = false + + # Content configuration + # Enable an optional pinned page to display at the top of the index + # pinnedPost = "/content/github/" + # Set to true to pin only to the first page, false to all pages + # pinOnlyToFirstPage = true + + # enable automatical localization of the article's PublishedDate with momentjs + enableMomentJs = true + + # customize the date format | only works if momentjs is disabled | only works with English month names + # you can customize it with the options you find here: + # https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference + dateFormat = "2006-01-02" + + # display the estimated reading time for an article + showReadingTime = false + + # Footer configuration + showFooter = true + + # How many articles should be displayed at latest posts in the footer? + # Set to -1 to hide the 'Latest Posts' column + amountLatestPostsInFooter = 7 + + # How many categories should be displayed in the footer section? + # Set to -1 to hide the 'Categories' column + amountCategoriesInFooter = 7 + + # show a language chooser in the header + showFooterLanguageChooser = false + + # social media profile urls for the footer links + showSocialMedia = true + + yapee = "https://www.yapee.tw/mvc/onlinePay/webLink?key=lMC74kucH21JChCR77-wJ80ZZ-Poh11amP24BwiDdHw" + facebook = "https://www.facebook.com/mariahchang" + twitter = "https://twitter.com/changchichung" + googleplus = "" + pinterest = "" + instagram = "" + tumblr = "" + youtube = "" + vimeo = "" + github = "https://github.com/changchichung" + xing = "" + linkedin = "" + + # credits line configuration + copyrightBy = "by Lednerb" + copyrightUseCurrentYear = false # set to true to always display the current year in the copyright + copyrightYearOverride = "2017" + copyrightUrl = "https://github.com/Lednerb" + creditsText = "Bilberry Hugo Theme" + #creditsUrl = "https://github.com/Lednerb/bilberry-hugo-theme" + creditsUrl = "https://www.yapee.tw/mvc/onlinePay/webLink?key=lMC74kucH21JChCR77-wJ80ZZ-Poh11amP24BwiDdHw" + + +# customize your available languages for your multi-langual site +# or delete the [Languages] blog to use the theme with only one supported language +[Languages] + [Languages.en] + weight = 1 + [Languages.de] + weight = 2 + title = "Mein cooler neuer Blog" + subtitle = "Hallo Welt! Dies ist der epischste Untertitel aller Zeiten." + [Languages.tw] + weight = 3 + title = "MCの飄狂山莊㊣" + subtitle = "What’s the Worst That Could Happen?" + +# don't change anything below +[taxonomies] + author = "author" + tag = "tags" + category = "categories" + +[outputs] + home = [ "HTML", "JSON", "RSS" ] + page = [ "HTML" ] + diff --git a/config.toml.orianna b/config.toml.orianna new file mode 100644 index 00000000..e1325aec --- /dev/null +++ b/config.toml.orianna @@ -0,0 +1,88 @@ +baseURL = "https://h.cowbay.org" +builddrafts = false +languageCode = "zn-Hant" +canonifyurls = true +contentdir = "content" +layoutdir = "layouts" +publishdir = "public" +enableEmoji = true +hasCJKLanguage = true +summaryLength = 200 +Paginate = 3 + +theme = "AllinOne" +title = "Orianna" + +pygmentsuseclasses = true + + +[permalinks] + blog = "blog/:year-:month/:slug/" + + +[taxonomies] + tag = "tags" + series = "series" + category = "categories" + + +[menu] + #[[menu.main]] + # name = "Blog" + # weight = -120 + # identifier = "blog" + # url = "blog/" + + #[[menu.main]] + # name = "Moment" + # weight = -110 + # identifier = "moment" + # url = "moment/" + + [[menu.main]] + name = "About" + weight = -100 + identifier = "about" + url = "about/" + + + +[params] + faviconfile = "img/zheng.png" # from static/ + avatar = "img/profile.jpg" # path to image in static dir e.g img/avatar.png + author = "Orianna" + description = ["Be myself.", "Love the wonderful world.", "Do the right things and be a better man."] # appears in the site header when set to a non-empty string + welcome_head = "Hello, World!" + welcome_word = "~ No Day But Today ~" + + latestpostscount = 5 # how many posts to display on the home page + bloggroupby = 'month' + dateform = "Jan 2, 2006" + dateformfull = "2006-01-02 Monday 15:04:05" + noshowreadtime = false # if true, don't show " minutes read" in posts + + # slides + slidesDirPath = "themes/AllinOne/static/img/header-slides" # path to image in local dir (path for hugo) + slidesDirPathURL = "img/header-slides" # path to image in static dir (for static pages) + + # highlighting + highlightjs = true + + # latex + katex = true + + # links + email = "mc@mc4.us" + github = "//github.com/you" + linkedin = "//linkedin.com/in/you" + facebook = "//facebook.com/you" + googleplus = "//google.com/you" + twitter = "//twitter.com/you" + px500 = "//px500" + instagram = "//instagram.com/you" + include_rss = true # include RSS tag in and show RSS icon + + # analytics + googleAnalytics = "your-google-analytic-id" + + diff --git a/content/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd.md b/content/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd.md new file mode 100644 index 00000000..12b1c459 --- /dev/null +++ b/content/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd.md @@ -0,0 +1,422 @@ +--- +title: "[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd" +date: 2019-09-10T14:37:09+08:00 + +noSummary: false +featuredImage: "https://h.cowbay.org/images/post-default-11.jpg" +categories: ['筆記'] +tags: ['postgresql','benchmark','nvme'] +author: "Eric Chang" +keywords: + - 'USB 3.1 Gen2 NVME SSD' + - 'NVME SSD' + - 'benchmark' +--- + +前幾天在淘寶上買了個 SSK 的USB 3.1 Gen2 (type-c) NVME SSD 外接盒 +手邊也剛好有一條多的intel 600p nvme ssd 就順手來做個比較 +目標是看看有沒有可能直接用外接的SSD來跑postgresql + + +把600p 裝進去外接盒之後,就先來看一些簡單的資訊 +不過沒想到用了幾個指令,都沒辦法辨別出正確的型號 + +#### fdisk +沒有看到廠牌、型號 +``` +2019-09-10 13:20:55 [minion@hqdc075 ~]$ sudo fdisk /dev/sdb + +Welcome to fdisk (util-linux 2.31.1). +Changes will remain in memory only, until you decide to write them. +Be careful before using the write command. + +Command (m for help): p +Disk /dev/sdb: 238.5 GiB, 256060514304 bytes, 500118192 sectors +Units: sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 4096 bytes +I/O size (minimum/optimal): 4096 bytes / 4096 bytes +Disklabel type: dos +Disk identifier: 0x59511d8e + +Device Boot Start End Sectors Size Id Type +/dev/sdb1 2048 500118191 500116144 238.5G 83 Linux + +Command (m for help): q +``` + +#### inxi +內接的intel ssd 有看到,不過外接的這顆SSD沒有model 可是可以看到序號 +我在想這個序號應該是外接盒的序號,而不是SSD的? + +``` +2019-09-10 13:21:51 [minion@hqdc075 ~]$ sudo inxi -Dxx +Drives: HDD Total Size: 640.2GB (11.3% used) + ID-1: /dev/nvme0n1 model: INTEL_SSDPEKKF256G7L size: 256.1GB serial: BTPYXXXXX firmware: 123P + ID-2: USB /dev/sda model: SD/MMC size: 128.1GB serial: 201205XXXXXX-0:0 temp: 0C + ID-3: USB /dev/sdb model: N/A size: 256.1GB serial: DF564XXXXXX:0 temp: 0C +2019-09-10 13:21:55 [minion@hqdc075 ~]$ +``` + +#### dmesg +一樣,也是認不出 SSD ,但是有抓到外接盒 + +``` +[16622.930915] hub 4-0:1.0: USB hub found +[16622.930926] hub 4-0:1.0: 2 ports detected +[16623.372533] usb 4-1: new SuperSpeedPlus Gen 2 USB device number 2 using xhci_hcd +[16623.393844] usb 4-1: New USB device found, idVendor=152d, idProduct=0562, bcdDevice= 2.04 +[16623.393849] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 +[16623.393853] usb 4-1: Product: SSK Storage +[16623.393856] usb 4-1: Manufacturer: SSK +[16623.393858] usb 4-1: SerialNumber: DF56419883B20 +``` + +#### 直接測試吧 + +不看型號了,直接測試吧!先切好分割、格式化,然後掛載到 /mnt,再用 dd 測試寫入 +結果如下 + +``` +2019-09-10 13:24:03 [minion@hqdc075 ~]$ for i in {4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384};do sudo dd if=/dev/zero of=/mnt/"$i"k bs="$i"k count=1k;done +1024+0 records in +1024+0 records out +4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.013719 s, 306 MB/s +1024+0 records in +1024+0 records out +8388608 bytes (8.4 MB, 8.0 MiB) copied, 0.0123268 s, 681 MB/s +1024+0 records in +1024+0 records out +16777216 bytes (17 MB, 16 MiB) copied, 0.0196891 s, 852 MB/s +1024+0 records in +1024+0 records out +33554432 bytes (34 MB, 32 MiB) copied, 0.0195221 s, 1.7 GB/s +1024+0 records in +1024+0 records out +67108864 bytes (67 MB, 64 MiB) copied, 0.0337692 s, 2.0 GB/s +1024+0 records in +1024+0 records out +134217728 bytes (134 MB, 128 MiB) copied, 0.0644939 s, 2.1 GB/s +1024+0 records in +1024+0 records out +268435456 bytes (268 MB, 256 MiB) copied, 0.131989 s, 2.0 GB/s +1024+0 records in +1024+0 records out +536870912 bytes (537 MB, 512 MiB) copied, 0.257682 s, 2.1 GB/s +1024+0 records in +1024+0 records out +1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.529154 s, 2.0 GB/s +1024+0 records in +1024+0 records out +2147483648 bytes (2.1 GB, 2.0 GiB) copied, 3.48498 s, 616 MB/s +1024+0 records in +1024+0 records out +4294967296 bytes (4.3 GB, 4.0 GiB) copied, 7.36899 s, 583 MB/s +1024+0 records in +1024+0 records out +8589934592 bytes (8.6 GB, 8.0 GiB) copied, 73.1975 s, 117 MB/s +1024+0 records in +1024+0 records out +17179869184 bytes (17 GB, 16 GiB) copied, 153.142 s, 112 MB/s +2019-09-10 13:28:58 [minion@hqdc075 ~]$ +``` + +可以發現,**當寫入8G檔案的時候,速度開始急遽下降** +翻了一下google 看到這張表格 + +https://www.anandtech.com/show/10850/the-intel-ssd-600p-512gb-review + +intel 600p 256G 的SLC Cache 只有8.5GB +合理解釋了為什麼當寫入8G的檔案時,速度會掉那麼慘,跟SATA硬碟差不多了 + +#### 用iobench 測試看看 + +得到一樣的結論,8G左右,就會把cache塞暴,然後掉速 +``` +2019-09-10 13:44:59 [changch@hqdc075 iobench]$ sudo ./iobench.sh --sync --dir /mnt --megabytes 8192 +Target directory: /mnt +Testfile size: 8192 x 1 Megabyte + +1. Write benchmark without cache +8589934592 bytes (8.6 GB, 8.0 GiB) copied, 36.8695 s, 233 MB/s + +2. Write benchmark with cache +8589934592 bytes (8.6 GB, 8.0 GiB) copied, 64.1573 s, 134 MB/s + +3. Read benchmark with dropped cache +8589934592 bytes (8.6 GB, 8.0 GiB) copied, 9.21821 s, 932 MB/s + +4. Read benchmark without cache drop + +Start 1 of 5... +8589934592 bytes (8.6 GB, 8.0 GiB) copied, 1.02253 s, 8.4 GB/s + +Start 2 of 5... +8589934592 bytes (8.6 GB, 8.0 GiB) copied, 0.832002 s, 10.3 GB/s + +Start 3 of 5... +8589934592 bytes (8.6 GB, 8.0 GiB) copied, 0.81194 s, 10.6 GB/s + +Start 4 of 5... +8589934592 bytes (8.6 GB, 8.0 GiB) copied, 0.821035 s, 10.5 GB/s + +Start 5 of 5... +8589934592 bytes (8.6 GB, 8.0 GiB) copied, 0.808803 s, 10.6 GB/s + +Done. +2019-09-10 13:47:40 [changch@hqdc075 iobench]$ +``` + +那如果不用8G的檔案大小來測試呢?看起來是比較正常一點 +``` +2019-09-10 13:47:40 [changch@hqdc075 iobench]$ sudo ./iobench.sh --sync --dir /mnt --megabytes 4096 +Target directory: /mnt +Testfile size: 4096 x 1 Megabyte + +1. Write benchmark without cache +4294967296 bytes (4.3 GB, 4.0 GiB) copied, 7.55296 s, 569 MB/s + +2. Write benchmark with cache +4294967296 bytes (4.3 GB, 4.0 GiB) copied, 20.6237 s, 208 MB/s + +3. Read benchmark with dropped cache +4294967296 bytes (4.3 GB, 4.0 GiB) copied, 4.63622 s, 926 MB/s + +4. Read benchmark without cache drop + +Start 1 of 5... +4294967296 bytes (4.3 GB, 4.0 GiB) copied, 0.518597 s, 8.3 GB/s + +Start 2 of 5... +4294967296 bytes (4.3 GB, 4.0 GiB) copied, 0.436877 s, 9.8 GB/s + +Start 3 of 5... +4294967296 bytes (4.3 GB, 4.0 GiB) copied, 0.437854 s, 9.8 GB/s + +Start 4 of 5... +4294967296 bytes (4.3 GB, 4.0 GiB) copied, 0.420224 s, 10.2 GB/s + +Start 5 of 5... +4294967296 bytes (4.3 GB, 4.0 GiB) copied, 0.431023 s, 10.0 GB/s + +Done. +2019-09-10 13:50:09 [changch@hqdc075 iobench]$ +``` + +#### 跑看看pgbench ?? + +試試看這次的目標,用 external nvme ssd 跑資料庫,會不會跟放在本機的PCI-E SSD 有所差距? + +#### data_directory in internal pcie-ssd + +**initialize pgbench database** +``` +2019-09-10 13:52:35 [minion@hqdc075 ~]$ sudo su - postgres +postgres@hqdc075:~$ createdb pgbench +postgres@hqdc075:~$ pgbench -i -U postgres -s 10 pgbench +NOTICE: table "pgbench_history" does not exist, skipping +NOTICE: table "pgbench_tellers" does not exist, skipping +NOTICE: table "pgbench_accounts" does not exist, skipping +NOTICE: table "pgbench_branches" does not exist, skipping +creating tables... +100000 of 1000000 tuples (10%) done (elapsed 0.08 s, remaining 0.70 s) +200000 of 1000000 tuples (20%) done (elapsed 0.19 s, remaining 0.75 s) +300000 of 1000000 tuples (30%) done (elapsed 0.36 s, remaining 0.83 s) +400000 of 1000000 tuples (40%) done (elapsed 0.49 s, remaining 0.73 s) +500000 of 1000000 tuples (50%) done (elapsed 0.58 s, remaining 0.58 s) +600000 of 1000000 tuples (60%) done (elapsed 0.75 s, remaining 0.50 s) +700000 of 1000000 tuples (70%) done (elapsed 0.89 s, remaining 0.38 s) +800000 of 1000000 tuples (80%) done (elapsed 0.99 s, remaining 0.25 s) +900000 of 1000000 tuples (90%) done (elapsed 1.11 s, remaining 0.12 s) +1000000 of 1000000 tuples (100%) done (elapsed 1.27 s, remaining 0.00 s) +vacuum... +set primary keys... +done. +``` + +**run pgbench** +``` +postgres@hqdc075:~$ pgbench -t 10 -c 100 -S -U postgres pgbench +starting vacuum...end. +transaction type: +scaling factor: 10 +query mode: simple +number of clients: 100 +number of threads: 1 +number of transactions per client: 10 +number of transactions actually processed: 1000/1000 +latency average = 32.118 ms +tps = 3113.559459 (including connections establishing) +tps = 3135.056341 (excluding connections establishing) +postgres@hqdc075:~$ pgbench -t 1000 -c 100 -S -U postgres pgbench +starting vacuum...end. +transaction type: +scaling factor: 10 +query mode: simple +number of clients: 100 +number of threads: 1 +number of transactions per client: 1000 +number of transactions actually processed: 100000/100000 +latency average = 3.753 ms +tps = 26643.223990 (including connections establishing) +tps = 26659.061459 (excluding connections establishing) +``` + + +#### data_directory in external NVME SSD + +**initialize pgbench database** +``` +postgres@hqdc075:~$ pgbench -i -U postgres -s 10 pgbench +creating tables... +100000 of 1000000 tuples (10%) done (elapsed 0.08 s, remaining 0.70 s) +200000 of 1000000 tuples (20%) done (elapsed 0.19 s, remaining 0.76 s) +300000 of 1000000 tuples (30%) done (elapsed 0.35 s, remaining 0.81 s) +400000 of 1000000 tuples (40%) done (elapsed 0.49 s, remaining 0.74 s) +500000 of 1000000 tuples (50%) done (elapsed 0.60 s, remaining 0.60 s) +600000 of 1000000 tuples (60%) done (elapsed 0.76 s, remaining 0.51 s) +700000 of 1000000 tuples (70%) done (elapsed 0.89 s, remaining 0.38 s) +800000 of 1000000 tuples (80%) done (elapsed 1.01 s, remaining 0.25 s) +900000 of 1000000 tuples (90%) done (elapsed 1.15 s, remaining 0.13 s) +1000000 of 1000000 tuples (100%) done (elapsed 1.32 s, remaining 0.00 s) +vacuum... +set primary keys... +done. +``` + +**run pgbench** +可以看到兩邊的結果其實是差不多的,作為資料庫備份是一定沒有問題 +至於能不能直接作為資料庫空間使用?我想也許可以嘗試看看.. + +``` +postgres@hqdc075:~$ pgbench -t 10 -c 100 -S -U postgres pgbench +starting vacuum...end. +transaction type: +scaling factor: 10 +query mode: simple +number of clients: 100 +number of threads: 1 +number of transactions per client: 10 +number of transactions actually processed: 1000/1000 +latency average = 32.998 ms +tps = 3030.531670 (including connections establishing) +tps = 3051.744292 (excluding connections establishing) +postgres@hqdc075:~$ pgbench -t 1000 -c 100 -S -U postgres pgbench +starting vacuum...end. +transaction type: +scaling factor: 10 +query mode: simple +number of clients: 100 +number of threads: 1 +number of transactions per client: 1000 +number of transactions actually processed: 100000/100000 +latency average = 3.758 ms +tps = 26610.771423 (including connections establishing) +tps = 26626.871871 (excluding connections establishing) +postgres@hqdc075:~$ +``` + +update: + +剛剛看了一下,發現這樣只有測試到 read (select only) +或許要找找看其他的測試方法 + +*** + +接下來直接用 restore 測試 + +``` +#### restore 5G database with external nvme ssd +postgres@hqdc075:~$ createdb demo +postgres@hqdc075:~$ time psql demo < /tmp/demo.sql +SET +... +ALTER TABLE + +real 4m1.184s +user 0m2.894s +sys 0m0.504s +postgres@hqdc075:~$ +``` + +#### restore 5G database with internal pci-e nvme ssd +``` +postgres@hqdc075:~$ dropdb demo +postgres@hqdc075:~$ createdb demo +postgres@hqdc075:~$ time psql demo < /tmp/demo.sql +SET +... +ALTER TABLE + +real 4m1.636s +user 0m2.909s +sys 0m0.612s +postgres@hqdc075:~$ +``` + +看起來是沒有什麼區別,那如果是外接的 SATA SSD呢? + +*** + +dmesg 看得到型號耶.. + +``` +[23995.478928] usb 2-4: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd +[23995.506134] usb 2-4: New USB device found, idVendor=2109, idProduct=0715, bcdDevice= 3.36 +[23995.506141] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 +[23995.506145] usb 2-4: Product: 30848 +[23995.506149] usb 2-4: Manufacturer: Ugreen +[23995.506153] usb 2-4: SerialNumber: 00000012526D +[23995.512813] scsi host2: uas +[23995.530161] scsi 2:0:0:0: Direct-Access SanDisk SDSSDXP240G R131 PQ: 0 ANSI: 6 +[23995.531948] sd 2:0:0:0: Attached scsi generic sg2 type 0 +[23995.533820] sd 2:0:0:0: [sdc] 468862128 512-byte logical blocks: (240 GB/224 GiB) +[23995.533986] sd 2:0:0:0: [sdc] Write Protect is off +[23995.533992] sd 2:0:0:0: [sdc] Mode Sense: 2f 00 00 00 +[23995.534402] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA +[23995.534844] sd 2:0:0:0: [sdc] Optimal transfer size 33553920 bytes +[23995.540806] sdc: +[23995.544089] sd 2:0:0:0: [sdc] Attached SCSI disk +2019-09-10 14:24:54 [minion@hqdc075 ~]$ +``` + +**restore 5G database with external sata SSD** + +很意外的,速度居然還是差不多?? + +``` +postgres@hqdc075:~$ createdb demo +postgres@hqdc075:~$ time psql demo < /tmp/demo.sql +SET +... +ALTER TABLE + +real 4m9.950s +user 0m2.752s +sys 0m0.640s +postgres@hqdc075:~$ +``` +**run pgebnech** + +這個差很多了,tps 從前面的 26000 掉到剩下 2800 ,差十倍左右! + +``` +postgres@hqdc075:~$ pgbench -t 10 -c 100 -S -U postgres pgbench +starting vacuum...end. +transaction type: +scaling factor: 10 +query mode: simple +number of clients: 100 +number of threads: 1 +number of transactions per client: 10 +number of transactions actually processed: 1000/1000 +latency average = 35.267 ms +tps = 2835.526770 (including connections establishing) +tps = 2855.642604 (excluding connections establishing) +postgres@hqdc075:~$ +``` + +疑問: + +1. 什麼原因會讓外接/內建 nvme ssd 和外接SATA SSD 在 restore db時,花了差不多時間,但是 tps 差異那麼大呢? +2. 這樣測試,似乎沒有真正測出外接nvme ssd 跑資料庫時候的效能? + diff --git a/public/404.html b/public/404.html index b209b38f..8e9aaa24 100644 --- a/public/404.html +++ b/public/404.html @@ -116,6 +116,10 @@ @@ -154,7 +154,7 @@