Ping-optimization