Re: Bug: Buffer cache is not scan resistant

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug: Buffer cache is not scan resistant
Дата
Msg-id 27070.1173158960@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bug: Buffer cache is not scan resistant  ("Luke Lonergan" <llonergan@greenplum.com>)
Список pgsql-hackers
"Luke Lonergan" <llonergan@greenplum.com> writes:
> Here's the x86 assembler routine for Solaris:
> http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/intel/ia32
> /ml/copy.s
> The actual uiomove routine is a simple wrapper that calls the assembler
> kcopy or xcopyout routines.  There are two versions (for Opteron), one that
> uses the NTA instructions that bypass the L2 cache on writing to avoid L2
> cache pollution, and the second writes normally - through the L2 cache.

Hm.  If it were bypassing the L2 cache then the hit would be taken when
PG later tries to read the data.  This is clearly not what's happening
in the Linux system, but I've not seen any oprofile-equivalent data for
Solaris?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PL/Python warnings in CVS HEAD
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: proposal: custom variables management