Calculate data transfer rate through named pipes