Closed aretsmarvin closed 2 years ago
I haven't seen any noticeable performance issues, but I've not really measured the performance either. (except in startup time and image size.)
There "shouldn't" be any difference. However, it could greatly depend on your setup.
The biggest advantage to using a container is not having to deal with the build and setup of GVM/Openvas on every machine you may need it and of course the portability of that build.
What is your docker environment like?
I know the advantages of docker, that's why I am using it :)
I run it for now on my laptop. 32gb's RAM, Ryzen 7, gigabit ethernet on the whole local network (that I was scanning).
I can't exactly "prove" that it was slow. But I think it felt slower than running it in the ubuntu VM.
You may check https://community.greenbone.net/t/everything-works-but-i-cant-see-any-report/5875/22. I need to do that fix/workaround (jit=off
). Otherwise it "killed" my machine. (I had exactly the issue that postgres
would burn the CPU endless.)
@dschinnerl That's pretty old. The current code from Greenbone has been optimzed to better support the newer versions of Postgres without the mods.
Hey. Here the same issue. I have a fresh Debian11 (only with Docker and Portainer) and the latest immauss/openvas-Image. The Docker-Host run as a VMWare-VM with 12 Cores for the test. If i scan some subnetworks, the cpu-utilization goes endless. If i try the workaround "jit=off" in the /var/lib/docker/volumes/openvas/_data/database/postgresql.conf, the cpu-utilization run now smoothly.
Interesting. That was "supposed" to be fixed a while ago. I can certainly add that to the default build though.
Thanks!
This is now in the default build.
Thanks!
Hi,
I was looking into the docker image, and it looks nice. However, I think (not sure), that it is slower, then when I ran openvas in a Ubuntu VM. It looks like it stucks sometimes. Are there any ways the performance can be optimized?