Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-1001

QTcpSocket is very slow with large packets when both peers are Windows machines

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.3.0
    • Network
    • None

    Description

      When using QTcpSocket to transmit data between Windows machines, performance drops dramatically when the packet size rises above some threshold. It's unclear if this is a problem in how we use the non-blocking API or if there is some very slow buffering in Windows itself, and the threshold seems to vary between machines (though it's hard to say what might cause that).

      A test program indicates that data is passed into Windows very quickly (e.g. by printing debug output after each call to flush()), but the receiving peer gets it much more slowly.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            stormols Marius Storm-Olsen
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes