channel.alloc()
benchmark with 2g
use length encoder