realbasic-nug
[Top] [All Lists]

Linux socket speeds?

To: realbasic-nug@lists.realsoftware.com
Subject: Linux socket speeds?
From: Todd Fantz <todd@fantz.com>
Date: Wed, 29 Jul 2009 15:10:17 -0400
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <mailman.7950.1248885031.4676.realbasic-nug@lists.realsoftware.com>
References: <mailman.7950.1248885031.4676.realbasic-nug@lists.realsoftware.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
I have a very simple app that uses serversockets. Clients connect, send short messages, which the app then sends to all connected clients. Basically it looks for a message termination character in a buffer, grabs the full message and loops through the open connections and writes. On Windows and Mac the performance is stunningly identical. On Ubuntu it is taking ten times as long to process and transmit a single message to a single client. At the moment I am testing this from the client side... timing the interval between sending and getting a response back. Mac and Windows are consistent, Ubuntu is all over the place and always x9+ times more.

Has anyone else had an experience like this? I am not sure what there is to modify... a couple instr calls and a for next loop. I have already used the pragma statements around the loop. There is no gui updating going on. Not sure if I should be breaking down the sockets side or the string parsing. I would think the sockets are all based on the same core.

Regards,

Todd Fantz
todd@fantz.com

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>
  • Linux socket speeds?, Todd Fantz <=