jumbo frames
What is the status of jumbo frame support in dom0 and domU? Unless something has changed I know it isn't supported in domU, but shouldn't it just work in dom0?
-Kip
Quoted 3 lines · Kip Macy
What is the status of jumbo frame support in dom0 and domU? Unless something has changed I know it isn't supported in domU, but shouldn't it just work in dom0?
I think it'll just work, but it's untested. If the jumbo area spans multiple memory pages then it needs to be allocated with something like dma_alloc_coherent, or be represented by a fragmented skbuff. (i.e., hopefully the network stack and drivers don't assume that kmalloc() always return physically contiguous memory extents).
-- Keir
Quoted 7 lines · Keir Fraser
Quoted 3 lines · Kip Macy
What is the status of jumbo frame support in dom0 and domU? Unless something has changed I know it isn't supported in domU, but shouldn't it just work in dom0?
Quoted 6 lines
I think it'll just work, but it's untested. If the jumbo area spans multiple memory pages then it needs to be allocated with something like
dma_alloc_coherent, or be represented by a fragmented skbuff. (i.e., hopefully the network stack and drivers don't assume thatkmalloc()always return physically contiguous memory extents).
What all would need to change to support it for domUs?
-Kip
Quoted 4 lines · Kip Macy
Quoted 4 lines
Quoted 3 lines
What is the status of jumbo frame support in dom0 and domU? Unless something has changed I know it isn't supported in domU, but shouldn't it just work in dom0?
Quoted 8 lines
Quoted 6 lines
I think it'll just work, but it's untested. If the jumbo area spans multiple memory pages then it needs to be allocated with something like
dma_alloc_coherent, or be represented by a fragmented skbuff. (i.e., hopefully the network stack and drivers don't assume thatkmalloc()always return physically contiguous memory extents).What all would need to change to support it for domUs?
We need scatter-gather support on the device channel, and the frontend and backend both need to know how to queue and dequeue fragmented network buffers.
-- Keir
Quoted 8 lines
Quoted 2 lines
What all would need to change to support it for domUs?
We need scatter-gather support on the device channel, and the frontend and backend both need to know how to queue and dequeue fragmented network buffers.
-- Keir
Is it anywhere on the roadmap?
-Kip
Quoted 10 lines · Keir Fraser
Quoted 3 lines · Kip Macy
What is the status of jumbo frame support in dom0 and domU? Unless something has changed I know it isn't supported in domU, but shouldn't it just work in dom0?
I think it'll just work, but it's untested. If the jumbo area spans multiple memory pages then it needs to be allocated with something like
dma_alloc_coherent, or be represented by a fragmented skbuff. (i.e., hopefully the network stack and drivers don't assume thatkmalloc()always return physically contiguous memory extents).
I've actually wanted to look into this for a while.
It seems to me that MTUs of ~4000 (1 page) should be fairly trivial to impliment, and should boost performance significantly (with no extra cost as we are using the full page anyway).
Kip, if you don't want to do it, I will ;-)
Thanks,
Jon
Quoted 5 lines
It seems to me that MTUs of ~4000 (1 page) should be fairly trivial to impliment, and should boost performance significantly (with no extra cost as we are using the full page anyway).
Kip, if you don't want to do it, I will ;-)
That would be awesome.
Let me know if you want some extra testing done for any patches.
-Kip