none
RIO sockets latency difference between localhost and two local machines scenarios RRS feed

  • Question

  • Greetings!

    We use simple RIO sockets examples and we have achieved 4 usec latency for 4 KB data packets (both for UDP and for TCP but a bit slower) on localhost

    The problem is that when we run the same code on two local network machines configuration, we see that the latency is near 1000 usec (~ 1msec) for the same packet size.

    We have tried all the performance tuning magic with device settings in the device manager and we have stopped all windows services that we can stop while testing but it seems we can't achieve the target latency 4 usec.

    Does anybody can help us with any advice? We use windows 8.1 x64 and high frequency machines (at least 3 GHz workmode)

    Thanks beforehand!



    • Edited by Braingines Thursday, May 14, 2015 1:56 AM
    Thursday, May 14, 2015 1:54 AM

Answers

  • You can analyze where the bottlenecks are using the Windows Performance Analyzer, which is part of the Windows Performance Toolkit (in the SDK). There are videos on Channel 9 on how to use it. You'll have to become very familiar with Windows internals, so read "Windows Internals, 6th Ed." by Russinovich and Solomon.

     -Brian


    Azius Developer Training www.azius.com Windows device driver, internals, security, & forensics training and consulting. Blog at www.azius.com/blog

    Thursday, May 14, 2015 2:28 AM
    Moderator

All replies

  • You can analyze where the bottlenecks are using the Windows Performance Analyzer, which is part of the Windows Performance Toolkit (in the SDK). There are videos on Channel 9 on how to use it. You'll have to become very familiar with Windows internals, so read "Windows Internals, 6th Ed." by Russinovich and Solomon.

     -Brian


    Azius Developer Training www.azius.com Windows device driver, internals, security, & forensics training and consulting. Blog at www.azius.com/blog

    Thursday, May 14, 2015 2:28 AM
    Moderator
  • Thank you for WPA reference,

    I will try my best and publish the results whatever they will be.

    Kind regards.

    Thursday, May 14, 2015 8:44 AM