On 7/6/22 18:33, dmitri maziuk wrote:
This way lieth dark magick and madness, of course, but I'm curious what the optimal config would be for a container infra. For bare metal a large PCIe SSD should be the best bang for the buck, but on kube the "disk" is probably iSCSI volumes and you may not have much control over any OS buffering that may exist. Or not.
Main memory is faster than SSD. I suspect for a containerized setup, the disk cache would need to be large on the physical host rather than the container, unless the container itself is what mounts the block device for the filesystem.
SSD can improve performance when not enough memory is available for the disk cache, but if there is sufficient memory and the load is mostly queries, the storage can be slow and cheap, because actual disk reads will not be common. SSD would be recommended for heavy indexing.
There is no generic answer for "How much disk cache do I need?" The answer depends on the nature of the data and the nature of the requests Solr receives, and there is no such thing as "typical".
Thanks, Shawn