Re: Linux v.s. Mac OS-X Performance

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Linux v.s. Mac OS-X Performance
Дата
Msg-id 1196270015.5857.1.camel@mha-laptop.clients.sollentuna.se
обсуждение исходный текст
Ответ на Re: Linux v.s. Mac OS-X Performance  (Scott Ribe <scott_ribe@killerbytes.com>)
Ответы Re: Linux v.s. Mac OS-X Performance
Re: Linux v.s. Mac OS-X Performance
Список pgsql-general
On Wed, 2007-11-28 at 07:29 -0700, Scott Ribe wrote:
> > Yes, very much so. Windows lacks the fork() concept, which is what makes
> > PostgreSQL much slower there.
>
> So grossly slower process creation would kill postgres connection times. But
> what about the cases where persistent connections are used? Is it the case
> also that Windows has a performance bottleneck for interprocess
> communication?

There is at least one other bottleneck, probably more than one. Context
switching between processes is a lot more expensive than on Unix (given
that win32 is optimized towards context switching between threads). NTFS
isn't optimized for having 100+ processes reading and writing to the
same file. Probably others..

//Magnus

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

Предыдущее
От: "Matt Doughty"
Дата:
Сообщение: Select all fields except one
Следующее
От: Vivek Khera
Дата:
Сообщение: Re: Select all fields except one