diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-09-24 21:39:17 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-09-24 21:39:17 +0200 |
commit | 0e51b3741185055d5bb82adc314d89a1c15b64ae (patch) | |
tree | 817956686583d532d9524201b797d4caff1e7cab /plugins/ssh.c | |
parent | 49e7f1798ec28957772e180c8dea3fddf586481d (diff) | |
download | ponymap-0e51b3741185055d5bb82adc314d89a1c15b64ae.tar.gz ponymap-0e51b3741185055d5bb82adc314d89a1c15b64ae.tar.xz ponymap-0e51b3741185055d5bb82adc314d89a1c15b64ae.zip |
Optimize and simplify the epoll poller
On my own machine (4096 max FD's), scanning localhost for all services,
there was no change to speak of. On another one, though, with 65536
max FD's scanning localhost and another machine simultaneously for
a specific service, there was a dramatic speedup allowing much faster
scans, with userspace load dropping to about a quarter of a second.
As a bonus, it makes the code simpler.
Diffstat (limited to 'plugins/ssh.c')
0 files changed, 0 insertions, 0 deletions