{"id":2192,"date":"2017-10-19T03:48:37","date_gmt":"2017-10-19T03:48:37","guid":{"rendered":"http:\/\/nvmw.ucsd.edu\/nvmw-2019\/?p=2192"},"modified":"2018-01-19T12:45:22","modified_gmt":"2018-01-19T20:45:22","slug":"persistent-memory-programming-tutorial","status":"publish","type":"post","link":"https:\/\/nvmw.ucsd.edu\/2019\/2017\/10\/19\/persistent-memory-programming-tutorial\/","title":{"rendered":"Persistent Memory Programming Tutorial"},"content":{"rendered":"<section class=\"l-section wpb_row height_medium color_custom\" style=\"background-color: #ffffff;padding-right: 2% !important;padding-left: 2% !important;\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row type_default valign_top\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"g-cols wpb_row type_default valign_top vc_inner  vc_custom_1508397143555\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3 style=\"text-align: center; color: #38a5dd;\">Persistent Memory Programming Tutorial<\/h3>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/div><\/div><\/div><\/div><div class=\"g-cols wpb_row type_default valign_top vc_inner \"><div class=\"vc_col-sm-3 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1744 aligncenter\" src=\"https:\/\/nvmw.ucsd.edu\/wp-content\/uploads\/sites\/12\/2017\/08\/Andy-Rudoff-225x300.jpg\" alt=\"\" width=\"225\" height=\"300\" srcset=\"https:\/\/nvmw.ucsd.edu\/2019\/wp-content\/uploads\/sites\/12\/2017\/08\/Andy-Rudoff-225x300.jpg 225w, https:\/\/nvmw.ucsd.edu\/2019\/wp-content\/uploads\/sites\/12\/2017\/08\/Andy-Rudoff.jpg 300w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3 style=\"text-align: center; color: #38a5dd;\">Speaker Name<\/h3>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h5 style=\"text-align: center; color: #38a5dd;\">&lt;Speaker Affiliation&gt;<\/h5>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/div><\/div><\/div><div class=\"vc_col-sm-9 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p><strong>Abstract:<\/strong>\u00a0How can applications best leverage persistent memory? What programming support &amp; tools are available? The existence of NVDIMMs and the expectation of an explosion in capacity has sparked wide interest in these areas. This tutorial will start with a description of persistent memory products such as the upcoming Intel DIMM based on 3D XPoint technology. Next, the tutorial will cover the basic SNIA NVM Programming Model used by operating systems to expose persistent memory to applications. Andy will walk through code examples showing how applications get access to persistent memory and will pay special attention to safe programming practices such as flushing to persistence, atomic operations, and writing power-fail safe code. He will describe how CPU instructions designed for atomic operations, cache flushing, and fencing interact with persistent memory. Andy will then walk through some more complex examples of persistent memory programming in C, C++, and Java. Using the open source NVM Libraries from http:\/\/pmem.io, he will show how to solve the common programming pain points and how the higher-level languages can help avoid common persistent memory programming mistakes.<br \/>\n<strong><br \/>\nBio:<\/strong>\u00a0Andy Rudoff is a Principal Engineer at Intel Corporation, focusing on Non-Volatile Memory programming. He is a contributor to the SNIA NVM Programming Technical Work Group. His more than 30 years industry experience includes design and development work in operating systems, file systems, networking, and fault management at companies large and small, including Sun Microsystems and VMware. Andy has taught various Operating Systems classes over the years and is a co-author of the popular UNIX Network Programming text book.<br \/>\n<strong><br \/>\nAuthors:<\/strong>\u00a0&lt;author1 first&gt; &lt;author1 last&gt;, &lt;author1 affiliation&gt;;\u00a0&lt;author2 first&gt; &lt;author2 last&gt;, &lt;author2 affiliation&gt;; etc.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"uavc-list-icon uavc-list-icon-wrapper ult-adjust-bottom-margin   \"><ul class=\"uavc-list\"><li><div class=\"uavc-list-content\" id=\"list-icon-wrap-2087\">\n<div class=\"uavc-list-icon  \" data-animation=\"\" data-animation-delay=\"03\" style=\"margin-right:10px;\"><div class=\"ult-just-icon-wrapper  \"><div class=\"align-icon\" style=\"text-align:center;\">\n<div class=\"aio-icon none \"  style=\"color:#333333;font-size:20px;display:inline-block;\">\n\t<i class=\"Defaults-video-camera\"><\/i>\n<\/div><\/div><\/div>\n<\/div><span  data-ultimate-target='#list-icon-wrap-2087 .uavc-list-desc'  data-responsive-json-new='{\"font-size\":\"\",\"line-height\":\"\"}'  class=\"uavc-list-desc ult-responsive\" style=\"\">Watch the video.<\/span><\/div><\/li><li><div class=\"uavc-list-content\" id=\"list-icon-wrap-1813\">\n<div class=\"uavc-list-icon  \" data-animation=\"\" data-animation-delay=\"03\" style=\"margin-right:10px;\"><div class=\"ult-just-icon-wrapper  \"><div class=\"align-icon\" style=\"text-align:center;\">\n<div class=\"aio-icon none \"  style=\"color:#333333;font-size:20px;display:inline-block;\">\n\t<i class=\"Defaults-paperclip\"><\/i>\n<\/div><\/div><\/div>\n<\/div><span  data-ultimate-target='#list-icon-wrap-1813 .uavc-list-desc'  data-responsive-json-new='{\"font-size\":\"\",\"line-height\":\"\"}'  class=\"uavc-list-desc ult-responsive\" style=\"\">Download the paper.<\/span><\/div><\/li><li><div class=\"uavc-list-content\" id=\"list-icon-wrap-2695\">\n<div class=\"uavc-list-icon  \" data-animation=\"\" data-animation-delay=\"03\" style=\"margin-right:10px;\"><div class=\"ult-just-icon-wrapper  \"><div class=\"align-icon\" style=\"text-align:center;\">\n<div class=\"aio-icon none \"  style=\"color:#333333;font-size:20px;display:inline-block;\">\n\t<i class=\"Defaults-image photo picture-o\"><\/i>\n<\/div><\/div><\/div>\n<\/div><span  data-ultimate-target='#list-icon-wrap-2695 .uavc-list-desc'  data-responsive-json-new='{\"font-size\":\"\",\"line-height\":\"\"}'  class=\"uavc-list-desc ult-responsive\" style=\"\">Download the presentation.<\/span><\/div><\/li><\/ul><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Persistent Memory Programming Tutorial Speaker Name &lt;Speaker Affiliation&gt; Abstract:\u00a0How can applications best leverage persistent memory? What programming support &amp; tools are available? The existence of NVDIMMs and the expectation of an explosion in capacity has sparked wide interest in these areas. This tutorial will start with a description of persistent memory products such as the...","protected":false},"author":1,"featured_media":1744,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"footnotes":""},"categories":[10],"tags":[],"class_list":["post-2192","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-program1"],"_links":{"self":[{"href":"https:\/\/nvmw.ucsd.edu\/2019\/wp-json\/wp\/v2\/posts\/2192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nvmw.ucsd.edu\/2019\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nvmw.ucsd.edu\/2019\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nvmw.ucsd.edu\/2019\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nvmw.ucsd.edu\/2019\/wp-json\/wp\/v2\/comments?post=2192"}],"version-history":[{"count":9,"href":"https:\/\/nvmw.ucsd.edu\/2019\/wp-json\/wp\/v2\/posts\/2192\/revisions"}],"predecessor-version":[{"id":2750,"href":"https:\/\/nvmw.ucsd.edu\/2019\/wp-json\/wp\/v2\/posts\/2192\/revisions\/2750"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nvmw.ucsd.edu\/2019\/wp-json\/wp\/v2\/media\/1744"}],"wp:attachment":[{"href":"https:\/\/nvmw.ucsd.edu\/2019\/wp-json\/wp\/v2\/media?parent=2192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nvmw.ucsd.edu\/2019\/wp-json\/wp\/v2\/categories?post=2192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nvmw.ucsd.edu\/2019\/wp-json\/wp\/v2\/tags?post=2192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}