Re: size of cache

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: size of cache
Дата
Msg-id 1121270867.3970.266.camel@localhost.localdomain
обсуждение исходный текст
Ответ на size of cache  (Jean-Max Reymond <jmreymond@gmail.com>)
Список pgsql-performance
On Wed, 2005-07-13 at 10:20 +0200, Jean-Max Reymond wrote:
> with my application, it seems that size of cache has great effect:
> from 512 Kb of L2 cache to 1Mb boost performance with a factor 3 and
> 20% again from 1Mb L2 cache to 2Mb L2 cache.

Memory request time is the main bottleneck in well tuned database
systems, so your results could be reasonable.

> I don't understand why a 512Kb cache L2 is too small to fit the data's
> does it exist a tool to trace processor activity and confirm that
> processor is waiting for memory ?

You have both data and instruction cache on the CPU. It is likely it is
the instruction cache that is too small to fit all of the code required
for your application's workload mix.

Use Intel VTune or similar to show the results you seek.

Best Regards, Simon Riggs


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: cost-based vacuum
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: General DB Tuning