Re: help with huge memory consumption??
- From: Rainer Weikusat <rainer.weikusat@xxxxxxxxx>
- Date: Tue, 13 Mar 2007 11:00:31 +0100
"David Schwartz" <davids@xxxxxxxxxxxxx> writes:
[...]
It costs some time to create a process, and threads don't have that
time, so threads must be better.
And my response is that that when talking about the performance of a
multi-threaded approach versus a multi-process approach, it is
nonsensical to directly compare the cost of creating a thread to the
cost of creating a process.
It is fairly nonsensical, because on Linux, process and thread
creation costs do not (and cannot) differ significantly. The main
difference will be that creating a new process requires copying the
page tables of the old process.
.
- References:
- help with huge memory consumption??
- From: Dan Miller
- Re: help with huge memory consumption??
- From: David Schwartz
- Re: help with huge memory consumption??
- From: phil-news-nospam
- Re: help with huge memory consumption??
- From: David Schwartz
- Re: help with huge memory consumption??
- From: Rainer Weikusat
- Re: help with huge memory consumption??
- From: David Schwartz
- Re: help with huge memory consumption??
- From: Rainer Weikusat
- Re: help with huge memory consumption??
- From: David Schwartz
- Re: help with huge memory consumption??
- From: Chris Friesen
- Re: help with huge memory consumption??
- From: David Schwartz
- Re: help with huge memory consumption??
- From: phil-news-nospam
- Re: help with huge memory consumption??
- From: David Schwartz
- help with huge memory consumption??
- Prev by Date: Re: help with huge memory consumption??
- Next by Date: Re: help with huge memory consumption??
- Previous by thread: Re: help with huge memory consumption??
- Next by thread: Re: help with huge memory consumption??
- Index(es):
Relevant Pages
|