Communication with few buffers: analysis and design