in reply to Re^7: Strange memory leak using just threads (forks.pm)
in thread Strange memory leak using just threads
Hence the existence of forks.pm. It has the improved efficiency of creating a new "thread" because it uses fork() to do that
Sure, fork will be faster. But on any process long-running enough to be worth multi-threading, 0.01 per core is but a drop in the ocean.
How long will it take to
And I bet that establishing those socket connections more than negates the lower start-up cost of fork.
Which timing is the more important?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Strange memory leak using just threads (forks.pm)
by zwon (Abbot) on Sep 21, 2010 at 05:54 UTC | |
by BrowserUk (Patriarch) on Sep 21, 2010 at 06:06 UTC | |
by zwon (Abbot) on Sep 22, 2010 at 08:15 UTC | |
by BrowserUk (Patriarch) on Sep 22, 2010 at 10:05 UTC | |
by tirwhan (Abbot) on Sep 22, 2010 at 13:25 UTC | |
| |
by zwon (Abbot) on Sep 22, 2010 at 14:12 UTC | |
|