NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: need help as new user





On 17/11/2026 13:16, Stephen Borrill wrote:
On Mon, 16 Nov 2026, Wojciech Puchar wrote:

1) How to TRIM whole SSD

Don't know.

As far as I understand things its not currently possible. To perform any sort of TRIM operation on NetBSD you can enable the discard mount option for ffs but that conflicts with log option for journaling. I used discard for a long time but have switched back to log.

So far I've not noticed any performance degradation and that includes the M2 SSD I use for doing OS and package builds which means there is a large throughput of transient filesystem writes. It would be nice to have a 'modern' approach to TRIM on NetBSD which seems to be a periodic TRIM of unused sectors rather than trying to do it on the fly as they are released. However I've got no idea how much work is required to actually do that.

Mike





Home | Main Index | Thread Index | Old Index