(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
In reply to Re: Perl Threads and multi-core CPUs
by misterwhipple
in thread Perl Threads and multi-core CPUs
by haidut
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |