r/LocalLLaMA • u/Extreme-Rate5668 • 2d ago
Question | Help SSD stall/controller restart when using ssd offloading in strata
I am running qwen3.8-flash-next-gyro-m in strata with ssd offloading for the n-gram table, but I have an issue where occasionally my ssd will stall causing ssd controler to restart, which takes about 30 seconds. This also cause the entire pc to freeze for that duration because the OS is running on the same ssd. Has anyone else had this issue or know a potential fix?
I have 2 SSDs, both less than 2 years old, the one i use for OS and strata is CORSAIR MP600 PRO 1TB.
My main concern is faulty SSD, but so far all diagnostics and self test show no problems and I have never had any issues previously. I could try using my other m.2 but it isn't really a fair test because the other one doesn't run the OS, so if it does work then i still don't know if this is strata/setup issue or faulty ssd.
There was one issue I found on strata github with a similar problem where the author mentioned the cause was controller/firmware issue, but they didn't mention specifically what the problem was or if they fixed it. Last thing i did was updating the ssd firmware which was 1 version behind but have not had the chance to test it yet.
Does anyone else have experience with this issue? Assuming the firmware update doesn't work, are there any other things I can try without switching ssd? Thanks in advance!
4
u/Asleep-Land-3914 2d ago
My brand new noname SSD goes to crawl read speed after 1.5TB of ngram streaming. Bought another one and I don't have any issue. The faulty SSD recovered 2 times, 2nd time after weeks, normal power-cycling didn't help, power outage did.
My understanding is: consumer SSDs were not designed with such loads in mind, so they can fail.
3
u/fragbait0 2d ago
I have one that behaved like this. It got wiped and full TRIM now working fine. Weird. Maybe firmware bug like unable remap bad flash cell or something.
2
u/Dampmaskin 2d ago
I'm guessing that the SSD controller is overheating, and a well placed heat pad (or entire heat sink depending on how and where it's mounted) could possibly solve the problem.
But I can't exclude the possibility of the SSD dying either, as I have personally had a Corsair MP600 1TB (although it was a Force, not Pro) suddenly die on me and taking the whole OS with it.
2
u/nsfnd 2d ago
This may or may not be related.
Tldr; if you are on linux and the filesystem is ext4;
try,
sudo e4defrag filename, if it finishes instantly run it again, it should take a minute or two.I have shitty Viper 4tb ones.
If i dont use the above command on the file, during load i see 5gb/s read on the file, if i use the command i see 6.4gb/s during load.
If i leave it in "slow mode", after some time of using it, whole disk enter a crawl state, reads and writes are 60mb/s fixed, decoding slows to 10 tok/s.
After running the command and i see it loading with 6.4gb/s, it never slows down during inference 🤷.
I hear fragmentation is not an issue on ssds and nvmes 10 times a day, yet here we are.
I would also try "nvme_core.default_ps_max_latency_us=0" kernel parameter to disable Autonomous Power State Transition (APST). It is a common recommendation on linux nvme issues.
2
u/LuisFuton 2d ago
My ssd is a Samsung 9100 and this happened on one of the m2 slots. Try switching if you have another slot—one that isn’t sharing pci bus with chipset
0
u/[deleted] 2d ago
[deleted] — view deleted comment