{"id":1570,"date":"2018-07-06T10:15:38","date_gmt":"2018-07-06T14:15:38","guid":{"rendered":"https:\/\/www.ece.ncsu.edu\/?p=230956"},"modified":"2018-07-06T10:15:38","modified_gmt":"2018-07-06T14:15:38","slug":"engineers-invent-new-way-to-speed-up-computer-memory","status":"publish","type":"post","link":"https:\/\/my.ece.ncsu.edu\/communications\/2018\/engineers-invent-new-way-to-speed-up-computer-memory\/","title":{"rendered":"Engineers Invent New Way to Speed Up Computer Memory"},"content":{"rendered":"<p><img decoding=\"async\" width=\"1024\" height=\"616\" src=\"https:\/\/ece.ncsu.edu\/wp-content\/uploads\/2018\/07\/MzA3MjMxMg-1024x616.jpg\" class=\"attachment-large size-large wp-post-image\" alt=\"Intel&#039;s 3D XPoint (Optane) DIMM module.\" loading=\"lazy\" srcset=\"https:\/\/ece.ncsu.edu\/wp-content\/uploads\/2018\/07\/MzA3MjMxMg-1024x616.jpg 1024w, https:\/\/ece.ncsu.edu\/wp-content\/uploads\/2018\/07\/MzA3MjMxMg-452x272.jpg 452w, https:\/\/ece.ncsu.edu\/wp-content\/uploads\/2018\/07\/MzA3MjMxMg-768x462.jpg 768w, https:\/\/ece.ncsu.edu\/wp-content\/uploads\/2018\/07\/MzA3MjMxMg-1080x650.jpg 1080w, https:\/\/ece.ncsu.edu\/wp-content\/uploads\/2018\/07\/MzA3MjMxMg.jpg 1240w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>New memory modules pioneered by Intel and Micron Technology using their new 3D XPoint technology is arriving, with significant advantages over the traditional DRAM chips found in conventional computers. Unlike those DRAM chips, 3D XPoint is non-volatile and recovers nearly instantly from power loss, meaning its data isn&#8217;t lost when the computer loses power.<\/p>\n<p>Additionally, \u201cthis kind of memory is cheaper and denser than DRAM,\u201d says\u00a0<a href=\"https:\/\/www.ece.ncsu.edu\/people\/solihin\/\">Yan Solihin<\/a>, professor of electrical and computer engineering at North Carolina State University. \u201cSo people are predicting\u2014including myself\u2014that eventually DRAM will gradually be replaced by this memory.\u201d<\/p>\n<p>However, the new technology has its drawbacks\u2014it uses more energy and takes longer to write data than traditional DRAM. But this is where research by Solihin, associate professor<a href=\"https:\/\/www.ece.ncsu.edu\/people\/jtuck\/\"> James Tuck<\/a>, and doctoral candidate\u00a0Mohammad Alshboul comes into play. In a paper <a href=\"http:\/\/iscaconf.org\/isca2018\/slides\/6A1.pdf\">presented<\/a> at the <a href=\"http:\/\/iscaconf.org\/isca2018\/index.html\">45th International Symposium on Computer Architecture<\/a> in June, they showed how they&#8217;d managed to significantly reduce the amount of writing needed, thereby speeding up the memory.<\/p>\n<p>Storing data that&#8217;s on a computer&#8217;s memory on a solid-state (SSD) or hard disk drive\u2014making it persistent\u2014involves safeguards to avoid data corruption in the event of a crash. The data is copied from the memory to the processor&#8217;s cache, and then when that process is complete, the data is sent on to the non-volatile memory (traditionally the hard disk or SSD). However, in the event of a power loss, some of that data may be lost in transit. To prevent that, &#8220;eager persistency&#8221; is used, at the expense of a nine percent increase in the transaction time. It also involves about 21 percent more writing to the non-volatile memory\u2014a problem with SSDs with limited writing lifespans.<\/p>\n<p>The method proposed by the team is a significant shift\u2014named &#8220;<a href=\"https:\/\/www.youtube.com\/watch?v=-i6xd_8JC5Q\">lazy persistency<\/a>&#8220;\u2014that leverages the thinking that normal operation should be considered the norm and crashes the exception. Therefore, rather than increasing the amount of work for each everyday operation, the extra work is put in to recover from a crash instead. &#8220;Crashes are rare&#8221;, says Solihin, \u201cso we want to make the common case really fast.\u201d<\/p>\n<p>Whereas eager persistency uses the natural eviction of data from the cache to the main memory as tasks complete in addition to a high rate of artificial eviction that safeguards against data loss, the team&#8217;s lazy persistency allows the natural cycle to simply work without additional effort. Instead, they add a checksum that, in the event of a crash, gets compared by the processor to determine if the data is matched on the non-volatile memory. If the number doesn&#8217;t match, that data is recopied.<\/p>\n<p>\u201cThe recovery process is more complex, but the common case execution becomes a lot faster,\u201d explains Solihin. Only one percent additional effort is added to the process\u2014as opposed to the traditional nine percent\u2014and uses only three percent more writes instead of 21 percent.<\/p>\n<div class=\"epyt-video-wrapper\"><iframe loading=\"lazy\"  style=\"display: block; margin: 0px auto;\"  id=\"_ytid_91249\"  width=\"1080\" height=\"608\"  data-origwidth=\"1080\" data-origheight=\"608\" src=\"https:\/\/www.youtube.com\/embed\/-i6xd_8JC5Q?enablejsapi=1&#038;autoplay=0&#038;%23038;cc_load_policy=0&#038;%23038;cc_lang_pref=&#038;%23038;iv_load_policy=1&#038;%23038;loop=0&#038;%23038;modestbranding=1&#038;%23038;rel=0&#038;%23038;fs=1&#038;%23038;playsinline=0&#038;%23038;autohide=2&#038;%23038;theme=dark&#038;%23038;color=red&#038;%23038;controls=1&#038;%23038;\" class=\"__youtube_prefs__  epyt-is-override  no-lazyload\" title=\"YouTube player\"  allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><\/div>\n","protected":false},"excerpt":{"rendered":"<p><img decoding=\"async\" width=\"1024\" height=\"616\" src=\"https:\/\/ece.ncsu.edu\/wp-content\/uploads\/2018\/07\/MzA3MjMxMg-1024x616.jpg\" class=\"attachment-large size-large wp-post-image\" alt=\"Intel's 3D XPoint (Optane) DIMM module.\" loading=\"lazy\" srcset=\"https:\/\/ece.ncsu.edu\/wp-content\/uploads\/2018\/07\/MzA3MjMxMg-1024x616.jpg 1024w, https:\/\/ece.ncsu.edu\/wp-content\/uploads\/2018\/07\/MzA3MjMxMg-452x272.jpg 452w, https:\/\/ece.ncsu.edu\/wp-content\/uploads\/2018\/07\/MzA3MjMxMg-768x462.jpg 768w, https:\/\/ece.ncsu.edu\/wp-content\/uploads\/2018\/07\/MzA3MjMxMg-1080x650.jpg 1080w, https:\/\/ece.ncsu.edu\/wp-content\/uploads\/2018\/07\/MzA3MjMxMg.jpg 1240w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\">Memory modules using Intel\u2019s 3D XPoint technology are arriving, and engineers at NC State have already figured out how to speed them up with a new method.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"ncst_dynamicHeaderBlockName":"","ncst_dynamicHeaderData":"","ncst_content_audit_freq":"","ncst_content_audit_date":"","ncst_content_audit_display":false,"ncst_backToTopFlag":"","footnotes":""},"categories":[262,263,180,261,264],"tags":[],"class_list":["post-1570","post","type-post","status-publish","format-standard","hentry","category-intel","category-memory","category-research","category-solihin","category-tuck"],"displayCategory":null,"acf":{"ncst_posts_meta_modified_date":null},"_links":{"self":[{"href":"https:\/\/my.ece.ncsu.edu\/communications\/wp-json\/wp\/v2\/posts\/1570","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/my.ece.ncsu.edu\/communications\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/my.ece.ncsu.edu\/communications\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/my.ece.ncsu.edu\/communications\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/my.ece.ncsu.edu\/communications\/wp-json\/wp\/v2\/comments?post=1570"}],"version-history":[{"count":2,"href":"https:\/\/my.ece.ncsu.edu\/communications\/wp-json\/wp\/v2\/posts\/1570\/revisions"}],"predecessor-version":[{"id":2676,"href":"https:\/\/my.ece.ncsu.edu\/communications\/wp-json\/wp\/v2\/posts\/1570\/revisions\/2676"}],"wp:attachment":[{"href":"https:\/\/my.ece.ncsu.edu\/communications\/wp-json\/wp\/v2\/media?parent=1570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/my.ece.ncsu.edu\/communications\/wp-json\/wp\/v2\/categories?post=1570"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/my.ece.ncsu.edu\/communications\/wp-json\/wp\/v2\/tags?post=1570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}