threads vs. processes

2005-01-21 Thread Ram Tulasi
After following a lot of the email discussions, I thought I'd test out and see the performance benefits of using ithreads. Yeah, I was apprehensive and kind of expecting the results below.. :) I am using perl 5.8.6 on Linux 2.4.18-14 Results from a test run that in which each thread/process is si

Re: Issues and doubts about ithreads

2005-01-21 Thread Paul Archer
12:18pm, Martín Ferrari wrote: Also, I found today the Elizabeth Mattijsen's forks.pm module, and read that it uses TCP communication (why not UNIX, or -again- mmap?). Anyway, that seems to me the best approach, as it would be lighter than ithreads, and I just need to pass messages and a couple of

Issues and doubts about ithreads

2005-01-21 Thread Martín Ferrari
Hi, I am in the process of writing an application which is a central manager which should do a lot of IPC with databases, worker processes (already written in C, receiving commands via UNIX sockets), and user control via another UNIX socket. Initially I tried using nonblocking IO, but I found a l