News for hackers. Stuff that matters.
Re:Modern storage is plenty fast, but the APIs are bad by thekrendal on Thursday November 26, 2020 @12:33PM (#25221977)
That's still nothing even if you do that 4x/day.

Also just because you create a 20GB virtual disk does not necessarily mean you're actually writing out 20GB to the disk.

Many SSDs and NVMEs are designed with total drive writes per day in their specs.

What is the wear method you're measuring by and what's the threshold where you're replacing your drives?

Re:Modern storage is plenty fast, but the APIs are bad by blindm on Thursday November 26, 2020 @12:37PM (#25222009)
> does not necessarily mean you're actually writing out 20GB to the disk.

You mean like preallocation? I think Virtualbox now does that. In the past it didn't though, it just kept writing a bunch of zeroes to the drive until it reached 20GB.

Re:Modern storage is plenty fast, but the APIs are bad by mmis1000 on Thursday November 26, 2020 @01:15PM (#25222301)
Or probably the filesystem decides to do it? The Refs will just ate adjacent 0 and assuming you want a fallocate here.