double buffer and fifo size