The officially official Devuan Forum!

You are not logged in.

#1 Today 16:30:10

kapqa
Member
Registered: 2019-01-02
Posts: 615  

ext4 write slow on small 120gb sata SSD

Hello ,

pondering on install a new operating system
so i did a test to see how the 120 GB sata SSD would fare;

it has the expected read speed 450-500 MB/s
however, the write speed is only abou 120 MB/s with ext4 fileformat;

if with gparted would format the disk instead with NTFS, the write speed would be more in line with capabilities probably of around 400 MB/s.

now my question: is this a fault with Devuan/Debian that it is so slow , or what could i do about it?

when i use gparted, the options iam getting is exfat - ext2/3/4 - fat16/32 - ntfs - minix - lvm2 - linux-small

it is my understanding, that the Debian/Devuan is using by standard the ext4 fileformat;

thank you for the help and eventual insight.

EDIT: sorry, i forgot, the Devuan itself lies as encrypted install (LVM automaitcaly install with encryption for beginner) on a 120GB Sata3 SSD , but the tested Sata SSD is also internal and has no data, pristinely formatted inside Devuan.

Last edited by kapqa (Today 16:32:42)

Offline

#2 Today 16:45:05

Mercury
Member
Registered: 2024-11-14
Posts: 27  

Re: ext4 write slow on small 120gb sata SSD

it has the expected read speed 450-500 MB/s
however, the write speed is only abou 120 MB/s with ext4 fileformat;

How are you running these tests? The method may be giving skewed results, and/or there may be a bottleneck elsewhere than at the drive.

Online

#3 Today 17:41:20

kapqa
Member
Registered: 2019-01-02
Posts: 615  

Re: ext4 write slow on small 120gb sata SSD

with the tool kdiskmark, do you think id would prefer ntfs?

Last edited by kapqa (Today 17:41:55)

Offline

#4 Today 18:12:14

Camtaf
Member
Registered: 2019-11-19
Posts: 527  

Re: ext4 write slow on small 120gb sata SSD

I use a lot of 128GB SSD (ext4) on my computers/laptops, I don't find them to be slow, but I'm just a regular user; usual things, internet, music, videos, spreadsheet, etc.

Last edited by Camtaf (Today 18:14:03)

Offline

#5 Today 18:25:19

Mercury
Member
Registered: 2024-11-14
Posts: 27  

Re: ext4 write slow on small 120gb sata SSD

with the tool kdiskmark, do you think id would prefer ntfs?

It's very unlikely that the filesystem is the culprit, though if you want to try ntfs as an experiment there's no harm.

What is the model of the drive? We may find the manufacturer's rated read and write speeds and see how far off your results are.

Online

#6 Today 21:44:15

delgado
Member
Registered: 2022-07-14
Posts: 280  

Re: ext4 write slow on small 120gb sata SSD

"EDIT" in post #1 is the explanation.

"encrypted" has to be slower (and LVM makes it worse). How much depends on the encryption method andcomputer hardware.
Encrypted zeros are no longer zeros, except the encryption sucks.

Or in short: No, you're doing it wrong.

Offline

#7 Today 21:50:39

Devarch
Member
Registered: 2022-10-03
Posts: 145  

Re: ext4 write slow on small 120gb sata SSD

1. The best ssd accelerator for Linux:
https://github.com/firelzrd/adios

2.

encrypted install

If it's not AES then it's too slow.

Offline

Board footer