Voila un essai fait avec un disque ancien ( peu de cache)
Il porte sur 39 fichiers pour une taille de 19 Go environ mis dans des partitions que j'ai voulu de même taille (il y a quand même des arrondis). Disques réception utilisés uniquement pour cet essai
Je te laisserai calculer le débit. Rien ne prouve qu'il sera le même avec ton disque certainement plus rapide.
Je n'ai pas modifié les 5% de réserve pour l'ext4 Il est donc plus plein de 5% que les autres
a@b:~$ df -BM
Sys. de fichiers blocs de 1M Utilisé Disponible Uti% Monté sur
/dev/sdd13 25071M 18648M 5127M 79% /mnt/SDD13 <====EXT4
/dev/sdd18 25600M 18669M 6932M 73% /mnt/SDD18 <====NTFS
/dev/sdd19 25632M 18608M 7025M 73% /mnt/SDD19 <====EXFAT
copie ext4 faite en 639 secondes
copie ntfs faite en 584 secondes
copie exfat faite en 549 secondes
Je ne suis pas trop surpris que le format exfat soit vu comme le meilleur en place disque et en vitesse car ce sont des fichiers de taille d'environ 500 Mo et pas 1 Ko
ls -ls x
total 19049896
514840 -rwxrwxrwx 2 root root 527195522 x
579976 -rwxrwxrwx 2 root root 593893688 x
481544 -rwxrwxrwx 2 root root 493100560 x
564896 -rwxrwxrwx 2 root root 578451788 x
532576 -rwxrwxrwx 2 root root 545356456 x
526136 -rwxrwxrwx 2 root root 538762374 x
549292 -rwxrwxrwx 2 root root 562474796 x
6696 -rwxrwxrwx 2 root root 6855894 x
15108 -rwxrwxrwx 2 root root 15469250 x
615796 -rwxrwxrwx 2 root root 630573344 x
20932 -rwxrwxrwx 2 root root 21431196 x
526736 -rwxrwxrwx 2 root root 539375874 x
624040 -rwxrwxrwx 2 root root 639013898 x
569476 -rwxrwxrwx 2 root root 583142310 x
602896 -rwxrwxrwx 2 root root 617363694 x
510524 -rwxrwxrwx 2 root root 522772792 x
532696 -rwxrwxrwx 2 root root 545477226 x
559308 -rwxrwxrwx 2 root root 572729230 x
563948 -rwxrwxrwx 2 root root 577480460 x
507168 -rwxrwxrwx 2 root root 519338614 x
645820 -rwxrwxrwx 2 root root 661318002 x
550588 -rwxrwxrwx 2 root root 563799868 x
644132 -rwxrwxrwx 2 root root 659591168 x
536376 -rwxrwxrwx 2 root root 549245866 x
555072 -rwxrwxrwx 2 root root 568391090 x
567148 -rwxrwxrwx 2 root root 580755554 x
600672 -rwxrwxrwx 2 root root 615085686 x
500828 -rwxrwxrwx 2 root root 512843960 x
586308 -rwxrwxrwx 2 root root 600378902 x
485440 -rwxrwxrwx 2 root root 497090064 x
596856 -rwxrwxrwx 2 root root 611178810 x
514600 -rwxrwxrwx 2 root root 526948804 x
577412 -rwxrwxrwx 2 root root 591269040 x
506872 -rwxrwxrwx 2 root root 519034822 x
590284 -rwxrwxrwx 2 root root 604449414 x
499460 -rwxrwxrwx 2 root root 511443392 x
685668 -rwxrwxrwx 2 root root 702123982 x
1668 -rwxrwxrwx 2 root root 1707444 x
108 -rwxrwxrwx 1 root root 108544 x
AJOUT Mais si les fichiers ont seulement une taille de 512 octets, EXFAT est plus lent. Voici le temps de création de 50 répertoires contenant 50 sous-répertoires ayant 50 fichiers soit en tout la création de 125000 fichiers
sudo mount /dev/sdd13 $HOME/EXT4
sudo mount /dev/sdd18 $HOME/NTFS
sudo mount /dev/sdd19 $HOME/EXFAT
MAX=50
for I in $HOME/EXT4 $HOME/NTFS $HOME/EXFAT; do
sudo chmod 777 $I
debut=$(date +%s)
for (( J=0; J < $MAX; J++ )); do
# rm -r $I/$J 2>/dev/null
mkdir $I/$J 2>/dev/null
for (( K=0; K < $MAX; K++ )); do
mkdir $I/$J/$K 2>/dev/null
for (( L=0; L < $MAX; L++ )); do
echo $I-$J-$K-$L > $I/$J/$K/$L
done;
done;
sync
done;
echo Traitement effectué en $(( $(date +%s) - $debut )) secondes pour $I
done;
Traitement effectué en 37 secondes pour /home/a/EXT4
Traitement effectué en 86 secondes pour /home/a/NTFS
Traitement effectué en 302 secondes pour /home/a/EXFAT