{"id":5751,"date":"2022-03-14T10:15:32","date_gmt":"2022-03-14T17:15:32","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/pix\/?p=5751"},"modified":"2022-03-14T11:15:51","modified_gmt":"2022-03-14T18:15:51","slug":"pix-support-for-directstorage","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/pix\/pix-support-for-directstorage\/","title":{"rendered":"PIX-2203.07: Support for DirectStorage"},"content":{"rendered":"<p><span class=\"TextRun SCXW209655643 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW209655643 BCX8\" data-ccp-parastyle=\"No Spacing\">Today we released <\/span><\/span><a href=\"https:\/\/devblogs.microsoft.com\/pix\/download\"><span class=\"TextRun Underlined SCXW209655643 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW209655643 BCX8\" data-ccp-parastyle=\"No Spacing\">PIX-2203.07<\/span><\/span><\/a><span class=\"TextRun SCXW209655643 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW209655643 BCX8\" data-ccp-parastyle=\"No Spacing\">, which adds support for <\/span><span class=\"NormalTextRun SCXW209655643 BCX8\" data-ccp-parastyle=\"No Spacing\">today\u2019s <\/span><\/span><a href=\"https:\/\/devblogs.microsoft.com\/directx\/directstorage-api-available-on-pc\/\"><span class=\"TextRun Underlined SCXW209655643 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW209655643 BCX8\" data-ccp-parastyle=\"No Spacing\">DirectStorage<\/span><span class=\"NormalTextRun SCXW209655643 BCX8\" data-ccp-parastyle=\"No Spacing\"> announcement<\/span><\/span><\/a>.<\/p>\n<p><span class=\"TextRun SCXW74376320 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW74376320 BCX8\" data-ccp-parastyle=\"No Spacing\">For more on how to get starte<\/span><span class=\"NormalTextRun SCXW74376320 BCX8\" data-ccp-parastyle=\"No Spacing\">d with <\/span><span class=\"NormalTextRun SCXW74376320 BCX8\" data-ccp-parastyle=\"No Spacing\">DirectStorage<\/span><span class=\"NormalTextRun SCXW74376320 BCX8\" data-ccp-parastyle=\"No Spacing\">, check out our <\/span><\/span><a href=\"https:\/\/devblogs.microsoft.com\/directx\/directstorage-api-downloads\/\"><span class=\"TextRun Underlined SCXW74376320 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW74376320 BCX8\" data-ccp-parastyle=\"No Spacing\">DirectStorage<\/span><span class=\"NormalTextRun SCXW74376320 BCX8\" data-ccp-parastyle=\"No Spacing\"> Landing Page<\/span><\/span><\/a><span class=\"TextRun SCXW74376320 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW74376320 BCX8\" data-ccp-parastyle=\"No Spacing\">.<\/span><\/span><span class=\"EOP SCXW74376320 BCX8\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h4>PIX and DirectStorage<\/h4>\n<p><span data-contrast=\"auto\">New features need new tooling support! It\u2019s been a consistent goal for the PIX team to ensure that developers get tooling support for a new feature as soon as possible. We\u2019re proud to announce that we have PIX support for DirectStorage ready on day 1 with this release!<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">To enable DirectStorage support in PIX, check the \u2018File accesses\u2019 checkbox under <\/span><b><span data-contrast=\"auto\">File IO<\/span><\/b><span data-contrast=\"auto\"> in the Timing Capture settings.<\/span><\/p>\n<p><span data-ccp-props=\"{}\">\u00a0<\/span><a href=\"https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2022\/03\/start-timing-capture.png\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-5752\" src=\"https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2022\/03\/start-timing-capture-300x141.png\" alt=\"Image start timing capture\" width=\"300\" height=\"141\" srcset=\"https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2022\/03\/start-timing-capture-300x141.png 300w, https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2022\/03\/start-timing-capture.png 510w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Once this has been enabled, you\u2019ll notice additional lanes in the timeline when you view captures. Each new lane corresponds to each DirectStorage queue created by the captured application.<\/p>\n<p>We recommend that you name each of these queues so you can identify and keep track of them; see below for an example.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2022\/03\/directstorage-lanes.png\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-5754\" src=\"https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2022\/03\/directstorage-lanes-300x146.png\" alt=\"Image directstorage lanes\" width=\"300\" height=\"146\" srcset=\"https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2022\/03\/directstorage-lanes-300x146.png 300w, https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2022\/03\/directstorage-lanes.png 432w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>From each of these lanes, you can see Enqueue requests, Signals and Submits. You will also be able to see how large your batches are, as well as the execution times for each batch. For more on batches, see <a href=\"https:\/\/github.com\/microsoft\/DirectStorage\">here<\/a><\/p>\n<p>Finally, PIX can also provide detailed views of the threads in your process and help identify stalls, etc in your loading code.<\/p>\n<p>We hope that this first set of PIX features is helpful in getting DirectStorage support up and running smoothly in your engine. If you run into any issues and\/or have feature suggestions, we\u2019d love to hear from you!<\/p>\n<p>As always, we look at and respond to every message we get on <a href=\"https:\/\/discord.gg\/directx\">discord.gg\/directx<\/a>. And every email from when you hit the Send Feedback button at the top right goes straight to us.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today we released PIX-2203.07, which adds support for today\u2019s DirectStorage announcement. For more on how to get started with DirectStorage, check out our DirectStorage Landing Page.\u00a0 PIX and DirectStorage New features need new tooling support! It\u2019s been a consistent goal for the PIX team to ensure that developers get tooling support for a new feature [&hellip;]<\/p>\n","protected":false},"author":2237,"featured_media":4769,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5751","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pix"],"acf":[],"blog_post_summary":"<p>Today we released PIX-2203.07, which adds support for today\u2019s DirectStorage announcement. For more on how to get started with DirectStorage, check out our DirectStorage Landing Page.\u00a0 PIX and DirectStorage New features need new tooling support! It\u2019s been a consistent goal for the PIX team to ensure that developers get tooling support for a new feature [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/posts\/5751","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/users\/2237"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/comments?post=5751"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/posts\/5751\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/media\/4769"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/media?parent=5751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/categories?post=5751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/tags?post=5751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}