in reply to initial walkthrough
Sounds reasonable, but I would consider 200+ processes too much since you might end up running 200 copies of your program just waiting for a pair of SNMP requests.
What is the fixed time basis? You might be able to collect status information from each IP sequentially if you don't need to update the histogram too frequently. Depending on the SNMP modules, using select() (you seem to target *NIX platform) might be an approach to parallelise the networking part using a single thread since most time will presumably been spend waiting for an SNMP response.
I cannot see much coupling parallelism between the thread that collects the information and the thread that processes the statistics. Seems that you need to update the statistics only if the
collection thread has completed a round?
Update: s/coupling/parallelism/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: initial walkthrough
by vortmax (Acolyte) on Oct 09, 2008 at 20:12 UTC | |
by Perlbotics (Archbishop) on Oct 09, 2008 at 21:11 UTC | |
by vortmax (Acolyte) on Oct 09, 2008 at 21:27 UTC |