Tweak Win 10 NTFS by disabling 8dot3 and stripping 8dot3 - HUGE PER GAIN


Recommended Posts

There are performance and security benefits to disabling short file names (or 8.3 file names) on Windows. From the graph below, you can see the performance benefits of disabling the 8.3 short file names. On Windows 8/2012 serv, the 8.3 naming is disabled when you format a new volume. When you’ve upgraded from previous versions of Windows, it’ll inherit your previous settings.

 

8484.image_thumb_0763777C.png

 

Run cmd with admin privileges:

fsutil behavior set disable8dot3 1 OR  fsutil behavior set disable8dot3 3

(1 = all volumes / 3 = all but system colume)  - then reboot.

 

Run cmd again with admin credentials and type:

fsutil 8dot3name strip /f /s C:

Repeat strip for every drive/partition.

 

 

NTFS keeps the filenames inside the MFT. http://en.wikipedia....ster_File_Table

The links within the MFT are organised so the long filenames form an index based on a b-tree. http://en.wikipedia.org/wiki/B-tree

To find any long filename an efficient algorithm called a binary search (can also be called binary chop) is used.

All very well and good so far. Now the trouble with 8dot3names is that they are not part of any index, they are just another MFT attribute.

To find an 8dot3name requires a sequential search of the MFT records that belong to the relevant directory  - leading to I/O mess.

Even if the numbers above are true, the performance gain will be negligible in real-life operations. One does not create 100K in a 1M files directory on a regular basis. Let alone a fraction of that. Same reasoning goes for directory enumeration.

All in all, this tweak might break more than it fixes.

18 minutes ago, Raphaël G. said:

Even if the numbers above are true, the performance gain will be negligible in real-life operations. One does not create 100K in a 1M files directory on a regular basis. Let alone a fraction of that. Same reasoning goes for directory enumeration.

All in all, this tweak might break more than it fixes.

I agree. Whilst I appreciate the efforts to share knowledge, if you want to demonstrate a benefit, try to provide a real-world example as this one is grossly exaggerated. Maybe do some load time benchmarks, or something, even if synthetic.

Quit pushing this snake oil... you were told many years ago that the performance gain is minimal and does nothing for the end user but cause problems down the line. Your screenshot is also misleading because those results are from Server 2012, not Windows 10.

 

13 hours ago, hardbag said:

I think 8dot3 has been disabled since WIn 8/2012...

It might be disabled OOB on the Server editions but on 8, 8.1, and 10 it is enabled. This is pure snake oil at this point.

 

  • Like 2
  • Thanks 1

What utter BS. The possible (and I mean vaguely possible) gains are so minute compared to the possible (and I mean likely if you run any legacy software) problems.

 

Stop spreading fud!

  • Like 2

Hello,

 

If you are going to do this, check all your applications carefully to see if anything is broken.  It is possible that a modern Windows application may still have a setup or uninstallation program that makes use of short filenames, etc.

 

Regards,

 

Aryeh Goretsky

 

Hups, on topic title I meant "PERF" gain :D not "PER" whatever that is.

 

It's not snake oil. It wasn't that either back in 2011 and certainly isn't _today_

 

If there is such a stuid app that wholesomelly relies on 8dot3 to keep gum in glue and vice versa (like Office was a decade ago :D :D) it's time to face the music. That would mean that those apps don't work on server... Perhaps not.

 

Tech ARP - ED#179 : Why It's Really Time To Ditch (And Strip) The ...

https://archive.techarp.com/showarticle53b4.html?artno=827&pgno=1

... well creating a lot of files isn't that uncommon. A regular front end project usually creates 10-20 000 files on npm install and it was significantly worse in previous npm versions.

I would say stick with the default option for newly formated partition but fs tweaking can give gains. For example noatime/relatime was common change in fstab under linux (also barriers, log sizes etc).

17 hours ago, hardbag said:

