robertdavidgraham / masscan

TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes.
GNU Affero General Public License v3.0
23.55k stars 3.08k forks source link

Potential CPU Issue #202

Open implore opened 8 years ago

implore commented 8 years ago

When I run Masscan on my dedicated server, using Debian, I have a CPU issue. The server has 8 cores, but Masscan only uses 1 of them. In doing so, Masscan maxes out the core to 100%. I was wondering if there is anyway to distribute the process, so it has access to all of the cores? If possible, Masscan won't be demanding large amounts of resources, from 1 core, plus I'll also be able to run faster scans.

FlorianWendelborn commented 8 years ago

What about running it 8 times yourself on 1/8 of the network you want to scan? It's not perfect, but should(?) work.