Poor ext4 performance compared to ntfs

geek one

New Member
Joined
Feb 23, 2023
Messages
5
Reaction score
0
Credits
55
Hello
I'm trying to have a performant network storage, attached to my RapsberryPI 4, in order to quickly store / retrieve my footage from my PC.

I have Icy Box RD-IB3640 RAID unit which was ntfs formatted, read performance was lower compared to a simple 2.5 HDD ext4 formatted, so I decided to backup my 1.7TB (not an easy task) and format the raid unit with ext4. The RAID box was performing a much better on Windows and the internet says that ntfs Linux support is far from optimal, performance and reliability wise.

Now I have a 3TB ext4 unit which performs very poorly :
Code:
sudo dd if=/dev/zero of=/srv/dev-disk-by-uuid-948AF6B08AF68E4C/test oflag=direct bs=128k count=1k
1024+0 records in
1024+0 records out
134217728 bytes (134 MB, 128 MiB) copied, 10.211 s, 13.1 MB/s

When I format it back with ntfs I get (which is faster than before I first reformatted the disk) :
Code:
sudo dd if=/dev/zero of=/srv/dev-disk-by-uuid-948AF6B08AF68E4C/test oflag=direct bs=128k count=1k
1024+0 records in
1024+0 records out
134217728 bytes (134 MB, 128 MiB) copied, 0.851714 s, 158 MB/s

Any ideas ?
 
Last edited:


hdparm shows completely different informations (ext4) :
Code:
sudo hdparm -tT /dev/sdc1

/dev/sdc1:
 Timing cached reads:   1162 MB in  2.00 seconds = 581.22 MB/sec
 Timing buffered disk reads: 612 MB in  3.01 seconds = 203.41 MB/sec

But both iotop or copying with rsync show real world performance (file 4.5GB) close to dd bechmark :
Code:
rsync --progress /srv/dev-disk-by-uuid-698368f5-a42c-4925-9f35-2935c9cf2433/backup_raspberry_17-01-2023.img.zip /srv/dev-disk-by-uuid-948AF6B08AF68E4C/backup_raspberry_17-01-2023.img.zip
backup_raspberry_17-01-2023.img.zip
    429,490,176   9%   12.01MB/s    0:05:27

weird isn't it ?
 
Moved to the 'Single Board Computers' sub-forum, as the folks here will be more adept with things like the Pi.
 
Moved to the 'Single Board Computers' sub-forum, as the folks here will be more adept with things like the Pi.

IMHO it's not specifically a single board issue, most a file system related issue, is there a more adapted sub-forum for this ?
 
IMHO it's not specifically a single board issue, most a file system related issue, is there a more adapted sub-forum for this ?

This is as close to 'ideal' as we're going to get (I'm pretty sure). The folks likely to know will be those who may have experienced it. The goal is the *most appropriate* sub-forum. If you can think of a better one, I'll happily move it there.

Be aware that it's mostly just organization. We don't have that many regular helpers. Those who do are likely to see your post regardless of the location.
 

Members online


Top