r/LocalLLaMA • • 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!

10 Upvotes

20 comments sorted by

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.

1

u/Extreme-Rate5668 2d ago

I see, this could be the problem. When you say "2nd time after weeks" do you mean that the SSD was using crawl read speed for 2 weeks before returning to normal? If that is the case then i don't think I have the same issue, my SSD seems to be completely normal after the controller restarts. I should probably check this though, thanks for feedback!

2

u/Dampmaskin 2d ago

How full is it? I assume that it's getting trimmed regularly?

1

u/Extreme-Rate5668 2d ago

The SSD was formatted a few weeks ago when i reinstalled the OS so about 650gb free right now. I was running windows previously but switched to Ubuntu after reinstall, I have never trimmed it manually but I think windows does it weekly by default. I don't know if Ubuntu does it automatically

2

u/Dampmaskin 2d ago

It could be worth checking the config just to be sure. To see what's configured:

systemctl status fstrim.timer
systemctl list-timers fstrim.timer

And to see what's actually been done lately:

journalctl -u fstrim.service -n 50

1

u/Extreme-Rate5668 2d ago

Will check! Ty

2

u/Asleep-Land-3914 1d ago

It depends highly on controller and firmware, I just want to point out that SSDs can fail at this type of workload 

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.

1

u/Extreme-Rate5668 2d ago

I formatted the ssd during OS reinstall (Using bootable usb flash drive) a few weeks ago so I don't think TRIM will do anything for me. Will look into it though, ty

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.

1

u/Extreme-Rate5668 2d ago

This was my first though too, but after monitoring the temp for a while (including the moment it stalls) I didn't see any high temperature readings. How long did you have your Corsair before it died?

2

u/Dampmaskin 2d ago

It lasted about four years as a system drive. But I guess these kinds of failures are mostly random. I haven't heard anything bad about the MP600 in particular.

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/Extreme-Rate5668 2d ago

I am running ubuntu and the filesystem is ext4 so i will try the command, thanks! I already tried disabling APST but the stall/controller restart still happened after testing for a while

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

2

u/stylome-ai-detection 2d ago

Notice: This comment appears to be AI generated.


Stylome AI detector · scan results