Hups, on topic title I meant "PERF" gain :D not "PER" whatever that is.

 

It's not snake oil. It wasn't that either back in 2011 and certainly isn't _today_

 

If there is such a stuid app that wholesomelly relies on 8dot3 to keep gum in glue and vice versa (like Office was a decade ago :D :D) it's time to face the music. That would mean that those apps don't work on server... Perhaps not.

 

Tech ARP - ED#179 : Why It's Really Time To Ditch (And Strip) The ...

https://archive.techarp.com/showarticle53b4.html?artno=827&pgno=1

Then provide us with modern benchmarks that show a performance gain. This article you keep regurgitating is from 2014, far from what we use today. If you can provide meaningful benchmarks I'll quit calling it snake oil, until then this is nothing but FUD spread by you.

Snake oil...as CircaFlex pointed out.  You're more apt to break something vs. having any real world performance increase.

 

I thought this was dismissed years ago?  Just don't.

 

Edit:  ... and OP posted a similar topic in 2011...and got roasted.  

 

  • 1 month later...
  • 2 months later...

This may have had some albeit small effect back when we all ran with HDD's for boot/data disks but now we use SSD's there really is no gain to doing this so lets just resign this tweak to where it now belongs which in a shoe box at the back of the cupboard out of sight and out of mind

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I agree with what I think you are saying, just not in the way you are saying it. Like any tool, the amount it represents your work is perorational to the effort you put into it. It is similar to why 2nd grade math students learning to add and subtract are not allowed to use calculators, but a high-school calculous student is. For the 2nd grader, that tool would completely replace the work they are doing, for the calculous student the same tool allows them to work far more effectively while in no way replacing their effort or knowable. If you spend 30 seconds writing a prompt, then the image that comes out is no more "yours" than if you found the same image with a Google Image search. However, many of these generative tools also support highly iterative processes that allow back and forth, and merging generated images with photos or human created images. I am sure you would agree that a human spending hours of time working on a project, even if AI was involved in the process, still reflects that human's work.
    • Windows 11 version 26H2 is now available for testing in the latest preview build by Taras Buria Friday Windows 11 preview builds are here. Insiders in the Experimental (formerly Dev) and Beta Channel can download builds 26300.8697 and 26220.8690. There are no new features, but Microsoft is officially moving the Experimental Channel to version 26H2. In addition, Microsoft is improving the copy dialog in File Explorer, the Start menu reliability, and fixing virtualization issues. Here is the changelog: [General] With today’s build, Windows Insiders in the Experimental channel will see the versioning updated under Settings > System > About (and winver) to version 26H2. For more information, see the Windows Insiders blog. [File Explorer] We’ve improved the visual consistency and reliability of the Copy dialog in Dark mode, including its launch experience and the expanded progress view. [Start menu] - Also available in Beta Improved reliability of Start menu reflecting newly installed or removed apps without requiring sign-out or restart. [Taskbar] Fixed an issue for Insiders using the new smaller taskbar option, where the system tray might get cut off or pushed off screen. [Settings] - Also available in Beta Improved reliability of Settings > Apps > Startup. [Virtualization] - Also available in Beta This update addresses an issue that could result in bugchecks citing HYPERVISOR_ERROR (0x20001) and KMODE_EXCEPTION_NOT_HANDLED (0x1E) errors after installing the latest flights on some devices during system restarts, virtual machine operations, or while running some gaming applications. You can find the official changelog for the Experimental build here and for the Beta build here.
    • I've always preferred this possibility. There is something that feels good about the idea that all matter in the universe will eventually come back together and maybe even result in another big bang. The idea that the universe would fizzle out over the eons and forever drift apart is a little depressing. I realize it is not logical to let a basic human desire for life to have a grand everlasting meaning change the way I feel about a scientific theory, but I am human, so that is how I feel :-).
    • Windoze 11 could finally go to hell, instead of making me savor yet another error I've never had. "Bad Pool Caller" or whatever TF cryptic crap0la message it is. Adding salt to injury, it says something along these lines (on the blank black screen after it hard stops): "Your windoze needs to restart. You can restart." NO WAY SHERLOCK. The PEECEE, look, it's *blocked*, I can do jack sh1t with it as it is and you say that it needs to restart? Further, that I can restart? What am I supposed to do, take a herbal bath? Sudo a sandwich? Timewaster pile of useless slop and errors, coded by monkeys and force-fed on us by a pedo-founded corporation, that's all there is to it. Now, let's have a fun weekend trying to handle the error, which after a quick internet check can basically be due to EVERYTHING, from memory faults to drivers to motherboard issues. Thanks M$.
    • Zen Browser 1.21.3b by Razvan Serea Zen Browser is a privacy-focused, open-source web browser built on Mozilla Firefox, offering users a secure and customizable browsing experience. It emphasizes privacy by blocking trackers, ads, and ensuring your data isn't collected. With Zen Mods, users can enhance their browser experience with various customization options, including features like split views and vertical tabs. The browser is designed for efficiency, providing fast browsing speeds and a lightweight interface. Zen Browser prioritizes user control over the browsing experience, offering a minimal yet powerful alternative to traditional web browsers while keeping your online activity private. Zen Browser’s DRM limitation Zen Browser currently lacks support for DRM-protected content, meaning streaming services like Netflix and HBO Max are inaccessible. This is due to the absence of a Widevine license, which requires significant costs and is financially unfeasible for the developer. Additionally, applying for this license would require Zen to be part of a larger company, similar to Mozilla or Brave. Therefore, DRM-protected media won't be supported in Zen Browser for the foreseeable future. Zen Browser offers features that improve user experience, privacy, and customization: Privacy-Focused: Blocks trackers and minimizes data collection. Automatic Updates: Keeps the browser updated with security patches. Zen Mods: Customizable themes and layouts. Workspaces: Organize tabs into different workspaces. Compact Mode: Maximizes screen space by minimizing UI elements. Zen Glance: Quick website previews. Split Views: View multiple tabs in the same window. Sidebar: Access bookmarks and tools quickly. Vertical Tabs: Manage tabs vertically. Container Tabs: Separate browsing sessions. Fast Profile Switcher: Switch between profiles easily. Tab Folders: Organize tabs into folders. Customizable UI: Personalize browser interface. Security Features: Inherits Firefox’s robust security. Fast Performance: Lightweight and optimized for speed. Zen Mods Customization: Deep customization with mods. Quick Access: Easy access to favorite websites. Open Source: Built on Mozilla Firefox with community collaboration. Community-Driven: Active development and feedback from users. GitHub Repository: Contribute and review the source code. Zen Browser 1.21.3b changelog: New Features Updated to Firefox 152.0.1 Fixes Fixed transparency not working after updating to 1.21.2b (#14259) Fixed frequent crashes affecting users with Intel Raptor Lake processors Fixed an issue on macOS where choosing a PDF option, such as "Save as PDF", from the system print dialog would send the job to your printer instead of saving a file. Other minor bug fixes and improvements. Download: Zen Browser | 90.2 MB (Open Source) Download: Zen Browser ARM64 | Other Operating Systems View: Zen Browser Home Page | Screenshots 1 | 2 | Reddit Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Collaborator
      ryansurfer98 went up a rank
      Collaborator
    • Week One Done
      Eurosoft10 earned a badge
      Week One Done
    • One Month Later
      Eurosoft10 earned a badge
      One Month Later
    • One Year In
      Skeet Campbell earned a badge
      One Year In
    • One Month Later
      Sharbel earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      577
    2. 2
      +Edouard
      190
    3. 3
      Michael Scrip
      77
    4. 4
      PsYcHoKiLLa
      76
    5. 5
      Steven P.
      73
  • Tell a friend

    Love Neowin? Tell a friend!