|
This seems a bit excessive. We have 375 config files containing 7838 targets running on a twin CPU 3GHz xeon with Linux, and nothing like this usage.
To improve performance (see the routers.cgi:Advanced forum) we've done a couple of things.
1) Scheduled the MRTG data collection to run staggered over the 5-min window. We dont just kick off all data collection at the same time, this resulted in a heavy load at that point.
2) Install speedycgi for Apache. You could also use mod_perl. When one of these is installed and enabled for routers.cgi, then you can switch on caching in the routers2.conf file which will speed up the frontend considerably (as it doesn't need to re-read the config files to build the menus each time).
3) Have oodles of memory (actually, 2Gb in our case) and nice fast disks (superfast Adaptec controller with fast SCSI disks) MRTg and RRD are very IO intensive (naturally) and this helps a lot. Previously, we has some crappy EIDE disks and only 512Mb memory, and performance sucked.
_________________ Steve Shipway UNIX Systems, ITSS, University of Auckland, NZ Woe unto them that rise up early in the morning... -- Isaiah 5:11
|