aboutsummaryrefslogtreecommitdiff
path: root/ponymap.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2014-09-24 21:39:17 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2014-09-24 21:39:17 +0200
commit0e51b3741185055d5bb82adc314d89a1c15b64ae (patch)
tree817956686583d532d9524201b797d4caff1e7cab /ponymap.c
parent49e7f1798ec28957772e180c8dea3fddf586481d (diff)
downloadponymap-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 'ponymap.c')
0 files changed, 0 insertions, 0 deletions