Re: Reducing Memory Consumption (aset and generation)

2022-07-12 Thread Ranier Vilela
Em ter., 12 de jul. de 2022 às 02:35, David Rowley escreveu: > On Mon, 11 Jul 2022 at 20:48, Matthias van de Meent > wrote: > > > 2) v1-002-generation-reduces-memory-consumption.patch > > > Reduces memory used by struct GenerationBlock, by minus 8 bits, > > > > That seems fairly straight-forward

Re: Reducing Memory Consumption (aset and generation)

2022-07-11 Thread David Rowley
On Mon, 11 Jul 2022 at 20:48, Matthias van de Meent wrote: > > 2) v1-002-generation-reduces-memory-consumption.patch > > Reduces memory used by struct GenerationBlock, by minus 8 bits, > > That seems fairly straight-forward -- 8 bytes saved on each page isn't > a lot, but it's something. I think

Re: Reducing Memory Consumption (aset and generation)

2022-07-11 Thread Ranier Vilela
Em seg., 11 de jul. de 2022 às 09:25, Ranier Vilela escreveu: > Hi, > Thanks for take a look. > > Em seg., 11 de jul. de 2022 às 05:48, Matthias van de Meent < > boekewurm+postg...@gmail.com> escreveu: > >> On Tue, 7 Jun 2022 at 03:09, Ranier Vilela wrote: >> > >> > Let's restart this, to simpli

Re: Reducing Memory Consumption (aset and generation)

2022-07-11 Thread Ranier Vilela
Hi, Thanks for take a look. Em seg., 11 de jul. de 2022 às 05:48, Matthias van de Meent < boekewurm+postg...@gmail.com> escreveu: > On Tue, 7 Jun 2022 at 03:09, Ranier Vilela wrote: > > > > Let's restart this, to simplify the review and commit work. > > The patchset fails to apply. Could you sen

Re: Reducing Memory Consumption (aset and generation)

2022-07-11 Thread Matthias van de Meent
On Tue, 7 Jun 2022 at 03:09, Ranier Vilela wrote: > > Let's restart this, to simplify the review and commit work. The patchset fails to apply. Could you send an updated version that applies to the current master branch? > Regarding the patches now, we have: > 1) v1-001-aset-reduces-memory-consum

Re: Reducing Memory Consumption (aset and generation)

2022-06-06 Thread Ranier Vilela
Em seg., 6 de jun. de 2022 às 21:14, Ranier Vilela escreveu: > Em seg., 6 de jun. de 2022 às 20:37, David Rowley > escreveu: > >> On Mon, 6 Jun 2022 at 07:28, Ranier Vilela wrote: >> > 4) 004-generation-reduces-memory-consumption-BUG.patch >> > Same to the (2), but with BUG. >> > It only takes

Re: Reducing Memory Consumption (aset and generation)

2022-06-06 Thread Ranier Vilela
Em seg., 6 de jun. de 2022 às 20:37, David Rowley escreveu: > On Mon, 6 Jun 2022 at 07:28, Ranier Vilela wrote: > > 4) 004-generation-reduces-memory-consumption-BUG.patch > > Same to the (2), but with BUG. > > It only takes a few tweaks to completely remove the field block. > > > This fails with

Re: Reducing Memory Consumption (aset and generation)

2022-06-06 Thread David Rowley
On Mon, 6 Jun 2022 at 07:28, Ranier Vilela wrote: > 4) 004-generation-reduces-memory-consumption-BUG.patch > Same to the (2), but with BUG. > It only takes a few tweaks to completely remove the field block. > This fails with make check. > I couldn't figure out why it doesn't work with 16 bits (st

Reducing Memory Consumption (aset and generation)

2022-06-05 Thread Ranier Vilela
HI hackers, I thought it would be better to start a new thread to discuss. While working with sorting patch, and read others threads, I have some ideas to reduces memory consumption by aset and generation memory modules. I have done basic benchmarks, and it seems to improve performance. I think i