twitter/zktraffic — pull request #3 by phobos182 (2014-10-06 19:07:35+00:00)
Title: Allow setting nice level and proc affinity w/psutil

@Yasumoto @rgs1

Adding psutil as a requirement, and using it to set niceness level and CPU affinity. CPU affinity will allow us to pin the process to a specific core as scapy can be CPU intensive at high packets per second load. In production, this will let us sandbox the monitoring code away from the Zookeeper daemon itself.