M
M
mirosas2019-06-13 15:52:39
NTFS
mirosas, 2019-06-13 15:52:39

How much does NTFS eat? And how to use it?

Now 4 million files are written to the SSD disk a little bit, all in one daddy. The contents of the files themselves will weigh approximately 80 gigs in total.
I would like to understand, but how much will be devoured on top of these 80 gigs? Well, it is clear that for packing by clusters, approximately 8 GB will be consumed. But in the same place, each file has a whole bunch of properties, and a name, and a creation date, and rights .. And all this is stored somewhere, and possibly duplicated .. And Windows probably indexes something ..
And if you imagine that I have a clean 500GB disk, and I want to fill it with 3-4kb files .. In general, how many of them will fit there if the file system is NTFS?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
D
dollar, 2019-06-13
@dollar

And you open the properties of the folder and look.
You can also make the cluster size smaller when formatting if you have a lot of small files.
PS It is strange that you are not interested in disk wear and all the tricks under the hood associated with this.
There is also a subtlety, which is to reduce the speed of access to files if there are too many of them in one folder.
There is also a subtlety that it is desirable to keep at least 12% of the space on NTFS disks free, this also affects the speed. And in the case of SSD, it is better to leave even more space unoccupied.

B
Boris Korobkov, 2019-06-13
@BorisKorobkov

Depends on cluster size. By default it is 4 KB.
Plus FAT-table.
In general, lay out a disk at least 1.5-2 times larger than the net content size of 3-4 kb files.
If there is not enough disk space, you can:
1. reduce the size of the cluster
2. enable compression at the OS level
3. independently archive many files into one (even if they are not compressed, there will still be good savings due to the full use of the cluster)
But all these options slow down the speed a bit.

S
Sergey delphinpro, 2017-07-26
@Mylnikov059

Well, I'll throw off my version again https://codepen.io/delphinpro/pen/BWJEgG

M
Matvey Pravosudov, 2017-07-26
@oxyberg

Google keyword: masonry .
Cool library: packery.js .

N
Nikita, 2017-07-26
@Rema1ns

Mansory

A
A person from Kazakhstan, 2017-07-26
@LenovoId

https://codepen.io/simkaUser/pen/gxOMXa my five cents

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question