in reply to Re: Re: Re: 3 weeks wasted? - will threads help?
in thread 3 weeks wasted? - will threads help?
I set up a little program to fork two copies of itself up at the top and then in the main body, do nothing more than
while (1) { print "I am only printing and sleeping\n"; sleep 1; }
Performing a ps -el showed each processes' sz as though I had executed each one separately. Maybe I am using the wrong tool to determine how much total memory each process is taking away from the system.
I am going to look into POE as was suggested by adrianh, but it seems forking would be a whole lot easier. Is there a way for me to benchmark the difference in total process memory utilization between:
Thanks for the insight and cheers - L~R
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: 3 weeks wasted? - will threads help?
by perrin (Chancellor) on Jan 27, 2003 at 23:39 UTC | |
by Limbic~Region (Chancellor) on Jan 28, 2003 at 00:50 UTC | |
by perrin (Chancellor) on Jan 28, 2003 at 02:24 UTC |