[mrtg] Re: 14all.cgi speed problem
cmg at uab.edu
Tue Nov 21 23:49:32 MET 2000
Pavel Ruzicka <pavouk at k332.feld.cvut.cz> writes:
> > Pavel Ruzicka wrote:
> > > I have problem with speed of 14all.cgi
> > > Page with one interface is generated after 10-15 seconds.
> > > I want 3-5 seconds max.
> I have some idea about speedup 14all.cgi.
> When I run 14all.cgi for one interface, this cgi script calls another
> 4 cgi-scripts for pictures. And these all 5 scripts do parsing of
> First script calls for example this picture:
> Is it possible first check temporary file
> "gw1.gts.cz_serial4_3-monthly.png" before doing parsing?
> Pictures generated by first 14all.cgi script can be available without
> config parsing.
> This is only My ideas, maybe I'm wrong, I'm not programmer.
Yes - its possible to have it generate the pictures on the first call
of 14all.cgi and that saves a lot of time, especially on the smaller
On larger config files, cacheing the configuration parsing (
preferably in a DB but anyway will do ) is needed. This make it
usable even for non trivial config file sizes ;)
Chris Green <cmg at uab.edu>
To err is human, to moo bovine.
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
More information about the mrtg