3 ms·
This implies changing of buffer sizes requires a process restart. Which is a fine trade off. This also implies all memory is allocated upfront. It would requir
by pyrolistical 4y ago
This implies changing of buffer sizes requires a process restart. Which is a fine trade off.
This also implies all memory is allocated upfront. It would require the operating system to be smart enough to compress/page blocks or else the process will hold on to unused memory
- haggy 4y agoPer the article: "(Currently it’s determined even before startup, at compile-time, but startup is the important point since that is the first time that memory can be allocated.)" Sooo are we sure you can even change this via proc restart? This is saying the limits are built-in during compile...
- eatonphil 4y agoThey are currently compile time settings. That may change in the future to be more user-friendly. :) But what won't change is that the size is fixed at startup.
- haggy 4y agoThat totally makes sense. I think you'd have a miserable time supporting this at scale if a re-compile is needed every time a new workload requires a tweaked setting or two. Config based static allocation is the best of both worlds.