Re: Memory buffer alignment
От | Bruce Momjian |
---|---|
Тема | Re: Memory buffer alignment |
Дата | |
Msg-id | 200309272145.h8RLjww14477@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Memory buffer alignment (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
Tom Lane wrote: > Bruce Momjian <pgman@candle.pha.pa.us> writes: > > it certainly seems like it would be a good idea to have the 8k buffers > > aligned on 4k offsets. > > Why? What mechanism do you expect would find that more efficient? There was the idea that some OS's can swap the pages in from kernel into the user space. I am not sure any one does that, but it would be interesting to see. Also, a single shared buffer access would be a single virtual memory lookup, rather than two lookups. Not sure, but it would interesting to see. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania19073
В списке pgsql-hackers по дате отправления: