Measuring and Reducing the Impact of the OS Kernel on End-to-End Latencies in Synchronous Packet Switched Networks