glasswalk3r has asked for the wisdom of the Perl Monks concerning the following question:
Greetings monks,
Is it possible to create programs that use IPC to communicate and use the COW (copy on write) functionality on Linux OS?
I'm asking that because I've doing some tests and I could not get an situation that my forked child did not copy all variables from parent process.
I checked this situation by running htop program and seeing that the child process have the same amount of memory than the parent process. For what I have read about COW, the child process will copy its parent process variables in its own address space only if it tries to change those variables. My conclusion is, COW should help to reduce memory consumption but I never could checked that.
Given this little introduction, how can I:
Thank you,
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Is it possible to use IPC COW with Perl?
by Khen1950fx (Canon) on May 22, 2011 at 19:49 UTC | |
Re: Is it possible to use IPC COW with Perl?
by John M. Dlugosz (Monsignor) on May 22, 2011 at 19:47 UTC | |
Re: Is it possible to use IPC COW with Perl?
by locked_user sundialsvc4 (Abbot) on May 23, 2011 at 12:17 UTC |