Description
E.g. ConcurrentMergeScheduler should default maxMergeThreads to 3 if it's on SSD and 1 if it's on spinning disks.
I think the new NIO2 APIs can let us figure out which device we are mounted on, and from there maybe we can do os-specific stuff e.g. look at /sys/block/dev/queue/rotational to see if it's spinning storage or not ...
Attachments
Attachments
Issue Links
- is related to
-
LUCENE-10576 ConcurrentMergeScheduler maxThreadCount calculation is artificially low
- Resolved