Measuring and reducing the impact of the operating system kernel on end-to-end latencies in synchronous packet switched networks