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

    • Genocide is intent to exterminate and both the Israeli government AND its people openly declare, even boast about their intent to exterminate Arabs. This society of sick psychopaths has even made songs about it. Zionist means believing Israel should exist as an religious ethno-state where only Jews have rights and everyone else is second class citizen. As for the blood libel thing, we already know zionists get off on killing children. We also know Israel is a safe heaven for all the pedophiles and rapists of the world. Honestly, after what we saw in the Epstein files, I wouldn't put anything past this depraved death cult. Of course all atrocities committed by tHe wOrLds mOsT mOrAl aRmY are always "unproven or taken out of context". Unfortunately for them, their soldiers are dumb enough to leave a trail of their war crimes all over social media. Then again, when you live in a society that's obsessed with death and destruction, posting videos of yourself in the act of ransacking homes and desecrating religious monuments earns you brownie points I guess. Israel is the only society in the world where people come out on the roads for the right to **** prisoners. Also claiming that the BBC said this and AP said that without so much as a link has gotten me curious. Are all zionists this dumb? I really hope you aren't getting paid for this because this is some low effort propaganda.
    • Microsoft is bringing big performance improvements to OneDrive on Mac by Taras Buria Microsoft has announced a major update for the OneDrive client on macOS. Today, the company released version 26.098, promising significantly faster sync, optimized CPU usage, a smaller memory footprint, and better energy efficiency. In a newly published blog post, Microsoft acknowledged that changes implemented in OneDrive for Mac in 2022 brought some unwanted side effects. Due to architectural changes and the need to keep the OneDrive sync engine unchanged, Microsoft created a hidden cache folder. With time, it would cause reliability and performance issues for customers. Now, Microsoft is ditching the old engine for native sync, delivering a faster, more reliable experience. As a result of this change, OneDrive for Mac now integrates more deeply into the operating system, offers about two times faster sync performance, and uses fewer system resources. While the hidden folder still exists, the app only uses it to store files that have not been uploaded yet, link file types, and macOS-related packages. In total, even when holding hundreds of files, the temporary folder does not take more than a couple of megabytes on the drive. Besides optimizations, the new sync engine enables external drive support, allowing you to keep your OneDrive folder on a removable drive (it should meet all the requirements). Microsoft is now rolling out the updated OneDrive client for Microsoft 365 Insiders. To check if your Mac has the new sync engine, go to the About tab and check the app version. If it ends with something like 26H, you are on the new engine. If not, you are on the old one. Microsoft says it will take a few weeks to complete the rollout to Insiders, but it won't say when to expect the update in the stable channel. Big performance updates for OneDrive on Mac came right after Microsoft confirmed it would soon kill document editing in Office 2019 for Mac due to expiring certificates. This change will force users to look for alternatives or switch to Microsoft 365.
    • Sorry but that makes no sense. What does using the same laptop have to do with anything? 
    • Playground drops 30 minutes of Fable gameplay, shows off life sim and morality system by Pulasthi Ariyasinghe Playground Games gave fantasy RPG fans a new look at its Fable reboot last Sunday at the Xbox Games Showcase. While that was a short cinematic trailer revealing the main villain of the storyline, played by Hayley Atwell, today, the development team released an entire gameplay demo to show off the game in action. There is some combat and action near the end of it, but most of the demo is focused on the game's NPC simulation, relationships, choices players can make, and the complex reputation system. The studio is touting over 1,000 hand-crafted NPCs who have jobs, homes, routines they follow in their villages and outskirts, and a memory of what is going on in the world and what actions the player has done. All of these are voiced by real people too. The demo begins with a short interaction with a butcher who wants to kill a talking pig named Colin. The protagonist chooses to save Colin by paying the butcher a bunch of gold for his troubles, giving the hero a rise in reputation for being shrewd, merciful, and virtuous. There were also options to simply let Colin get killed or even fight the butcher for the pig instead of paying him. How NPCs judge the player depends on how they interact with the world. https://www.youtube.com/watch?v=doV0yq4kAP0 Later, the demo shows off how purchasing and managing businesses work, where players can hire employees, change their wages, tweak the price of the shop items, and reap profits if they do well. Different NPCs react differently to each type of reputation the player is touting. One shop owner jacks up prices by 80% just because the player is rich and owns businesses. The demo even shows the player deciding to attack random villagers and causing a ruckus in the streets, turning the hero into a criminal. This is where the magic combat systems are shown off, where the player can teleport, turn enemies into chickens, sword-fight, and more. "This is how you’ll build an extraordinary life in Fable. It’s all about shades of grey – it’s not us or the game telling you what is good and what is bad," says Dan Greer, Lead Game Designer. "With the Living Population, it’s the NPCs themselves judging your actions." Fable is releasing across PC and Xbox Series X|S on February 23, 2027. Premium Edition owners will be able to play starting on February 18 instead. Xbox Game Pass subscribers will also be able to jump in at launch for no extra cost.
  • Recent Achievements

    • Week One Done
      StaticMatrix earned a badge
      Week One Done
    • Rookie
      lamborghiniv10 went up a rank
      Rookie
    • One Month Later
      pinnclepd earned a badge
      One Month Later
    • First Post
      X-No-file earned a badge
      First Post
    • One Month Later
      johnjacobb40 earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      517
    2. 2
      PsYcHoKiLLa
      211
    3. 3
      +Edouard
      147
    4. 4
      Steven P.
      92
    5. 5
      ATLien_0
      82
  • Tell a friend

    Love Neowin? Tell a friend!