optimise the ring buf can get the chunk