Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Speed difference between TCP and UDP

3 posts in Networking Last posting was on 2008-08-24 21:19:19.0Z
Bay Software Solutions Posted on 2008-08-22 02:45:39.0Z
From: "Bay Software Solutions" <support@baysoft.co.nz>
Newsgroups: Advantage.Networking
Subject: Speed difference between TCP and UDP
Date: Fri, 22 Aug 2008 14:45:39 +1200
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16669
NNTP-Posting-Host: 210.55.251.154
Message-ID: <48ae28a3@solutions.advantagedatabase.com>
X-Trace: 21 Aug 2008 20:46:59 -0700, 210.55.251.154
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!210.55.251.154
Xref: solutions.advantagedatabase.com Advantage.Networking:804
Article PK: 1132223

Hi,
I've recently had a problem with speed with one of our applications.
After spending a while looking at the code I tried changing the protocol the
ADS connection was using from UDP to TCP. This resulted in about a 10x speed
increase, given that UDP is supposed to be a faster protocol than TCP does
any one know why this would happen?

Testing PC is windows Vista Business edition and server is 2003 SP1 using
ADS 9.0.0.0

Thanks if you can help with this

Gordon
Bay Software Solutions Ltd.


Lance Schmidt Posted on 2008-08-22 15:34:57.0Z
From: "Lance Schmidt" <LanceSc@ExtendSys.com>
Newsgroups: Advantage.Networking
References: <48ae28a3@solutions.advantagedatabase.com>
Subject: Re: Speed difference between TCP and UDP
Date: Fri, 22 Aug 2008 09:34:57 -0600
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 10.24.38.117
Message-ID: <48aedb31@solutions.advantagedatabase.com>
X-Trace: 22 Aug 2008 09:28:49 -0700, 10.24.38.117
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!10.24.38.117
Xref: solutions.advantagedatabase.com Advantage.Networking:806
Article PK: 1132226

Hi Gordon,

There are two situations that I know when TCP can be faster. The first is
when there is a router or switch that is causing packet fragmentation with
UDP. The TCP protocol has better mechanisms for handling this. The second
is on a network where there is some dropped packets. The TCP protocol
really shines in this situation too.

Best Regards,

Lance Schmidt
Advantage R&D

"Bay Software Solutions" <support@baysoft.co.nz> wrote in message
news:48ae28a3@solutions.advantagedatabase.com...
> Hi,
> I've recently had a problem with speed with one of our applications.
> After spending a while looking at the code I tried changing the protocol
> the ADS connection was using from UDP to TCP. This resulted in about a 10x
> speed increase, given that UDP is supposed to be a faster protocol than
> TCP does any one know why this would happen?
>
> Testing PC is windows Vista Business edition and server is 2003 SP1 using
> ADS 9.0.0.0
>
> Thanks if you can help with this
>
> Gordon
> Bay Software Solutions Ltd.


Bay Software Solutions Posted on 2008-08-24 21:19:19.0Z
From: "Bay Software Solutions" <support@baysoft.co.nz>
Newsgroups: Advantage.Networking
References: <48ae28a3@solutions.advantagedatabase.com> <48aedb31@solutions.advantagedatabase.com>
In-Reply-To: <48aedb31@solutions.advantagedatabase.com>
Subject: Re: Speed difference between TCP and UDP
Date: Mon, 25 Aug 2008 09:19:19 +1200
Lines: 24
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16669
NNTP-Posting-Host: 210.55.251.154
Message-ID: <48b1d0ab@solutions.advantagedatabase.com>
X-Trace: 24 Aug 2008 15:20:43 -0700, 210.55.251.154
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!210.55.251.154
Xref: solutions.advantagedatabase.com Advantage.Networking:807
Article PK: 1132225

Hi,
Thanks for that. I thought it might be something in our network but
wanted to make sure.

Thanks again
Gordon
Bay Software Solutions.

"Lance Schmidt" <LanceSc@ExtendSys.com> wrote in message
news:48aedb31@solutions.advantagedatabase.com...
> Hi Gordon,
>
> There are two situations that I know when TCP can be faster. The first is
> when there is a router or switch that is causing packet fragmentation with
> UDP. The TCP protocol has better mechanisms for handling this. The
> second is on a network where there is some dropped packets. The TCP
> protocol really shines in this situation too.
>
> Best Regards,
>
> Lance Schmidt
> Advantage R&D
>