• 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
BSD socket performance problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BSD socket performance problem


  • Subject: BSD socket performance problem
  • From: Larry Gerndt <email@hidden>
  • Date: Thu, 03 Apr 2003 21:53:00 -0800

I'm noticing that the receive data stream in my application is sporadic in
terms of speed, when running on OS X using the BSD socket API (synchronous
blocking). I'm comparing against the same application when run under OS 9
using OTMP (also synchronous blocking). My application receives an image as
a series of tiles, and as I watch each tile getting drawn to the screen,
under OTMP it's always very smooth and quick, and the speed is consistent.
Under OS X using the socket API, the first few tiles are often coming in at
a much slower speed, and then something snaps (or not) and the rest come in
fast. Sometimes nothing snaps, so they all come in slow, sometimes only the
first tile is slow, etc.

I really don't know where to begin to solve this problem. Does anything
come to mind? Just FYI, to rule out data processing glitches, I tried just
ignoring the data completely, but still the slowness persists.

--
Larry Gerndt
AIM Handle: thesonofmannn
Let the truth be told though the heavens fall -- James Garrison
_______________________________________________
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: BSD socket performance problem [FIXED]
      • From: Larry Gerndt <email@hidden>
  • Prev by Date: Re: broadcast to 255.255.255.255
  • Next by Date: ignoring sigpipe
  • Previous by thread: Re: Unknown PowerPC Exception instead of callback from a framework in a CFM project (CFNetwork)
  • Next by thread: Re: BSD socket performance problem [FIXED]
  • Index(es):
    • Date
    • Thread