in reply to Perl Threads and multi-core CPUs
(Oops, you already said you're using Linux.) What Perl module/function are you using for fork()ing?
The forks module seems encouraging on this subject.
This is outside my experience, but could you accomplish what you need by forking before you generate your AI model, when the parent process is small, then using shared memory to make the model available to the child processes?
cat >~/.sig </dev/interesting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Threads and multi-core CPUs
by BrowserUk (Patriarch) on Sep 10, 2008 at 04:23 UTC | |
by Anonymous Monk on Sep 10, 2008 at 04:34 UTC | |
by BrowserUk (Patriarch) on Sep 10, 2008 at 05:14 UTC | |
by Anonymous Monk on Sep 10, 2008 at 05:24 UTC | |
by Mark.Hedges (Initiate) on Jun 27, 2014 at 17:46 UTC | |
by BrowserUk (Patriarch) on Jun 27, 2014 at 18:08 UTC | |
by Anonymous Monk on Jan 19, 2017 at 10:16 UTC | |
by Anonymous Monk on Jan 19, 2017 at 10:17 UTC |