Performance fixes & tests on raw queues