Re: PostgreSQL pre-fork speedup

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: PostgreSQL pre-fork speedup
Дата
Msg-id 1376.24.211.141.25.1083821420.squirrel@www.dunslane.net
обсуждение исходный текст
Ответ на Re: PostgreSQL pre-fork speedup  (sdv mailer <sdvmailer@yahoo.com>)
Ответы Re: PostgreSQL pre-fork speedup
Список pgsql-hackers
sdv mailer said:
> Forking is expensive on many systems. Linux is a bit
> better but still expensive compared to threads. On
> Windows, creating process is much more expensive than
> on Linux. Check this benchmark:
>
> http://cs.nmu.edu/~randy/Research/Papers/Scheduler/understanding.html
>
> Forking shouldn't be taken lightly as free thing.
> There are pros and cons. The general trend is going
> towards threads, but that's a different issue.
>
>

This article shows a 3x speedup for thread creation over fork(), not the
numbers you have quoted. Furthermore, it talks about Linux kernel 2.0.30.
Do you know how old that is? The paper itself comes from Linux Journal,
January 1999, according to the author's web site.

Argument will get you nowhere - if you want it done then do it and prove
everyone wrong.

cheers

andrew






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

Предыдущее
От: sdv mailer
Дата:
Сообщение: Re: PostgreSQL pre-fork speedup
Следующее
От: sdv mailer
Дата:
Сообщение: Re: PostgreSQL pre-fork speedup