add ringbuffer, delete mempool