Re: Threads

Поиск
Список
Период
Сортировка
От mlw
Тема Re: Threads
Дата
Msg-id 3E30476B.9050303@mohawksoft.com
обсуждение исходный текст
Ответ на Re: Threads  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Greg Copeland wrote:<br /><blockquote cite="mid1043344940.2714.4.camel@mouse.copelandconsulting.net" type="cite"><pre
wrap="">OnThu, 2003-01-23 at 09:12, Steve Wampler wrote: </pre><blockquote type="cite"><pre wrap="">On Sat, 4 Jan 2003,
ChristopherKings-Lynne wrote:   </pre><blockquote type="cite"><pre wrap="">Also remember that in even well developed
OS'slike FreeBSD, all a
 
process's threads will execute only on one CPU.     </pre></blockquote><pre wrap="">I doubt that - it certainly isn't
thecase on Linux and Solaris.
 
A thread may *start* execution on the same CPU as it's parent, but
native threads are not likely to be constrained to a specific CPU
with an SMP OS.   </pre></blockquote><pre wrap="">
You are correct.  When spawning additional threads, should an idle CPU
be available, it's very doubtful that the new thread will show any bias
toward the original thread's CPU.  Most modern OS's do run each thread
within a process spread across n-CPUs.  Those that don't are probably
attempting to modernize as we speak</pre></blockquote> AFAIK, FreeBSD is one of the OSes that are trying to modernize.
LastI looked it did not have kernel threads.<br /><blockquote
cite="mid1043344940.2714.4.camel@mouse.copelandconsulting.net"type="cite"><pre wrap=""> </pre></blockquote> 

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

Предыдущее
От: Didier Moens
Дата:
Сообщение: Re: Foreign key wierdness
Следующее
От: "Eduardo Stern"
Дата:
Сообщение: Cast and Schemas don't work as expected