New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
So here's what I think is happening.
SSDs can't overwrite flash data in place. The flash is written in relatively small pages, roughly 16 KB, but it has to be erased in much larger blocks, several MB at a time. So when a file changes, the drive writes the new data somewhere else and leaves the old data there until it can be cleaned up. The FTL (flash translation layer) tracks where the current data actually is.
Eventually the drive runs out of clean space and has to do garbage collection. It takes a block, copies out anything that's still valid, then erases the block so it can be used again. If most of the data in that block is already invalid, that's not a big deal. The problem is that this drive has had 887 TB written to it, mostly from lots of small, random writes from multiple VMs at the same time. That tends to scatter valid data, so the drive has to move more data around before it can free up space.
That also fits with what I'm seeing in the diagnostics. Reads are still fast at
8.5 GB/s, so this isn't a general performance problem. Writes are down at185 MiB/s, and individual writes were taking around 147 ms at the drive level. The identical drive next to it was doing the same work in about 10 ms.The other checks look normal. SMART is clean, wear is only 2%, temperatures are fine, the PCIe link is running at full Gen4 x4, and the power state is normal. The drive also has the same model and firmware as the one that's performing normally.
I'm going with a secure format (
nvme format --ses=1) as a potential fix. That should clear the drive's internal mapping and erase the blocks, effectively giving the drive a clean start.Since I can't look inside the FTL and prove garbage collection is causing the slowdown, this remains a diagnosis rather than something I can directly confirm. But given the symptoms and everything else I've checked, it's the most plausible explanation.
If the drive is still slow after a full secure wipe, then I'll treat it as a hardware or firmware problem. I'll put in a new drive and send the old one back under warranty.
I'll be sending out a maintenance notice tonight and get this taken care of ASAP.
No need to do that. It's definitely the fault of write amplification as you surmised, but there's already TRIM which indicates which blocks are free to the garbage collector. My guess is your configuration is such that VMs are not passing through TRIM commands, so all the free space on everyone's VM is being treated as in-use and those blocks are unavailable for allocation. Without taking advantage of TRIM, you'll see this performance degradation.
Start up one of your OS templates on that node and run
fstrim -avas root and, if its output is silent or it doesn't return a message like/: 3.1 GiB (3370385408 bytes) trimmed on /dev/vda1, then you've found your problem.Even if a product is at deep discount, if it doesn't meet what it was advertised as that constitutes false advertising. Beyond the illegality of misrepresenting a commercial product being sold, it also is damaging to the brands who use or defend such tactics.
How is it unacceptable? If it was critical, you'd have metrics to monitor when it was acceptable and when it wasn't.
Let us know the price and performance.
That's all businesses. What charity provider will you be moving to?
Thanks for the tip. I'll do this first!
For $10 a month I absolutely will.
If I needed the guaranteed performance of a 9950x I would not buy a vps, I would buy a vds or dedicated. It still baffles me that people do not understand even the basic concept of what a vps is.
Maximum theoretical performance, 24/7, with PhD Network Engineers sitting on a stool in the server room making sure every bit lives up to the value for $10/year. Of course.
Hello, is
apologystill available?Pleeeeaseeeee leave me alooooooneeee.. We are sleeping
... Thsnks
Are you a service provider employee or someone with an intellectual disability? Is that why you came out with such a stupid remark?
I hadn't even asked for a refund, yet he issued one automatically; is this an act of nobility, or just a way to kick out the person who spoke the truth?
by default i usually side with the customer but you're being really tedious.
Perhaps you should actually read his responses. Unlike most providers when called out about low performance (even if the performance you experienced was not that bad), he actually jumped straight into trying to fix it.
You can get the hell out of this thread.
No, he can stay.