Re: help with huge memory consumption??



On 12 Mar 2007 01:56:48 -0700 David Schwartz <davids@xxxxxxxxxxxxx> wrote:

| When people are talking about multi-threaded versus multi-process
| approaches, it is completely nonsensical to compare the cost of
| creating a thread to the cost of creating a process. There is
| virtually no realistic case where you can either do one of one or one
| of the other. Dozens of performance issues would come first, yet for
| some reason, everyone brings this stinker up as if it had any real
| relevance.

The start/create cost is relevant. It's just not the only thing that is
relevant. I think what you are trying to say here is that the whole cost
of threads vs. processes has to be considered, not just the creation cost.

--
|---------------------------------------/----------------------------------|
| Phil Howard KA9WGN (ka9wgn.ham.org) / Do not send to the address below |
| first name lower case at ipal.net / spamtrap-2007-03-12-0625@xxxxxxxx |
|------------------------------------/-------------------------------------|
.



Relevant Pages

  • Re: help with huge memory consumption??
    ... The design issues between the two approached would be so different ... You cannot take two completely different programs and compare them by ... It's like comparing the cost to overnight a pound of bananas against ... the creation cost is negligible. ...
    (comp.os.linux.development.system)
  • Re: help with huge memory consumption??
    ... I'm saying that saying what you said in the context in which you ... When people are talking about multi-threaded versus multi-process ... creating a thread to the cost of creating a process. ... It is purely misleading. ...
    (comp.os.linux.development.system)
  • Re: help with huge memory consumption??
    ... by overnight vs. by boat. ... compare airplanes vs. boats vs. trucks vs. railroads vs. donkey backs. ... multi-process approach is compare the cost of creating a thread to the ... cost of creating a process. ...
    (comp.os.linux.development.system)
  • Re: help with huge memory consumption??
    ... And my response is that that when talking about the performance of a ... multi-threaded approach versus a multi-process approach, ... cost of creating a process. ... difference will be that creating a new process requires copying the ...
    (comp.os.linux.development.system)
  • Re: help with huge memory consumption??
    ... it is completely nonsensical to compare the cost of ... creating a thread to the cost of creating a process. ... The person who first wrote of thread creation cost versus process ...
    (comp.os.linux.development.system)