What about using one of those fancier enterprise Optane drives (that are also larger) either as a swap or - dedicated drive for writing or reading huge amounts of small files ? The Intel P5800x is the opposite of cheap but from tests I'm seeing the latency and performance is very impressive for some niche use cases