1. 05 8月, 2014 1 次提交
    • K
      Drivers: net-next: hyperv: Increase the size of the sendbuf region · 06b47aac
      KY Srinivasan 提交于
      Intel did some benchmarking on our network throughput when Linux on Hyper-V
      is as used as a gateway. This fix gave us almost a 1 Gbps additional throughput
      on about 5Gbps base throughput we hadi, prior to increasing the sendbuf size.
      The sendbuf mechanism is a copy based transport that we have which is clearly
      more optimal than the copy-free page flipping mechanism (for small packets).
      In the forwarding scenario, we deal only with MTU sized packets,
      and increasing the size of the senbuf area gave us the additional performance.
      For what it is worth, Windows guests on Hyper-V, I am told use similar sendbuf
      size as well.
      
      The exact value of sendbuf I think is less important than the fact that it needs
      to be larger than what Linux can allocate as physically contiguous memory.
      Thus the change over to allocating via vmalloc().
      
      We currently allocate 16MB receive buffer and we use vmalloc there for allocation.
      Also the low level channel code has already been modified to deal with physically
      dis-contiguous memory in the ringbuffer setup.
      
      Based on experimentation Intel did, they say there was some improvement in throughput
      as the sendbuf size was increased up to 16MB and there was no effect on throughput
      beyond 16MB. Thus I have chosen 16MB here.
      
      Increasing the sendbuf value makes a material difference in small packet handling
      
      In this version of the patch, based on David's feedback, I have added
      additional details in the commit log.
      Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      06b47aac
  2. 20 6月, 2014 1 次提交
  3. 24 5月, 2014 1 次提交
  4. 01 5月, 2014 1 次提交
    • K
      hyperv: Enable sendbuf mechanism on the send path · c25aaf81
      KY Srinivasan 提交于
      We send packets using a copy-free mechanism (this is the Guest to Host transport
      via VMBUS). While this is obviously optimal for large packets,
      it may not be optimal for small packets. Hyper-V host supports
      a second mechanism for sending packets that is "copy based". We implement that
      mechanism in this patch.
      
      In this version of the patch I have addressed a comment from David Miller.
      
      With this patch (and all of the other offload and VRSS patches), we are now able
      to almost saturate a 10G interface between Linux VMs on Hyper-V
      on different hosts - close to  9 Gbps as measured via iperf.
      Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com>
      Reviewed-by: NHaiyang Zhang <haiyangz@microsoft.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c25aaf81
  5. 24 4月, 2014 2 次提交
  6. 22 4月, 2014 1 次提交
  7. 12 4月, 2014 1 次提交
  8. 11 3月, 2014 6 次提交
  9. 20 2月, 2014 1 次提交
  10. 18 2月, 2014 2 次提交
  11. 28 1月, 2014 1 次提交
  12. 07 12月, 2013 1 次提交
  13. 20 1月, 2013 1 次提交
  14. 03 10月, 2012 2 次提交
  15. 17 7月, 2012 1 次提交
  16. 05 6月, 2012 1 次提交
  17. 13 5月, 2012 1 次提交
  18. 13 3月, 2012 1 次提交
  19. 05 1月, 2012 3 次提交
  20. 02 12月, 2011 1 次提交
  21. 29 11月, 2011 1 次提交
  22. 11 10月, 2011 1 次提交
  23. 17 9月, 2011 1 次提交
  24. 30 8月, 2011 2 次提交
  25. 26 8月, 2011 1 次提交
    • G
      Staging: hv: fix up driver registering mess · 768fa219
      Greg Kroah-Hartman 提交于
      Individual drivers should never be touching the 'struct device' field,
      so if that is a requirement to pass to the vmbus core, you know
      something is wrong.
      
      This patch fixes that all up, and resolves the problem where the module
      reference counting was not happening properly for the individual drivers
      as well.  Overall, it reduces the lines of code the individual drivers
      have to have, which tells you that this is the correct thing to do.
      
      Also, somehow the _GPL marking for the functions got removed on an older
      patch.  As the name of the function was changing, properly change the
      _GPL marking as well at the same time.
      
      Cc: K. Y. Srinivasan <kys@microsoft.com>
      Cc: Haiyang Zhang <haiyangz@microsoft.com>
      Cc: Hank Janssen <hjanssen@microsoft.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      768fa219
  26. 08 6月, 2011 3 次提交
  27. 18 5月, 2011 1 次提交