Measure socket and RDMA performance