this post was submitted on 26 Dec 2025
132 points (91.8% liked)

Technology

78002 readers
2180 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
 

Although Windows has had awareness of the NVMe storage media protocol since Windows 8.1, it turns out that the stock Microsoft driver for NVMe devices, disk.sys, offers suboptimal performance. This driver dates back to 2006, and is part of Microsoft's oldest internal basic drivers. Disk.sys appears to treat NVMe devices like SCSI drives. Microsoft released a new native driver with a greater degree of awareness of NVMe with Windows 11 25H2 (client) and Windows 2025 (server) operating systems, called nvmedisk.sys. The easiest way to check if your drive is using the older driver would be to bring up Device Manager, collapse "Disk Drives," open the Properties of your drive, go to the Driver tab, and click on the "driver details" button.

Notebookcheck made a fascinating discovery that has the potential to unlock greater performance with your NVMe drives, if they are compatible. Apparently, nvmedisk.sys significantly improves performance, both in sequential and random workloads. Using this driver, however, is fraught with risks. Not all NVMe SSDs support it, and if incompatible, it could break Windows 11 boot. The publication put out a guide on how to get Windows 11 to use nvmedisk.sys. This involves changing three Windows Registry values. It would be a good idea to image or backup your data before you tinker with this, so you can perform a full image restore if it breaks Windows booting. The guide can be found in the source links below, use it at your own risk.

collapsed inline media
collapsed inline media

top 27 comments
sorted by: hot top controversial new old
[–] kescusay@lemmy.world 56 points 21 hours ago (1 children)

Hmmm. The NVMe standard has existed since 2011, and Samsung released their first commercially-available drive with it in 2013. So Microsoft has had at least 12 years to make nvmedisk.sys the standard driver for these disks.

[–] finalarbiter@lemmy.dbzer0.com 30 points 20 hours ago (3 children)

Using this driver, however, is fraught with risks. Not all NVMe SSDs support it, and if incompatible, it could break Windows 11 boot.

Probably why it isn't standard, especially since there's a driver that does work even if it's suboptimal.

[–] deadcade@lemmy.deadca.de 31 points 20 hours ago (1 children)

And obviously, there's been no possible way to try loading the modern driver and if that fails, falling back to the legacy one.

This is once again Microsoft refusing to improve performance, because that doesn't directly increase profits.

[–] finalarbiter@lemmy.dbzer0.com 7 points 20 hours ago (1 children)

That's fair. I'm certainly not one to defend msoft, nor do I really have the technical knowledge to rebut. Is it possible that 'trying' the driver as you suggested could damage the drive or corrupt data? Just wondering if there's a legitimate reason they wouldn't go for a seemingly easy win aside from being a generally dumb organization.

[–] deadcade@lemmy.deadca.de 13 points 20 hours ago (1 children)

There's always the option of gathering device info first, then using the appropriate driver. Either the SSD is in a "known supported models" list, or it reports support for whatever feature the new driver needs.

It's technically possible that straight up trying an unsupported driver can cause physical damage, but this can be avoided by carefully selecting the driver. From MS pov, they'd have to extensively test this driver on a bunch of SSDs and configurations, but it would lead to a performance improvement.

[–] finalarbiter@lemmy.dbzer0.com 14 points 19 hours ago (1 children)

Ah, any developer who suggested that probably got the same answer I get at work: "Testing costs money, so unless we absolutely have to, no."

[–] AA5B@lemmy.world 3 points 6 hours ago

Is this not the test? Make it available, but you have to jump through hoops to enable?

[–] DokPsy@lemmy.world 4 points 19 hours ago

If only there was a way to do a check for compatibility on the os side for a standard that has been available since before the predecessor os was released and fall back to the older driver if it fails

[–] pHr34kY@lemmy.world 3 points 18 hours ago

So they can't just write some probe code? It really can't be that hard to determine if there's support.

[–] FauxLiving@lemmy.world 26 points 18 hours ago* (last edited 18 hours ago) (1 children)

I'd be wary of importing random unintelligible registry keys from sites purporting to increase system performance for free. Even if they're posted on social media, the land of rigorous fact checking, rationality and absolutely no malicious actors.

