Results 1 to 3 of 3

Thread: QTcpSocket: extremely slow between winxp 64bit and 32bit

  1. #1
    Join Date
    May 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QTcpSocket: extremely slow between winxp 64bit and 32bit

    Hi,

    I am trying to make a simple computation system based on a distributed mode using QTcpSocket. The size of data stream transferred each time over QTcpSocket is easily up to a few hundred megabytes. In this case, network utilization rate might be critical.

    The source code here came from modified fortuneclient/fortuneserver that they are able to transfer a large size of data (over 100MB). The maximum speed of the network (LAN) is 100Mbps. Some tested results listed below,

    client (from) server (to) network utilization

    winxp64bit linux 64bit 75-90% (75-90Mbps)
    winxp64bit winxp64bit 75-85% (75-85Mbps)
    winxp64bit winxp32bit 2-5% (2-5Mbps)

    As above, the transfer speed between winxp64bit and winxp32bit is like 30 to 45 times slower. Using the same socket to transfer data back from the server to the client is even slower.
    Can anyone give me some hints what causes the extremely slow connection between win64bit and 32bit?

    Thanks a lot.
    Preend.

  2. #2
    Join Date
    May 2010
    Location
    slovakia
    Posts
    47
    Thanks
    10
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Maemo/MeeGo

    Default Re: QTcpSocket: extremely slow between winxp 64bit and 32bit

    did you try xp_64 -> linux_32 ?? coz if you get also 75% that means there is something wrong with xp 32...

    + which ServicePack got that xp 32bit? did you look for known bugs on MS sites for that SP?

  3. #3
    Join Date
    Feb 2007
    Location
    Karlsruhe, Germany
    Posts
    469
    Thanks
    17
    Thanked 90 Times in 88 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTcpSocket: extremely slow between winxp 64bit and 32bit

    Maybe on your 32bit machine the TCP Window Size is set way too small?

    Joh

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.