News for hackers. Stuff that matters.
Re:Show HN: Findpi find raspberry pis on your network faster... by jjjbokma on Tuesday November 19, 2019 @10:17AM (#21573661)
What nmap command exactly did you use? I understand you can change the number of hosts it scans in parallel, see: https://nmap.org/book/man-performance.html

Not a criticism, just curious.

Re:Show HN: Findpi find raspberry pis on your network faster... by jamescampbell on Tuesday November 19, 2019 @10:31AM (#21573878)
I thought I posted the command in the readme, nmap -sP. Yeah I remember reading about nmap adding parallelization. According to the link you shared: "By default, Nmap calculates an ever-changing ideal parallelism based on network performance". So my benchmarks are based on comparing against that. I don't know why my implementation is faster, but the three tests I performed show that findpi is faster. I guess because I am forcing more threads than nmap's ever-changing ideal is allocating?