Question about seperating request and response ring in PV network
Hi, all:
I am trying to improve the performance of netfront/netback, and I found that there were some discussion about PV network performance improvement in devel mailing list ([1]). The proposals mentioned in [1] are helpful, such as multipage ring, multiqueue, etc, and some of them have already merged into upstream. However, I am wondering if we have already used multipage ring, why "seperate request and response ring" listed in [1] is also helpful for performance improvement? I have read the implementation of vmxnet3 driver, it does have separated request and response rings, but I can not understand what the advantage of this method is. Thanks.
[1] http://lists.xen.org/archives/html/xen-devel/2013-05/msg01904.html
----
Best Regards
Lui
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 8 lines · openlui
Hi, all:
I am trying to improve the performance of netfront/netback, and I found that there were some discussion about PV network performance improvement in devel mailing list ([1]). The proposals mentioned in [1] are helpful, such as multipage ring, multiqueue, etc, and some of them have already merged into upstream.
Quoted 6 lines
However, I am wondering if we have already used multipage ring, why "seperate request and response ring" listed in [1] is also helpful for performance improvement? I have read the implementation of vmxnet3 driver, it does have separated request and response rings, but I can not understand what the advantage of this method is.
Correction: network driver doesn't use multi-page ring and I don't think we have plan to do that.
That email contains mostly brainstormed ideas that we thought might help improve performance. Some ideas were solid (and upstreamed), some were not. I implemented several prototype back in the day but I couldn't remember what I did.
As for separating rings, there are two possibilities: 1) I didn't implement that; 2) I implemented that but there was no visible improvement. So there is no such feature in upstream driver.
Wei.
Quoted 13 lines
Thanks.
[1] http://lists.xen.org/archives/html/xen-devel/2013-05/msg01904.html
----
Best Regards
Lui_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel