Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
If we are talking about ext4, then the maximum number of subfolders is 64,000 .
https://ext4.wiki.kernel.org/index.php/Ext4_Howto
Sub directory scalability
Right now the maximum possible number of sub directories contained in a single directory in Ext3 is 32000. Ext4 doubles that limit and allows 64000 sub directories.
A lot is how much? I have 90 thousand files in 1 folder, it's normal))
And what does it mean "it's better not to create a lot of files"? Here are half a million files in one folder:
$ time seq 500000 | xargs touch
real 0m9.208s
# echo 3> /proc/sys/vm/drop_caches
$ time ls -U | wc -l
500000
real 0m0.393s
$ time ls | wc -l
500000
real 0m3.149s
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question