Re: Fast DSM segments

2020-07-30 Thread Thomas Munro
On Mon, Jul 27, 2020 at 2:45 PM Thomas Munro wrote: > Here's a new version, using the name min_dynamic_shared_memory, which > sounds better to me. Any objections? I also fixed the GUC's maximum > setting so that it's sure to fit in size_t. I pushed it like that. Happy to rename the GUC if some

Re: Fast DSM segments

2020-07-26 Thread Thomas Munro
On Sat, Jun 20, 2020 at 7:17 AM Andres Freund wrote: > On 2020-06-19 17:42:41 +1200, Thomas Munro wrote: > > On Thu, Jun 18, 2020 at 6:05 PM Thomas Munro wrote: > > > Here's a version that adds some documentation. > > > > I jumped on a dual socket machine with 36 cores/72 threads and 144GB > > of

Re: Fast DSM segments

2020-06-19 Thread Andres Freund
Hi, On 2020-06-19 17:42:41 +1200, Thomas Munro wrote: > On Thu, Jun 18, 2020 at 6:05 PM Thomas Munro wrote: > > Here's a version that adds some documentation. > > I jumped on a dual socket machine with 36 cores/72 threads and 144GB > of RAM (Azure F72s_v2) running Linux, configured with 50GB of

Re: Fast DSM segments

2020-06-18 Thread Thomas Munro
On Thu, Jun 18, 2020 at 6:05 PM Thomas Munro wrote: > Here's a version that adds some documentation. I jumped on a dual socket machine with 36 cores/72 threads and 144GB of RAM (Azure F72s_v2) running Linux, configured with 50GB of huge pages available, and I ran a very simple test: select count(

Re: Fast DSM segments

2020-06-17 Thread Thomas Munro
On Thu, Jun 11, 2020 at 5:37 AM Robert Haas wrote: > On Tue, Jun 9, 2020 at 6:03 PM Thomas Munro wrote: > > That all makes sense. Now I'm wondering if I should use exactly that > > word in the GUC... dynamic_shared_memory_preallocate? > > I tend to prefer verb-object rather than object-verb word

Re: Fast DSM segments

2020-06-10 Thread Robert Haas
On Tue, Jun 9, 2020 at 6:03 PM Thomas Munro wrote: > That all makes sense. Now I'm wondering if I should use exactly that > word in the GUC... dynamic_shared_memory_preallocate? I tend to prefer verb-object rather than object-verb word ordering, because that's how English normally works, but I r

Re: Fast DSM segments

2020-06-09 Thread Thomas Munro
On Sat, Apr 11, 2020 at 1:55 AM Robert Haas wrote: > On Thu, Apr 9, 2020 at 1:46 AM Thomas Munro wrote: > > The attached highly experimental patch adds a new GUC > > dynamic_shared_memory_main_size. If you set it > 0, it creates a > > fixed sized shared memory region that supplies memory for "fa

Re: Fast DSM segments

2020-04-10 Thread Robert Haas
On Thu, Apr 9, 2020 at 1:46 AM Thomas Munro wrote: > The attached highly experimental patch adds a new GUC > dynamic_shared_memory_main_size. If you set it > 0, it creates a > fixed sized shared memory region that supplies memory for "fast" DSM > segments. When there isn't enough free space, dsm