• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: tuning TCP/IP performance from Carbon app.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tuning TCP/IP performance from Carbon app.


  • Subject: Re: tuning TCP/IP performance from Carbon app.
  • From: Doug Hill <email@hidden>
  • Date: Mon, 12 May 2003 15:30:23 -0400

Hello all. I have a question re: how to tune TCP/IP performance from a
Carbon application using OpenTransport.

After diagnosing some performance problems on DSL to incorrect or
less-than-optimal stack settings I'm now wondering how I can change them
programmatically in my application.

On OS 9, using IPNetTuner, it appears I need to change the following
settings:

tcp_rwin_mss_multiplier
tcp_dupack_fast_retransmit
tcp_mss_max
tcp_rexmit_interval_min
tcp_rexmit_interval_initial
tcp_mss_min
tcp_mss_def
tcp_rexmit_interval_max

none of which seem to map to any XTI options supported by OT [i.e. they're
not in the OT header files]. They do, however, appear on some Solaris doc
web pages which makes sense since Solaris uses the Mentat/TCP product like
OT does. Anyway, how do I change these parameters [from a Carbon
application]?


On OS X I find I need to change completely different options [which makes
sense I guess since the IP stacks are of totally different origin].

net.inet.tcp.delayed_ack
net.inet.tcp.recvspace
net.inet.tcp.sendspace
net.inet.udp.recvspace

I have found the various options that are supported by OTOptionManagement
that correspond to options supported by setsockopt(), e.g. SO_RCVBUF ==
XTI_RCVBUF, etc. But, for example, how do I turn off delayed ACKs using OT?


Any information or pointers to documentation would be greatly appreciated.

-d

--
Doug Hill

Group Logic Inc.
1110 N. Glebe Rd
Suite 850
Arlington, VA 22201

fon: 703.528.1555
fax: 703.527.2567
email: email@hidden
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: tuning TCP/IP performance from Carbon app.
      • From: "Peter Sichel" <email@hidden>
    • Re: tuning TCP/IP performance from Carbon app.
      • From: Quinn <email@hidden>
  • Prev by Date: Driver or Protocol stack configurator
  • Next by Date: Re: OTListen in OS 9
  • Previous by thread: Re: Driver or Protocol stack configurator
  • Next by thread: Re: tuning TCP/IP performance from Carbon app.
  • Index(es):
    • Date
    • Thread