i have made five cron jobs 0,5,10,15 ... * * * /etc/cron.0 1,6,11,16 ... * * * /etc/cron.1 . . . . 4,9,14,19 ... * * * /etc/cron.4
1/5 of the queries run every minute - /etc/cron.x directory has several smaller easier to manage *.cfg files - load balances better ya'll should be able to take it from here ;-> - if anyone needs a more detailed example, contact me directly -----Original Message----- From: Tobias Oetiker [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 2:40 PM To: Dave Plonka Cc: [EMAIL PROTECTED] Subject: [mrtg-developers] Re: proposed mrtg performance improvements? Hi Dave, you select patch sounds cool ... the other bits I am not quit shure about. Wouldn't it be enought to split your cfg file in 2 parts and run them in parallel (to cater for the needs of your smp system) ... what we want to achive is, that the cpu is working 100%, right ? ... The snmp acquision phase has an enormouse amount of latency, I added the forking there ... for the other bits I do not see where the latency comes in ... Have you used the perl profiler on the code, this might reveal where the hotspots are in the code ... cheers tobi -- ______ __ _ /_ __/_ / / (_) Oetiker @ ISG.EE, ETZ J97, ETH, CH-8092 Zurich / // _ \/ _ \/ / System Manager, Time Lord, Coder, Designer, Coach /_/ \.__/_.__/_/ http://people.ee.ethz.ch/~oetiker +41(0)1-632-5286 -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg-developers -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg-developers
