Re: help with huge memory consumption??



"David Schwartz" <davids@xxxxxxxxxxxxx> writes:
On Mar 11, 12:17 pm, Rainer Weikusat <rainer.weiku...@xxxxxxxxx>
wrote:
"David Schwartz" <dav...@xxxxxxxxxxxxx> writes:
On Mar 9, 6:07 am, Rainer Weikusat <rainer.weiku...@xxxxxxxxx> wrote:

Trivial counterexample:

Your trivial counterexample is completely non-optimized.

It didn't have a purpose except demonstrating that your general
statement is logically wrong.

[...]

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.

This depends on the particular application.

There is virtually no realistic case where you can either do one of
one or one of the other.

There is one very popular 'realistic case' and it is called Apache 2.2
web server, cf

http://httpd.apache.org/docs/2.2/mpm.html

Dozens of performance issues would come first, yet for
some reason, everyone brings this stinker up as if it had any real
relevance.

The person who first wrote of thread creation cost versus process
creation cost is still you. You can easily terminate this particular
discussion completely by stopping to argue about it again.
.



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??
    ... | When people are talking about multi-threaded versus multi-process ... | creating a thread to the cost of creating a process. ... of threads vs. processes has to be considered, not just the creation cost. ...
    (comp.os.linux.development.system)
  • Re: help with huge memory consumption??
    ... of threads vs. processes has to be considered, not just the creation cost. ... The start/create cost is relevant. ... What is not relevant is comparing ...
    (comp.os.linux.development.system)
  • Re: help with huge memory consumption??
    ... | Because thread creation is in no way analogous to process creation. ... So it's nonsensical to compare ... Linux clone() call is not too far from this. ... The cost of a thread ...
    (comp.os.linux.development.system)
  • Re: Quad Core PC for less than a Mac Mini
    ... A meaningless one when compared to computers. ... Cars are quite easy for a friend of mine to assemble, ... compare equals. ... home is an example of a cost avoidance of eating out. ...
    (comp.sys.mac.advocacy)