Matthew Wilcox <willy@xxxxxxxxxxxxx> writes: > On Mon, Oct 10, 2022 at 06:00:30PM -0700, Stefan Roesch wrote: >> 2) Part of 10000 internal calculation >> The max_ratio is based on percentage. With the current machine sizes percentage >> values can be very high (1% of a 256GB main memory is already 2.5GB). This change >> uses part of 10000 instead of percentages for the internal calculations. > > Why 10,000? If you need better accuracy than 1/1000, the next step > should normally be parts per million. For current main memory sizes 1000 is enough. I wanted to give some additional headroom. Parts per million is too much. In the next version of the patch, I'll change it to parts per 1000.