[–] SanctimoniousApe@lemmings.world 5 points 17 hours ago

It mentions & includes a link to the NotebookCheck site as the source. It's certainly NOT an unreliable site.

[–] db2@lemmy.world 14 points 19 hours ago* (last edited 19 hours ago) (1 children)

laughs in Linux

It's probably vibe coded by AI folks. Be wary.

[–] spicehoarder@lemmy.zip 6 points 17 hours ago

It certainly is, and when it breaks because it can't handle some obscure use case, I won't bat an eye

[–] CallMeAnAI@lemmy.world 14 points 11 hours ago (3 children)

Install random shit for the promise of .0001ms seek? Jesus Christ guys 🤦‍♂️.

[–] themachinestops@lemmy.dbzer0.com 7 points 9 hours ago* (last edited 9 hours ago)

I am definitely not enabling this, but I thought it was an interesting article. It took Microsoft this long to make a NVME driver.

[–] WhyJiffie@sh.itjust.works 3 points 7 hours ago (1 children)

jokes on you, that measurement became slower with the new driver. but if you look at the other measurements..

why is it that any of your comments are easily downvote worthy? always misleading and/or incorrect.

[–] CallMeAnAI@lemmy.world 1 points 6 hours ago* (last edited 6 hours ago)

Issa exaggeration you nerd.

HE SAID SEEK WHEN ITS SEQUENTIAL WRITE PERFORMANCE, GET HIM!!!!!

[–] Treczoks@lemmy.world 2 points 8 hours ago (1 children)

Just like Linux 20 years ago.

[–] AbidanYre@lemmy.world 2 points 6 hours ago (1 children)

Yeah, but all the Gentoo flags working together would add up to 0.004ms!

[–] naticus@lemmy.world 2 points 5 hours ago

You have a problem with my stage1 install?!

[–] adespoton@lemmy.ca 9 points 21 hours ago (1 children)

Interesting. I presume that over time, MS plans to tweak the driver, increasing safety and security, and then start transitioning known safe devices over. Seems surprisingly responsible.

[–] Poach@lemmy.world 20 points 20 hours ago (1 children)
[–] CallMeAnAI@lemmy.world 7 points 11 hours ago (1 children)

It's 2026 (basically) and Linux still has major GPU stability issues and doesn't support HDR or vrr over HDMI units using a valve deck image. 

Glass houses my man.

[–] WhyJiffie@sh.itjust.works 1 points 7 hours ago (1 children)

for your interest, graphics drivers are made by the graphics vendor. what's more, nvidia made it so that only they can develop drivers for majority of their gpus. I don't see how that's a fault of linux being late.

[–] CallMeAnAI@lemmy.world 1 points 6 hours ago

Doesn't matter. That's the change state, Nvidia being dicks or not. 

[–] ascendings@fedia.io 5 points 21 hours ago

This is actually kinda cool! Hopefully it eventually becomes a "default" of some sort or at least has an easy toggle in compatible configs.

[–] SavageCoconut@lemmy.world 3 points 4 hours ago

Here's a reply from an ―allegedly― ex-employee at Msft you can find in the comment section of the article:

There is a lot of confusion on this thread between NVMe Storage Controller drivers and Disk drivers, e.g. "we have always been able to replace NVMe drivers". Previous driver releases, e.g. by Samsung, are for the NVMe Storage Controller, which you don't see in Device Manager unless you view by connection. The inbox driver is "Standard NVM Express Controller" or stornvme.sys. Samsung's driver was secnvme.sys.

The title of this TPU story is misleading; there is no new NVMe (controller) driver, there is a new disk layer driver nvmedisk.sys that is just an optimization of disk.sys that provides marginally better performance for NVMe drives (some SCSI command translations removed; multiple queues supported; presumably latency optimization and cache flush behavior). This is not really an "NVMe driver" because it's not the controller driver. The disk layer driver is not super specific to a particular storage medium; this is just optimization to pair better with stornvme. It's possible that you could force install nvmedisk.sys on HDD and it may even work, albeit unreliably and/or slowly.

Source: I worked at MS for decades. You know that checkbox in Device Manager for drives that says "Turn off Windows write-cache buffer flushing on the device"? That was me.