Jan-Oliver Wagner wrote:

> After all I am in doubt that the .desc stuff is a clever concept
> at all. So far I discovered more problems than benefits. Is there
> any benefit at all?

Yes - it avoids a huge start up hit compiling the scripts.  Once you
get up to the 14,000+ script mark, on a P4 2.4, the time to "compile"
the scripts into p-code takes upwards of 30 seconds CPU time
alone (taken by just looking at "ps" on an initial sans-cache startup).

You don't want to be removing the .desc cache.  Fix it, or as Bernhard
suggested, invalidate the cache if a .inc file changes - that's all
fine if more fine grained fixes are too much of a pain. But a wholesale
removal I think needs to be avoided.

Thomas

_______________________________________________
Openvas-devel mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-devel

Reply via email to