64bit vs 32bit build on amd64

Поиск
Список
Период
Сортировка
От Roman Krylov
Тема 64bit vs 32bit build on amd64
Дата
Msg-id 44FC8FB4.4030706@mail.ru
обсуждение исходный текст
Ответы Re: 64bit vs 32bit build on amd64  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-performance
Hi.
My config:
gentoo linux "2005.1" on amd64x2 in 64-bit mode,
kernel 2.6.16.12
glibc 3.3.5(NPTL),
gcc 3.4.3.
I had not used portage for building.
I built two versions of postgres from sources:
postgresql-8.1.4 native(64bit)
and 32-bit with CFLAGS=... -m32, and "LD =
/usr/x86_64-pc-linux-gnu/bin/ld -melf_i386" in src/Makefile.global.
32-bit build runs much faster than 64 apparently.
What benchmark utility should I run to provide more concrete info (numbers)?
What could be the reason of that difference in performance?

Regards,
    Roman.


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

Предыдущее
От: Francisco Reyes
Дата:
Сообщение: Re: how to partition disks
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: database bloat,non removovable rows, slow query etc... [RESOLVED]