Unix Technical Forum

Change the size of the TDS packet size

This is a discussion on Change the size of the TDS packet size within the Sybase forums, part of the Database Server Software category; --> Hello. I am currently investigating the possibility of encreasing the performance of an application that causes heavy network trafic. ...


Go Back   Unix Technical Forum > Database Server Software > Sybase

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 03:41 PM
Jorge Vergara
 
Posts: n/a
Default Change the size of the TDS packet size

Hello.

I am currently investigating the possibility of encreasing the
performance of an application that causes heavy network trafic.

Can anyone tell me how can I change the size of the TDS packet the
client is using in its communications with the server?

I am using Sybase A.S.E 12.5 on Windows 2000.

Thanks a lot.

Jorge Vergara
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 03:41 PM
Anthony Mandic
 
Posts: n/a
Default Re: Change the size of the TDS packet size

Jorge Vergara wrote:

> I am currently investigating the possibility of encreasing the
> performance of an application that causes heavy network trafic.
>
> Can anyone tell me how can I change the size of the TDS packet the
> client is using in its communications with the server?


You would need to be able to change the source code. If you
don't have access to that, you're out of luck. Otherwise, what
you change depends on what library the application uses.

> I am using Sybase A.S.E 12.5 on Windows 2000.


Note that somewhere along the line, either in ASE 12.5 GA or
a subsequent EBF, the TCP NO_DELAY option was set to be on by
default. It used to be off by default. This may be responsible
for your increased network traffic.

-am © 2003
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 03:41 PM
Jorge Vergara
 
Posts: n/a
Default Re: Change the size of the TDS packet size

Anthony.

Thank you very much for your response.

I do have access to the source code. The application accessess the
database through ODBC (api calls, no RDO, ADO, etc).

As for TCP NO_DELAY, it is on on my box. Is there a way of changing
it on a connection basis?

Jorge

Anthony Mandic <im@hotmail.com> wrote in message news:<3F0C1AAD.9989817E@hotmail.com>...
> Jorge Vergara wrote:
>
> > I am currently investigating the possibility of encreasing the
> > performance of an application that causes heavy network trafic.
> >
> > Can anyone tell me how can I change the size of the TDS packet the
> > client is using in its communications with the server?

>
> You would need to be able to change the source code. If you
> don't have access to that, you're out of luck. Otherwise, what
> you change depends on what library the application uses.
>
> > I am using Sybase A.S.E 12.5 on Windows 2000.

>
> Note that somewhere along the line, either in ASE 12.5 GA or
> a subsequent EBF, the TCP NO_DELAY option was set to be on by
> default. It used to be off by default. This may be responsible
> for your increased network traffic.
>
> -am © 2003

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-08-2008, 03:41 PM
Anthony Mandic
 
Posts: n/a
Default Re: Change the size of the TDS packet size

Jorge Vergara wrote:

> I do have access to the source code. The application accessess the
> database through ODBC (api calls, no RDO, ADO, etc).


OK, I don't know how you would do it thru ODBC.

> As for TCP NO_DELAY, it is on on my box. Is there a way of changing
> it on a connection basis?


No, its a server-wide setting.

-am © 2003
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-08-2008, 03:42 PM
Anthony Mandic
 
Posts: n/a
Default Re: Change the size of the TDS packet size

Jorge Vergara wrote:

> Could you point me to some resource (site, documentation, etc) that could help me?


Start here -> http://www.sybase.com/support/manuals/

-am © 2003
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:34 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com