[{"data":1,"prerenderedAt":1168},["ShallowReactive",2],{"blog-current-why-we-dont-use-samsung-nvme-pro-ssds-anymore-en":3,"blog-previous-why-we-dont-use-samsung-nvme-pro-ssds-anymore-en":559,"blog-next-why-we-dont-use-samsung-nvme-pro-ssds-anymore-en":571,"blog-alt-de-why-we-dont-use-samsung-nvme-pro-ssds-anymore-en":582,"blog-alt-en-why-we-dont-use-samsung-nvme-pro-ssds-anymore-en":584,"employee-bernd-helm":585,"content-query-D416F8uRcL":690,"content-query-xGvaff9H60":871,"content-query-1PFeYVQSzn":1105,"related-refs-devops--en":1141},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"author":10,"image":11,"releaseDate":12,"blogCategories":13,"articleTags":16,"tags":18,"body":20,"_type":553,"_id":554,"_source":555,"_file":556,"_stem":557,"_extension":558},"/en/blog/why-we-dont-use-samsung-nvme-pro-ssds-anymore","blog",false,"","Why we dont use Samsung NVME Pro SSDs anymore","When it comes to buying an NVME SSD for a software developer workstation, you have a choice: buy a cheap one or an expensive one. So far I've gone for the more expensive ones because they promised better performance and longer life - now I see how wrong I was...","bernd-helm","/blog/thumbnails/SSD_white.png","2020-04-16",[14,15],"What moves us","Infrastructure",[17],"SSD",[19],"devops",{"type":21,"children":22,"toc":550},"root",[23,32,38,43,427,432,437,446,451,544],{"type":24,"tag":25,"props":26,"children":28},"element","h2",{"id":27},"investigation-in-performance",[29],{"type":30,"value":31},"text","Investigation in Performance",{"type":24,"tag":33,"props":34,"children":35},"p",{},[36],{"type":30,"value":37},"When it comes to buying an NVME SSD for a software developer workstation, you are faced with a choice: buy one cheap or buy one expensive. So far, I've chosen the more expensive ones because they promised better performance and longer life - I can now see how wrong I was.",{"type":24,"tag":33,"props":39,"children":40},{},[41],{"type":30,"value":42},"It all started when one employee said his NVME SSD was slower than his Sata SSD. This can't be true, as the Sata SSD is limited to 600MB/s and 3 years old, while his new NVME SSD is supposed to read and write 3000MB/s. And yet it is true. I have done some dirty benchmarks and the results are impressive. I call the benchmark dirty because clearly different PCs are used; different CPUs, sightly different operating system versions, different MySQL versions and configurations. But the differences in the results cannot be explained my that in my opinion. There is something wrong with the Samsung NVME SSDs.",{"type":24,"tag":44,"props":45,"children":46},"table",{},[47,85],{"type":24,"tag":48,"props":49,"children":50},"thead",{},[51],{"type":24,"tag":52,"props":53,"children":54},"tr",{},[55,61,65,70,75,80],{"type":24,"tag":56,"props":57,"children":58},"th",{},[59],{"type":30,"value":60},"User",{"type":24,"tag":56,"props":62,"children":63},{},[64],{"type":30,"value":17},{"type":24,"tag":56,"props":66,"children":67},{},[68],{"type":30,"value":69},"Note",{"type":24,"tag":56,"props":71,"children":72},{},[73],{"type":30,"value":74},"Allocation",{"type":24,"tag":56,"props":76,"children":77},{},[78],{"type":30,"value":79},"TPS",{"type":24,"tag":56,"props":81,"children":82},{},[83],{"type":30,"value":84},"QPS",{"type":24,"tag":86,"props":87,"children":88},"tbody",{},[89,121,151,182,211,243,275,306,338,368,398],{"type":24,"tag":52,"props":90,"children":91},{},[92,98,103,106,111,116],{"type":24,"tag":93,"props":94,"children":95},"td",{},[96],{"type":30,"value":97},"Markus",{"type":24,"tag":93,"props":99,"children":100},{},[101],{"type":30,"value":102},"Curical CT1000P1SSD8",{"type":24,"tag":93,"props":104,"children":105},{},[],{"type":24,"tag":93,"props":107,"children":108},{},[109],{"type":30,"value":110},"1,00 %",{"type":24,"tag":93,"props":112,"children":113},{},[114],{"type":30,"value":115},"304",{"type":24,"tag":93,"props":117,"children":118},{},[119],{"type":30,"value":120},"6091",{"type":24,"tag":52,"props":122,"children":123},{},[124,129,133,136,141,146],{"type":24,"tag":93,"props":125,"children":126},{},[127],{"type":30,"value":128},"Robert",{"type":24,"tag":93,"props":130,"children":131},{},[132],{"type":30,"value":102},{"type":24,"tag":93,"props":134,"children":135},{},[],{"type":24,"tag":93,"props":137,"children":138},{},[139],{"type":30,"value":140},"4,00 %",{"type":24,"tag":93,"props":142,"children":143},{},[144],{"type":30,"value":145},"412",{"type":24,"tag":93,"props":147,"children":148},{},[149],{"type":30,"value":150},"8241",{"type":24,"tag":52,"props":152,"children":153},{},[154,159,164,167,172,177],{"type":24,"tag":93,"props":155,"children":156},{},[157],{"type":30,"value":158},"Reiner",{"type":24,"tag":93,"props":160,"children":161},{},[162],{"type":30,"value":163},"Samsung SSD 970 PRO 512GB",{"type":24,"tag":93,"props":165,"children":166},{},[],{"type":24,"tag":93,"props":168,"children":169},{},[170],{"type":30,"value":171},"66,00 %",{"type":24,"tag":93,"props":173,"children":174},{},[175],{"type":30,"value":176},"160",{"type":24,"tag":93,"props":178,"children":179},{},[180],{"type":30,"value":181},"3214",{"type":24,"tag":52,"props":183,"children":184},{},[185,189,193,196,201,206],{"type":24,"tag":93,"props":186,"children":187},{},[188],{"type":30,"value":97},{"type":24,"tag":93,"props":190,"children":191},{},[192],{"type":30,"value":163},{"type":24,"tag":93,"props":194,"children":195},{},[],{"type":24,"tag":93,"props":197,"children":198},{},[199],{"type":30,"value":200},"14,00 %",{"type":24,"tag":93,"props":202,"children":203},{},[204],{"type":30,"value":205},"120",{"type":24,"tag":93,"props":207,"children":208},{},[209],{"type":30,"value":210},"2414",{"type":24,"tag":52,"props":212,"children":213},{},[214,219,223,228,233,238],{"type":24,"tag":93,"props":215,"children":216},{},[217],{"type":30,"value":218},"Bernd",{"type":24,"tag":93,"props":220,"children":221},{},[222],{"type":30,"value":163},{"type":24,"tag":93,"props":224,"children":225},{},[226],{"type":30,"value":227},"crypt",{"type":24,"tag":93,"props":229,"children":230},{},[231],{"type":30,"value":232},"80,00 %",{"type":24,"tag":93,"props":234,"children":235},{},[236],{"type":30,"value":237},"148",{"type":24,"tag":93,"props":239,"children":240},{},[241],{"type":30,"value":242},"2976",{"type":24,"tag":52,"props":244,"children":245},{},[246,251,256,260,265,270],{"type":24,"tag":93,"props":247,"children":248},{},[249],{"type":30,"value":250},"Daniel",{"type":24,"tag":93,"props":252,"children":253},{},[254],{"type":30,"value":255},"Samsung SSD 960 PRO 512GB",{"type":24,"tag":93,"props":257,"children":258},{},[259],{"type":30,"value":227},{"type":24,"tag":93,"props":261,"children":262},{},[263],{"type":30,"value":264},"46,00 %",{"type":24,"tag":93,"props":266,"children":267},{},[268],{"type":30,"value":269},"30",{"type":24,"tag":93,"props":271,"children":272},{},[273],{"type":30,"value":274},"614",{"type":24,"tag":52,"props":276,"children":277},{},[278,282,287,292,297,301],{"type":24,"tag":93,"props":279,"children":280},{},[281],{"type":30,"value":158},{"type":24,"tag":93,"props":283,"children":284},{},[285],{"type":30,"value":286},"Samsung SSD 850 PRO 128GB",{"type":24,"tag":93,"props":288,"children":289},{},[290],{"type":30,"value":291},"sata",{"type":24,"tag":93,"props":293,"children":294},{},[295],{"type":30,"value":296},"37,00 %",{"type":24,"tag":93,"props":298,"children":299},{},[300],{"type":30,"value":205},{"type":24,"tag":93,"props":302,"children":303},{},[304],{"type":30,"value":305},"2437",{"type":24,"tag":52,"props":307,"children":308},{},[309,313,318,323,328,333],{"type":24,"tag":93,"props":310,"children":311},{},[312],{"type":30,"value":250},{"type":24,"tag":93,"props":314,"children":315},{},[316],{"type":30,"value":317},"Samsung SSD 860 PRO 512GB",{"type":24,"tag":93,"props":319,"children":320},{},[321],{"type":30,"value":322},"SATA",{"type":24,"tag":93,"props":324,"children":325},{},[326],{"type":30,"value":327},"87,00 %",{"type":24,"tag":93,"props":329,"children":330},{},[331],{"type":30,"value":332},"185",{"type":24,"tag":93,"props":334,"children":335},{},[336],{"type":30,"value":337},"3700",{"type":24,"tag":52,"props":339,"children":340},{},[341,346,351,354,358,363],{"type":24,"tag":93,"props":342,"children":343},{},[344],{"type":30,"value":345},"Daneil",{"type":24,"tag":93,"props":347,"children":348},{},[349],{"type":30,"value":350},"Samsung SSD 970 EVO Plus 1TB",{"type":24,"tag":93,"props":352,"children":353},{},[],{"type":24,"tag":93,"props":355,"children":356},{},[357],{"type":30,"value":110},{"type":24,"tag":93,"props":359,"children":360},{},[361],{"type":30,"value":362},"480",{"type":24,"tag":93,"props":364,"children":365},{},[366],{"type":30,"value":367},"9614",{"type":24,"tag":52,"props":369,"children":370},{},[371,375,380,383,388,393],{"type":24,"tag":93,"props":372,"children":373},{},[374],{"type":30,"value":218},{"type":24,"tag":93,"props":376,"children":377},{},[378],{"type":30,"value":379},"Sabrent Rocket Q 2TB",{"type":24,"tag":93,"props":381,"children":382},{},[],{"type":24,"tag":93,"props":384,"children":385},{},[386],{"type":30,"value":387},"26,00 %",{"type":24,"tag":93,"props":389,"children":390},{},[391],{"type":30,"value":392},"237",{"type":24,"tag":93,"props":394,"children":395},{},[396],{"type":30,"value":397},"4749",{"type":24,"tag":52,"props":399,"children":400},{},[401,406,411,414,418,422],{"type":24,"tag":93,"props":402,"children":403},{},[404],{"type":30,"value":405},"Marcel",{"type":24,"tag":93,"props":407,"children":408},{},[409],{"type":30,"value":410},"Patriot Scorch M2 256GB",{"type":24,"tag":93,"props":412,"children":413},{},[],{"type":24,"tag":93,"props":415,"children":416},{},[417],{"type":30,"value":110},{"type":24,"tag":93,"props":419,"children":420},{},[421],{"type":30,"value":205},{"type":24,"tag":93,"props":423,"children":424},{},[425],{"type":30,"value":426},"2440",{"type":24,"tag":33,"props":428,"children":429},{},[430],{"type":30,"value":431},"As you can see, the Curical P1 SSD is 2x, partially 3x faster than the Samsung Pro SSDs - even though the Curical costs only a third. You can also see that the 860 Pro Sata SSD from Daniel is faster than all Samsung NVME Pro SSDs. If you look for the phenomena on google, you will find other people who have observed the same problem. The Samsung PRO NVME SSDs seem to have a problem with frequent fsync calls.I have used sysbench 1.0.18 with the oltp_read_write benchmark on all machines. They all use BTRFS as filesystem and the MySQL filesystem was mounted with nodatacow, which improves performance. In the table, TPS stands for transactions per second and QPS for queries per second - both values were read from the sysbench statistics.",{"type":24,"tag":33,"props":433,"children":434},{},[435],{"type":30,"value":436},"Since our database performance is very important to our software developers, I will avoid the Samsung pro NVME SSDs in the future and give other manufacturers a chance. The SSD is still fine for Gaming, Movie editing and stuff, just not for requent fsyncs.",{"type":24,"tag":33,"props":438,"children":439},{},[440],{"type":24,"tag":441,"props":442,"children":443},"strong",{},[444],{"type":30,"value":445},"Edit: looks like the 970 EVO Plus SSD is not affected by this problem.",{"type":24,"tag":33,"props":447,"children":448},{},[449],{"type":30,"value":450},"sysbench commands used:",{"type":24,"tag":452,"props":453,"children":457},"pre",{"className":454,"code":455,"language":456,"meta":7,"style":7},"language-bash shiki shiki-themes github-dark github-dark monokai","sysbench oltp_read_write --table-size=2500000 --mysql-user=root --db-driver=mysql --mysql-password=  prepare\nsysbench oltp_read_write --table-size=2500000 --mysql-user=root --db-driver=mysql --mysql-password=  --time=120 run\n","bash",[458],{"type":24,"tag":459,"props":460,"children":461},"code",{"__ignoreMap":7},[462,506],{"type":24,"tag":463,"props":464,"children":467},"span",{"class":465,"line":466},"line",1,[468,474,480,486,491,496,501],{"type":24,"tag":463,"props":469,"children":471},{"style":470},"--shiki-default:#B392F0;--shiki-dark:#B392F0;--shiki-sepia:#A6E22E",[472],{"type":30,"value":473},"sysbench",{"type":24,"tag":463,"props":475,"children":477},{"style":476},"--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF;--shiki-sepia:#E6DB74",[478],{"type":30,"value":479}," oltp_read_write",{"type":24,"tag":463,"props":481,"children":483},{"style":482},"--shiki-default:#79B8FF;--shiki-dark:#79B8FF;--shiki-sepia:#AE81FF",[484],{"type":30,"value":485}," --table-size=2500000",{"type":24,"tag":463,"props":487,"children":488},{"style":482},[489],{"type":30,"value":490}," --mysql-user=root",{"type":24,"tag":463,"props":492,"children":493},{"style":482},[494],{"type":30,"value":495}," --db-driver=mysql",{"type":24,"tag":463,"props":497,"children":498},{"style":482},[499],{"type":30,"value":500}," --mysql-password=",{"type":24,"tag":463,"props":502,"children":503},{"style":476},[504],{"type":30,"value":505},"  prepare\n",{"type":24,"tag":463,"props":507,"children":509},{"class":465,"line":508},2,[510,514,518,522,526,530,534,539],{"type":24,"tag":463,"props":511,"children":512},{"style":470},[513],{"type":30,"value":473},{"type":24,"tag":463,"props":515,"children":516},{"style":476},[517],{"type":30,"value":479},{"type":24,"tag":463,"props":519,"children":520},{"style":482},[521],{"type":30,"value":485},{"type":24,"tag":463,"props":523,"children":524},{"style":482},[525],{"type":30,"value":490},{"type":24,"tag":463,"props":527,"children":528},{"style":482},[529],{"type":30,"value":495},{"type":24,"tag":463,"props":531,"children":532},{"style":482},[533],{"type":30,"value":500},{"type":24,"tag":463,"props":535,"children":536},{"style":482},[537],{"type":30,"value":538},"  --time=120",{"type":24,"tag":463,"props":540,"children":541},{"style":476},[542],{"type":30,"value":543}," run\n",{"type":24,"tag":545,"props":546,"children":547},"style",{},[548],{"type":30,"value":549},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}html.sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}",{"title":7,"searchDepth":508,"depth":508,"links":551},[552],{"id":27,"depth":508,"text":31},"markdown","common:en:blog:6.why-we-dont-use-samsung-nvme-pro-ssds-anymore.md","common","en/blog/6.why-we-dont-use-samsung-nvme-pro-ssds-anymore.md","en/blog/6.why-we-dont-use-samsung-nvme-pro-ssds-anymore","md",{"_path":560,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":561,"description":562,"author":10,"image":563,"releaseDate":564,"blogCategories":565,"articleTags":566,"tags":567,"_type":553,"_id":568,"_source":555,"_file":569,"_stem":570,"_extension":558},"/en/blog/raid5-vs-raid10-performance-benchmark-mdadm","RAID5 vs Raid10 Performance Benchmark MDADM","Comment and investigation in RAID performance RAID 5 vs RAID10 has been discussed for ages; it's common knowledge that RAID10 offers better performance – but how much depends on the actual implementation, hardware and use-case. I just got a server with 4 x 16TB …","/blog/thumbnails/RAID_white.png","2019-11-06",[14,15],[17],[19],"common:en:blog:5.raid5-vs-raid10-performance-benchmark-mdadm.md","en/blog/5.raid5-vs-raid10-performance-benchmark-mdadm.md","en/blog/5.raid5-vs-raid10-performance-benchmark-mdadm",{"_path":572,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":573,"description":574,"author":10,"image":575,"releaseDate":576,"blogCategories":577,"tags":578,"_type":553,"_id":579,"_source":555,"_file":580,"_stem":581,"_extension":558},"/en/blog/proper-chroot-in-rescue-mode-using-arch-chroot","Proper CHROOT in rescue mode using arch-chroot","Most Sysadmins know how to setup a basic chroot on a mounted filesystem (mount-binding dev, proc and sys) but this does not work in any case; for a complete chroot setup you would aso need dev/pts dev/shm, run, tmp, a working resolve.conf and more. After you have set it up, and you want to bring it ...","/images/linux_os-mono.svg","2020-04-17",[14,15],[19],"common:en:blog:7.proper-chroot-in-rescue-mode-using-arch-chroot.md","en/blog/7.proper-chroot-in-rescue-mode-using-arch-chroot.md","en/blog/7.proper-chroot-in-rescue-mode-using-arch-chroot",{"_path":583},"/blog/warum-wir-keine-samsung-nvme-pro-ssds-mehr-verwenden",{"_path":4},{"_path":586,"_dir":587,"_draft":6,"_partial":6,"_locale":7,"slug":10,"teams":588,"primaryTeam":590,"firstName":218,"lastName":591,"prefixTitle":7,"suffixTitle":7,"education":592,"executiveRole":597,"role":598,"workingSince":606,"inTheCompanySince":607,"techSkills":608,"skills":653,"projects":666,"contactDetails":679,"_image":683,"image":684,"_id":685,"_type":686,"title":687,"_source":587,"_file":688,"_stem":689,"_extension":686},"/employees/bernd-helm","employees",[589,590],"ai","devOps","Helm",[593],[594,595,596],"B. Sc. Angewandte Informatik","FHDW Dresden","2010","CTO",[599,600,590,601,602,603,604,605],"founder","chiefTechnologyOfficer","databaseSpecialist","admin","softwareDeveloper","backendDeveloper","consultant","2005","2008",[609,613,615,617,620,622,625,627,629,631,634,638,641,644,647,650],{"name":610,"level":611,"icon":612},"Docker","expert","/images/Docker.svg",{"name":614,"level":611,"icon":575},"Linux",{"name":616,"level":611},"Zabbix",{"name":618,"level":611,"icon":619},"MariaDB ColumnStore","/images/maria-db-logo.svg",{"name":621,"level":611},"OpenAI",{"name":623,"level":611,"icon":624},"Pytorch","/images/PyTorch.svg",{"name":626,"level":611},"PHP",{"name":628,"level":611},"Java",{"name":630,"level":611},"Python",{"name":632,"level":611,"icon":633},"SQL","/images/SQL.svg",{"name":635,"level":636,"icon":637},"C++","advanced","/images/cpp-logo.svg",{"name":639,"level":636,"icon":640},"C#","/images/csharp.svg",{"name":642,"level":636,"icon":643},"CSS","/images/css.svg",{"name":645,"level":636,"icon":646},"HTML","/images/html.svg",{"name":648,"level":636,"icon":649},"OpenCV","/images/OpenCV.svg",{"name":651,"level":636,"icon":652},"Vue.js","/images/vuejs.svg",[654,656,658,660,662,664],{"name":655,"level":611},"artificialIntelligence",{"name":657,"level":611},"codingGuidelines",{"name":659,"level":611},"databases",{"name":661,"level":611},"linuxServerAdministration",{"name":663,"level":611},"softwareArchitect",{"name":665,"level":636},"qualityAssurance",[667,670,672,674,677],{"project":668,"position":669},"Gridside","Technical Consultant",{"project":671,"position":669},"Herole",{"project":673,"position":669},"Montagespezis",{"project":675,"position":676},"Orsee","Technical Manager",{"project":678,"position":669},"Vipr",{"eMail":680,"phone":681,"visibility":682},"bernd.helm@helmundwalter.de","+49 351 799 035 20","1","images/employees/Portraits/bernd_helm.webp","images/employees/Portraits/BerndHelm_MS.webp","employees:employees:1.bernd-helm.json","json","Bernd Helm","employees/1.bernd-helm.json","employees/1.bernd-helm",{"_path":560,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":561,"description":562,"author":10,"image":563,"releaseDate":564,"blogCategories":691,"articleTags":692,"tags":693,"body":694,"_type":553,"_id":568,"_source":555,"_file":569,"_stem":570,"_extension":558},[14,15],[17],[19],{"type":21,"children":695,"toc":864},[696,702,707,712,718,738,744,749,758,763,768,773,778,784,789,799,809,819,824,829,838,843,849,854,859],{"type":24,"tag":25,"props":697,"children":699},{"id":698},"comment-and-investigation-in-raid-performance",[700],{"type":30,"value":701},"Comment and Investigation in RAID Performance",{"type":24,"tag":33,"props":703,"children":704},{},[705],{"type":30,"value":706},"RAID 5 vs RAID10 has been discussed for ages; its common knowledge that RAID10 offers better performance – but how much depends on the actual implementation, hardware and use-case.",{"type":24,"tag":33,"props":708,"children":709},{},[710],{"type":30,"value":711},"I just got a Server with 4 x 16TB of disks, all brand new, and decided to give it a test to find out if the performance gains of raid 10 justify the smaller usable disk space. We plan to use it as a Backup-Server so our workload is mostly sequential write.",{"type":24,"tag":25,"props":713,"children":715},{"id":714},"testing-methodology",[716],{"type":30,"value":717},"Testing Methodology",{"type":24,"tag":33,"props":719,"children":720},{},[721,723,729,731,736],{"type":30,"value":722},"All tests are executed using ",{"type":24,"tag":724,"props":725,"children":726},"em",{},[727],{"type":30,"value":728},"fio",{"type":30,"value":730}," with ",{"type":24,"tag":724,"props":732,"children":733},{},[734],{"type":30,"value":735},"iodepth=32 direct=1 ioengine=libaio refill_buffers",{"type":30,"value":737}," and a time limit of 60 seconds. the sequential read and write tests are done with 1024k block size and 1 process. The random read/write tests with 4k block size and 4 processes. For testing, a 30GB partition on the start of each disk is used. The Linux kernel version is 5.10.",{"type":24,"tag":25,"props":739,"children":741},{"id":740},"plain-disk-performance",[742],{"type":30,"value":743},"Plain Disk performance",{"type":24,"tag":33,"props":745,"children":746},{},[747],{"type":30,"value":748},"Before I get to the actual testing, I want to get the baseline of a single disks performance and also make sure that all disks are performing similar.",{"type":24,"tag":750,"props":751,"children":757},"img",{"alt":752,"aspect-ratio":753,"height":754,"object-fit":755,"src":756},"raid_1","2",200,"contain","/blog/raid_1.png",[],{"type":24,"tag":750,"props":759,"children":762},{"alt":760,"aspect-ratio":753,"height":754,"object-fit":755,"src":761},"raid_2","/blog/raid_2.png",[],{"type":24,"tag":750,"props":764,"children":767},{"alt":765,"aspect-ratio":753,"height":754,"object-fit":755,"src":766},"raid_3","/blog/raid_3.png",[],{"type":24,"tag":750,"props":769,"children":772},{"alt":770,"aspect-ratio":753,"height":754,"object-fit":755,"src":771},"raid_4","/blog/raid_4.png",[],{"type":24,"tag":33,"props":774,"children":775},{},[776],{"type":30,"value":777},"Everything looks nice a flat here as it should. We have around 268MB/s sequential read and write and a random IOPS performance of 550 read / 480 write.",{"type":24,"tag":25,"props":779,"children":781},{"id":780},"raid-5-vs-raid-10",[782],{"type":30,"value":783},"Raid 5 vs Raid 10",{"type":24,"tag":750,"props":785,"children":788},{"alt":786,"aspect-ratio":753,"height":754,"object-fit":755,"src":787},"raid_5","/blog/raid_5.png",[],{"type":24,"tag":33,"props":790,"children":791},{},[792,794],{"type":30,"value":793},"The Seq. Reading performance between RAID5 and RAID10 is smaller than i would have guessed. The far2 layout really makes a difference here.\n",{"type":24,"tag":750,"props":795,"children":798},{"alt":796,"aspect-ratio":753,"height":754,"object-fit":755,"src":797},"raid_6","/blog/raid_6.png",[],{"type":24,"tag":33,"props":800,"children":801},{},[802,804],{"type":30,"value":803},"With Seq. writing, we see real differences. The „Classic“ Raid10 shows the best write speed, while the far2 and raid5 are each a step-down.\n",{"type":24,"tag":750,"props":805,"children":808},{"alt":806,"aspect-ratio":753,"height":754,"object-fit":755,"src":807},"raid_7","/blog/raid_7.png",[],{"type":24,"tag":33,"props":810,"children":811},{},[812,814],{"type":30,"value":813},"Interestingly, there is not much difference on the random read test, which i would not have expected.\n",{"type":24,"tag":750,"props":815,"children":818},{"alt":816,"aspect-ratio":753,"height":754,"object-fit":755,"src":817},"raid_8","/blog/raid_8.png",[],{"type":24,"tag":33,"props":820,"children":821},{},[822],{"type":30,"value":823},"The Rand Write graph looks very similar to the Seq Write graph. Only difference is that the classic raid10 can handle random writes better than sequential ones.",{"type":24,"tag":33,"props":825,"children":826},{},[827],{"type":30,"value":828},"MDADM has multiple implementations on how the raid works internally. For raid10 i tested the „near 2“ and „far 2“ layouts, where „near 2“ is the default. From the docs:",{"type":24,"tag":830,"props":831,"children":832},"blockquote",{},[833],{"type":24,"tag":33,"props":834,"children":835},{},[836],{"type":30,"value":837},"The advantage of this (… far 2) layout is that MD can easily spread sequential reads over the devices, making them similar to RAID0 in terms of speed. The cost is more seeking for writes, making them substantially slower.",{"type":24,"tag":33,"props":839,"children":840},{},[841],{"type":30,"value":842},"Yes, this can be seen on the benchmark graphs",{"type":24,"tag":25,"props":844,"children":846},{"id":845},"conclusions",[847],{"type":30,"value":848},"Conclusions",{"type":24,"tag":33,"props":850,"children":851},{},[852],{"type":30,"value":853},"From my tests, it looks like the reading performance difference is neglect. On Writing, RAID10 has a huge advantage.",{"type":24,"tag":33,"props":855,"children":856},{},[857],{"type":30,"value":858},"For our Backup-Server, we go with Raid 5, because it is 3x faster than the 1GBit network card of the server and won't bottleneck our backup- or restore processes.",{"type":24,"tag":33,"props":860,"children":861},{},[862],{"type":30,"value":863},"If you have a more critical use case, i advice to do your own benchmarks that reflect your workload better. Especially if you are using SSDs, the results can be drastically different.",{"title":7,"searchDepth":508,"depth":508,"links":865},[866,867,868,869,870],{"id":698,"depth":508,"text":701},{"id":714,"depth":508,"text":717},{"id":740,"depth":508,"text":743},{"id":780,"depth":508,"text":783},{"id":845,"depth":508,"text":848},{"_path":572,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":573,"description":574,"author":10,"image":575,"releaseDate":576,"blogCategories":872,"tags":873,"body":874,"_type":553,"_id":579,"_source":555,"_file":580,"_stem":581,"_extension":558},[14,15],[19],{"type":21,"children":875,"toc":1103},[876,881,886,908,913,965,970,1094,1099],{"type":24,"tag":33,"props":877,"children":878},{},[879],{"type":30,"value":880},"Most Sysadmins know how to set up a basic chroot on a mounted filesystem (mount-binding dev, proc and sys) but this does not work in any case; for a complete chroot setup you would aso need dev/pts dev/shm, run, tmp, a working resolve.conf and more. After you have set it up, and you want to bring it down, you have to do a lot of typing again. But wait! There is a better solution.",{"type":24,"tag":33,"props":882,"children":883},{},[884],{"type":30,"value":885},"There is a script called arch-chroot shipped with the Archlinux distribution, but it is not limited to be run with Archlinux. It works on any linux distri!",{"type":24,"tag":33,"props":887,"children":888},{},[889,891,898,900,906],{"type":30,"value":890},"For your convenience, I have ",{"type":24,"tag":892,"props":893,"children":895},"a",{"href":894},"https://gist.github.com/bhelm/65283c37a0cb585089041214002df4f7",[896],{"type":30,"value":897},"created a gist",{"type":30,"value":899}," for you. You can also use the Direct ",{"type":24,"tag":892,"props":901,"children":903},{"href":902},"https://gist.githubusercontent.com/bhelm/65283c37a0cb585089041214002df4f7/raw/536099a5f969a6888c85e48a487ec19870c596a2/arch-chroot.sh",[904],{"type":30,"value":905},"download link for wget",{"type":30,"value":907},".",{"type":24,"tag":33,"props":909,"children":910},{},[911],{"type":30,"value":912},"you can install it like this:",{"type":24,"tag":452,"props":914,"children":916},{"className":454,"code":915,"language":456,"meta":7,"style":7},"wget https://gist.githubusercontent.com/bhelm/65283c37a0cb585089041214002df4f7/raw/536099a5f969a6888c85e48a487ec19870c596a2/arch-chroot.sh\nchmod +x arch-chroot.sh\n./arch-chroot.sh -h\n",[917],{"type":24,"tag":459,"props":918,"children":919},{"__ignoreMap":7},[920,933,951],{"type":24,"tag":463,"props":921,"children":922},{"class":465,"line":466},[923,928],{"type":24,"tag":463,"props":924,"children":925},{"style":470},[926],{"type":30,"value":927},"wget",{"type":24,"tag":463,"props":929,"children":930},{"style":476},[931],{"type":30,"value":932}," https://gist.githubusercontent.com/bhelm/65283c37a0cb585089041214002df4f7/raw/536099a5f969a6888c85e48a487ec19870c596a2/arch-chroot.sh\n",{"type":24,"tag":463,"props":934,"children":935},{"class":465,"line":508},[936,941,946],{"type":24,"tag":463,"props":937,"children":938},{"style":470},[939],{"type":30,"value":940},"chmod",{"type":24,"tag":463,"props":942,"children":943},{"style":476},[944],{"type":30,"value":945}," +x",{"type":24,"tag":463,"props":947,"children":948},{"style":476},[949],{"type":30,"value":950}," arch-chroot.sh\n",{"type":24,"tag":463,"props":952,"children":954},{"class":465,"line":953},3,[955,960],{"type":24,"tag":463,"props":956,"children":957},{"style":470},[958],{"type":30,"value":959},"./arch-chroot.sh",{"type":24,"tag":463,"props":961,"children":962},{"style":482},[963],{"type":30,"value":964}," -h\n",{"type":24,"tag":33,"props":966,"children":967},{},[968],{"type":30,"value":969},"Using this script, I was able to install grub without getting errors like:",{"type":24,"tag":452,"props":971,"children":973},{"className":454,"code":972,"language":456,"meta":7,"style":7},"grub-install: error: cannot find a device for /boot/grub (is /dev mounted?).\ngrub-probe: error: cannot find a device for / (is /dev mounted?).\n",[974],{"type":24,"tag":459,"props":975,"children":976},{"__ignoreMap":7},[977,1041],{"type":24,"tag":463,"props":978,"children":979},{"class":465,"line":466},[980,985,990,995,1000,1005,1010,1015,1020,1026,1031,1036],{"type":24,"tag":463,"props":981,"children":982},{"style":470},[983],{"type":30,"value":984},"grub-install:",{"type":24,"tag":463,"props":986,"children":987},{"style":476},[988],{"type":30,"value":989}," error:",{"type":24,"tag":463,"props":991,"children":992},{"style":476},[993],{"type":30,"value":994}," cannot",{"type":24,"tag":463,"props":996,"children":997},{"style":476},[998],{"type":30,"value":999}," find",{"type":24,"tag":463,"props":1001,"children":1002},{"style":476},[1003],{"type":30,"value":1004}," a",{"type":24,"tag":463,"props":1006,"children":1007},{"style":476},[1008],{"type":30,"value":1009}," device",{"type":24,"tag":463,"props":1011,"children":1012},{"style":476},[1013],{"type":30,"value":1014}," for",{"type":24,"tag":463,"props":1016,"children":1017},{"style":476},[1018],{"type":30,"value":1019}," /boot/grub",{"type":24,"tag":463,"props":1021,"children":1023},{"style":1022},"--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8;--shiki-sepia:#F8F8F2",[1024],{"type":30,"value":1025}," (is ",{"type":24,"tag":463,"props":1027,"children":1028},{"style":476},[1029],{"type":30,"value":1030},"/dev",{"type":24,"tag":463,"props":1032,"children":1033},{"style":476},[1034],{"type":30,"value":1035}," mounted?",{"type":24,"tag":463,"props":1037,"children":1038},{"style":1022},[1039],{"type":30,"value":1040},").\n",{"type":24,"tag":463,"props":1042,"children":1043},{"class":465,"line":508},[1044,1049,1053,1057,1061,1065,1069,1073,1078,1082,1086,1090],{"type":24,"tag":463,"props":1045,"children":1046},{"style":470},[1047],{"type":30,"value":1048},"grub-probe:",{"type":24,"tag":463,"props":1050,"children":1051},{"style":476},[1052],{"type":30,"value":989},{"type":24,"tag":463,"props":1054,"children":1055},{"style":476},[1056],{"type":30,"value":994},{"type":24,"tag":463,"props":1058,"children":1059},{"style":476},[1060],{"type":30,"value":999},{"type":24,"tag":463,"props":1062,"children":1063},{"style":476},[1064],{"type":30,"value":1004},{"type":24,"tag":463,"props":1066,"children":1067},{"style":476},[1068],{"type":30,"value":1009},{"type":24,"tag":463,"props":1070,"children":1071},{"style":476},[1072],{"type":30,"value":1014},{"type":24,"tag":463,"props":1074,"children":1075},{"style":476},[1076],{"type":30,"value":1077}," /",{"type":24,"tag":463,"props":1079,"children":1080},{"style":1022},[1081],{"type":30,"value":1025},{"type":24,"tag":463,"props":1083,"children":1084},{"style":476},[1085],{"type":30,"value":1030},{"type":24,"tag":463,"props":1087,"children":1088},{"style":476},[1089],{"type":30,"value":1035},{"type":24,"tag":463,"props":1091,"children":1092},{"style":1022},[1093],{"type":30,"value":1040},{"type":24,"tag":33,"props":1095,"children":1096},{},[1097],{"type":30,"value":1098},"If you are looking for a perfect rescue system, i recommend the archlinux install image; it contains the arch-chroot script, all low level tools needed to format hard drives and even supports mounting of ntfs read-write and accessing samba shares.",{"type":24,"tag":545,"props":1100,"children":1101},{},[1102],{"type":30,"value":549},{"title":7,"searchDepth":508,"depth":508,"links":1104},[],{"_path":586,"_dir":587,"_draft":6,"_partial":6,"_locale":7,"slug":10,"teams":1106,"primaryTeam":590,"firstName":218,"lastName":591,"prefixTitle":7,"suffixTitle":7,"education":1107,"executiveRole":597,"role":1109,"workingSince":606,"inTheCompanySince":607,"techSkills":1110,"skills":1127,"projects":1134,"contactDetails":1140,"_image":683,"image":684,"_id":685,"_type":686,"title":687,"_source":587,"_file":688,"_stem":689,"_extension":686},[589,590],[1108],[594,595,596],[599,600,590,601,602,603,604,605],[1111,1112,1113,1114,1115,1116,1117,1118,1119,1120,1121,1122,1123,1124,1125,1126],{"name":610,"level":611,"icon":612},{"name":614,"level":611,"icon":575},{"name":616,"level":611},{"name":618,"level":611,"icon":619},{"name":621,"level":611},{"name":623,"level":611,"icon":624},{"name":626,"level":611},{"name":628,"level":611},{"name":630,"level":611},{"name":632,"level":611,"icon":633},{"name":635,"level":636,"icon":637},{"name":639,"level":636,"icon":640},{"name":642,"level":636,"icon":643},{"name":645,"level":636,"icon":646},{"name":648,"level":636,"icon":649},{"name":651,"level":636,"icon":652},[1128,1129,1130,1131,1132,1133],{"name":655,"level":611},{"name":657,"level":611},{"name":659,"level":611},{"name":661,"level":611},{"name":663,"level":611},{"name":665,"level":636},[1135,1136,1137,1138,1139],{"project":668,"position":669},{"project":671,"position":669},{"project":673,"position":669},{"project":675,"position":676},{"project":678,"position":669},{"eMail":680,"phone":681,"visibility":682},[1142,1157],{"_path":1143,"_dir":1144,"_draft":6,"_partial":1145,"_locale":7,"name":1146,"slug":1144,"text":1147,"hoverText":1148,"image":1149,"customer":1146,"tags":1150,"_id":1152,"_type":1153,"title":1154,"_source":555,"_file":1155,"_stem":1156,"_extension":1153},"/en/portfolio/pixelx/_teaser","pixelx",true,"PixelX","IT Security with Precision and Expertise","For PixelX, we conducted a targeted security analysis where, thanks to our deep technical understanding, we were able to identify a critical SQL injection vulnerability. With minimal time investment, we achieved maximum security gain.","/images/portfolio/pixelx/pixelx_secured.png",[1151,19],"security","common:en:portfolio:9010.pixelx:_teaser.yaml","yaml","Teaser","en/portfolio/9010.pixelx/_teaser.yaml","en/portfolio/9010.pixelx/_teaser",{"_path":1158,"_dir":1159,"_draft":6,"_partial":1145,"_locale":7,"name":1160,"slug":1159,"text":1161,"hoverText":1162,"image":1163,"customer":1160,"tags":1164,"_id":1165,"_type":1153,"title":1154,"_source":555,"_file":1166,"_stem":1167,"_extension":1153},"/en/portfolio/slimspots/_teaser","slimspots","SlimSpots","Processing large amounts of data in real-time","For SlimSpots, a global provider of ad marketing solutions, we developed a highly scalable infrastructure that enables the processing of trillions of data records in real-time.","/images/portfolio/slimspots/slim_spots_prtfolio.png",[659,19],"common:en:portfolio:9020.slimspots:_teaser.yaml","en/portfolio/9020.slimspots/_teaser.yaml","en/portfolio/9020.slimspots/_teaser",1782284053145]