Jump to content

Is Windows Bad At Math?

Go to solution Solved by mariushm,

You have a huge amount of files and folders.

 

It also depends on whether you have folders that have ntfs compression enabled or not - that can reduce the size of files down to around 50%, if the files are compressible.

 

Also, NTFS keeps file information in a reserved area, they keep there the file name, creation time, modification time, last access time, and other metadata.  If the file is very small, like let's say 100-200 bytes, NTFS also stores this data in the reserved area, instead of reserving the minimum of 512 bytes or 4096 bytes or whatever the sector size is configured at.

 

So, for example, if you have 50 000 files all less than 100-200 bytes (let's say average 150 bytes),  you may have 50 000  x 150 = ~ 7.5 MB that don't show up anywhere because they're stored in that reserved area for file records and metadata.

 

6 minutes ago, head_crap said:

It says I'm taking up the entire drive but I'm also only using half the drive?

Turn out hidden items and check again.

 

Empty your Recycle Bin.

Main System (Byarlant): Ryzen 9 5950X | Asus B550-Creator ProArt | EK 240mm Basic AIO | 32GB G.Skill DDR4 3600MT/s CL16 | XFX Speedster SWFT 210 RX 6600 | Samsung 990 PRO 2TB / Samsung 990 EVO Plus 4TB | Corsair RM750X | StarTech 4× USB 3.0 Card | Realtek RTL8127 10G NIC | Hyte Y60 Case | Dell U3415W Monitor | Keychron K12 Blue (RGB backlight)

 

Laptop (Narrative): Lenovo Flex 5 81X20005US | Ryzen 5 4500U | 16GB DDR4 3200MT/s (soldered) | Vega II 384SP Graphics | SKHynix P31 1TB NVMe SSD | Intel AX200 Wifi | Asus 2.5G USB NIC | Asus ProArt PA278QV | Keychron K4 Brown (white backlight)

 

Proxmox Server (Veda): Ryzen 7 3800XT | ASRock Rack X470D4U | Corsair H80i v2 | 128GB Micron DDR4 ECC 3200MT/s | 2× Samsung PM963a 960GB SSD / 4× WD 10TB / 4× Seagate 14TB Exos / 4× Micron MX500 2TB / 8× WD 12TB (custom external SAS enclosure) | Seasonic Prime Fanless 500W | Intel X550-T2 10G NIC | LSI 9300-8i HBA | Adaptec 82885T SAS Expander | Fractal Design Node 804 Case

 

Proxmox Server (La Vie en Rose)GMKtec Mini PC | Ryzen 7 5700U | 32GB Lexar DDR4 (SODIMM) | Vega II 512SP Graphics | Lexar 1TB 610 Pro SSD | 2× Realtek 8125 2.5G NICs


Media Center/Video Capture (Jesta Cannon): Ryzen 5 1600X | ASRock B450M Pro4 R2.0 | Noctua NH-L12S | 16GB Crucial DDR4 3200MT/s | EVGA GTX750Ti SC | UMIS NVMe SSD 256GB / TEAMGROUP MS30 1TB | Corsair CX450M | Viewcast Osprey 260e Video Capture | TrendNet (AQC107) 10G NIC | LG WH14NS40 BD-ROM | Silverstone Sugo SG-11 Case | Sony XR65A80K

 

Workbench (Doven Wolf): Lenovo m715q | Ryzen Pro 3 2200GE | 16GB Crucial DDR4 3200MT/s (SODIMM) | Vega 8 Graphics | SKHynix (OEM) 256GB NVMe SSD | uni 2.5G USB NIC | HDMI add-in module

 

Network:

Spoiler
                       ┌─────────────── Office/Rack ───────────────────────────────────────────────┐
Google Fiber Webpass ── Cloud Gateway Max ══╦═ Pro XG 8 ══╦═ Flex 2.5-8 ══╦═ Doven Wolf
                      La Vie en Rose (DNS) ═╬═ Narrative  ╠═ Veda-NAS     ╠═ La Vie en Rose (vmbr)
                                Veda (DNS) ─┘             ╠═ Veda (vmbr)  ├─ Ptolemy (vmbr)
╔═════════════════════════════════════════════════════════╩═ Ptolemy-NAS  ├─ Veda (Mgmt)
║   ┌ Closet ┐      ┌───────── Bedroom ─────────┐                         └─ Veda (IPMI)
╚═══ Flex XG ══╦╤═══ Flex XG ══╤╦═ Byarlant
       (PoE)   ║│              │╠═ Narrative 
Kitchen Jack ══╣└─ Dual PoE ┐  │╚═ Jesta Cannon*
   (Testing)   ║┌─ Injector ┘  └── Work Laptop
     Bedroom ══╝│        ┌─────── Media Center ────────────────────────────┐
     Jack #2    └──────── Switch 8 ────────────┬─ nanoHD Access Point (PoE)
Notes:                                         ├─ Sony PlayStation 4 
─── is Gigabit / ═══ is Multi-Gigabit          ├─ Pioneer VSX-S520
* = cable passed from Bedroom to Media Center  └─ Sony XR65A80K (Google TV)
Link to comment
https://linustechtips.com/topic/1291786-is-windows-bad-at-math/#findComment-14376816
Share on other sites

Link to post
Share on other sites

You have selected multiple drives/items rather than just right clicking the C drive? Because that is not the usual property dialog box when you right click a drive and select properties.

 

Also use windirstat to visualise whats taking all your drive space.

Link to comment
https://linustechtips.com/topic/1291786-is-windows-bad-at-math/#findComment-14376825
Share on other sites

Link to post
Share on other sites

You have a huge amount of files and folders.

 

It also depends on whether you have folders that have ntfs compression enabled or not - that can reduce the size of files down to around 50%, if the files are compressible.

 

Also, NTFS keeps file information in a reserved area, they keep there the file name, creation time, modification time, last access time, and other metadata.  If the file is very small, like let's say 100-200 bytes, NTFS also stores this data in the reserved area, instead of reserving the minimum of 512 bytes or 4096 bytes or whatever the sector size is configured at.

 

So, for example, if you have 50 000 files all less than 100-200 bytes (let's say average 150 bytes),  you may have 50 000  x 150 = ~ 7.5 MB that don't show up anywhere because they're stored in that reserved area for file records and metadata.

 

Link to comment
https://linustechtips.com/topic/1291786-is-windows-bad-at-math/#findComment-14376839
Share on other sites

Link to post
Share on other sites

9 minutes ago, C2dan88 said:

You have selected multiple drives/items rather than just right clicking the C drive? Because that is not the usual property dialog box when you right click a drive and select properties.

 

Also use windirstat to visualise whats taking all your drive space.

I selected all the files in the C  drive and clicked on properties

Link to comment
https://linustechtips.com/topic/1291786-is-windows-bad-at-math/#findComment-14376856
Share on other sites

Link to post
Share on other sites

12 minutes ago, mariushm said:

You have a huge amount of files and folders.

 

It also depends on whether you have folders that have ntfs compression enabled or not - that can reduce the size of files down to around 50%, if the files are compressible.

 

Also, NTFS keeps file information in a reserved area, they keep there the file name, creation time, modification time, last access time, and other metadata.  If the file is very small, like let's say 100-200 bytes, NTFS also stores this data in the reserved area, instead of reserving the minimum of 512 bytes or 4096 bytes or whatever the sector size is configured at.

 

So, for example, if you have 50 000 files all less than 100-200 bytes (let's say average 150 bytes),  you may have 50 000  x 150 = ~ 7.5 MB that don't show up anywhere because they're stored in that reserved area for file records and metadata.

 

How do I enable NTFS compression?

Link to comment
https://linustechtips.com/topic/1291786-is-windows-bad-at-math/#findComment-14376875
Share on other sites

Link to post
Share on other sites

6 minutes ago, head_crap said:

How do I enable NTFS compression?

right click on folder, properties, where it shows read only and hidden checkboxes , select Advanced and check "Compress contents to save disk space"

 

Don't do it on folders with music and video files, those are by their nature already compressed, so the folders won't be compressed.

If you can normally compress a file with winzip / 7zip / winrar whatever and get it down to around 75% (or less) of its original size, that file would end up being compressed by the ntfs file system when you enable compression on a folder.  Files that don't compress well will remain uncompressed

Link to comment
https://linustechtips.com/topic/1291786-is-windows-bad-at-math/#findComment-14376884
Share on other sites

Link to post
Share on other sites

large_oof2.png.3fb7b78c87814d09df5ee0e08

Clearly Windows cannot count. This is 5.74TB of data on a 2TB drive.

 

But in all seriousness; hidden data, recycle bin, weird small contents, etc. can make it so a lot more data is used.

 

Use a program like WinDirStat for a more accurate representation of data.

You can use Settings > System > Storage to see a basic representation of data.

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
https://linustechtips.com/topic/1291786-is-windows-bad-at-math/#findComment-14376894
Share on other sites

Link to post
Share on other sites

13 minutes ago, head_crap said:

Done and done. it didn't change much at all

Sometimes I've had Windows lose track of the Recycle Bin on a drive. Use WinDIrStat or WizTree (faster for NTFS) to see if there's anything left behind (or otherwise larger than expected).

Main System (Byarlant): Ryzen 9 5950X | Asus B550-Creator ProArt | EK 240mm Basic AIO | 32GB G.Skill DDR4 3600MT/s CL16 | XFX Speedster SWFT 210 RX 6600 | Samsung 990 PRO 2TB / Samsung 990 EVO Plus 4TB | Corsair RM750X | StarTech 4× USB 3.0 Card | Realtek RTL8127 10G NIC | Hyte Y60 Case | Dell U3415W Monitor | Keychron K12 Blue (RGB backlight)

 

Laptop (Narrative): Lenovo Flex 5 81X20005US | Ryzen 5 4500U | 16GB DDR4 3200MT/s (soldered) | Vega II 384SP Graphics | SKHynix P31 1TB NVMe SSD | Intel AX200 Wifi | Asus 2.5G USB NIC | Asus ProArt PA278QV | Keychron K4 Brown (white backlight)

 

Proxmox Server (Veda): Ryzen 7 3800XT | ASRock Rack X470D4U | Corsair H80i v2 | 128GB Micron DDR4 ECC 3200MT/s | 2× Samsung PM963a 960GB SSD / 4× WD 10TB / 4× Seagate 14TB Exos / 4× Micron MX500 2TB / 8× WD 12TB (custom external SAS enclosure) | Seasonic Prime Fanless 500W | Intel X550-T2 10G NIC | LSI 9300-8i HBA | Adaptec 82885T SAS Expander | Fractal Design Node 804 Case

 

Proxmox Server (La Vie en Rose)GMKtec Mini PC | Ryzen 7 5700U | 32GB Lexar DDR4 (SODIMM) | Vega II 512SP Graphics | Lexar 1TB 610 Pro SSD | 2× Realtek 8125 2.5G NICs


Media Center/Video Capture (Jesta Cannon): Ryzen 5 1600X | ASRock B450M Pro4 R2.0 | Noctua NH-L12S | 16GB Crucial DDR4 3200MT/s | EVGA GTX750Ti SC | UMIS NVMe SSD 256GB / TEAMGROUP MS30 1TB | Corsair CX450M | Viewcast Osprey 260e Video Capture | TrendNet (AQC107) 10G NIC | LG WH14NS40 BD-ROM | Silverstone Sugo SG-11 Case | Sony XR65A80K

 

Workbench (Doven Wolf): Lenovo m715q | Ryzen Pro 3 2200GE | 16GB Crucial DDR4 3200MT/s (SODIMM) | Vega 8 Graphics | SKHynix (OEM) 256GB NVMe SSD | uni 2.5G USB NIC | HDMI add-in module

 

Network:

Spoiler
                       ┌─────────────── Office/Rack ───────────────────────────────────────────────┐
Google Fiber Webpass ── Cloud Gateway Max ══╦═ Pro XG 8 ══╦═ Flex 2.5-8 ══╦═ Doven Wolf
                      La Vie en Rose (DNS) ═╬═ Narrative  ╠═ Veda-NAS     ╠═ La Vie en Rose (vmbr)
                                Veda (DNS) ─┘             ╠═ Veda (vmbr)  ├─ Ptolemy (vmbr)
╔═════════════════════════════════════════════════════════╩═ Ptolemy-NAS  ├─ Veda (Mgmt)
║   ┌ Closet ┐      ┌───────── Bedroom ─────────┐                         └─ Veda (IPMI)
╚═══ Flex XG ══╦╤═══ Flex XG ══╤╦═ Byarlant
       (PoE)   ║│              │╠═ Narrative 
Kitchen Jack ══╣└─ Dual PoE ┐  │╚═ Jesta Cannon*
   (Testing)   ║┌─ Injector ┘  └── Work Laptop
     Bedroom ══╝│        ┌─────── Media Center ────────────────────────────┐
     Jack #2    └──────── Switch 8 ────────────┬─ nanoHD Access Point (PoE)
Notes:                                         ├─ Sony PlayStation 4 
─── is Gigabit / ═══ is Multi-Gigabit          ├─ Pioneer VSX-S520
* = cable passed from Bedroom to Media Center  └─ Sony XR65A80K (Google TV)
Link to comment
https://linustechtips.com/topic/1291786-is-windows-bad-at-math/#findComment-14376900
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×