Grant Strategies in the Xen PV Network Driver
summary
Compares two concrete implementations: persistent grants (reuse mapped pages, memcopy on front end) and static grants (control-ring premap, hash table lookups). Measured gains: persistent improves TX and DomU→DomU bandwidth but hurts RX due to an extra memcopy; static (2017) gives larger bandwidth wins on single-VIF Intel but requires mapping thousands of grants, increasing memory and causing scalability problems. The recycling algorithm boosts performance further but doubles mapped grants and adds complex bookkeeping, so it works but creates resource and maintainability tradeoffs.
AI-written summary · about
