• 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: sharing file descriptors to an NSTask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sharing file descriptors to an NSTask


  • Subject: Re: sharing file descriptors to an NSTask
  • From: Scott Ribe <email@hidden>
  • Date: Wed, 1 Sep 2010 11:20:33 -0600

FYI, named pipes are not "surprisingly slow" on OS X after all. Turns out that I had so completely saturated CPU & cache in my performance testing that adding a little bit of IPC pushed things over the edge... (I was running with some cores turned off in order to roughly simulate lower-end Macs.)

So that wasn't the problem, so I don't really need to share descriptors between processes, nor use domain sockets, nor go off into the weeds experimenting with mach ports or shared memory.

But interesting discussion anyway ;-)

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: sharing file descriptors to an NSTask (From: Dave Keck <email@hidden>)
 >Re: sharing file descriptors to an NSTask (From: Michael Ash <email@hidden>)

  • Prev by Date: Re: sharing file descriptors to an NSTask
  • Next by Date: Debugging crash in _class_shouldFinalizeOnMainThread
  • Previous by thread: Re: sharing file descriptors to an NSTask
  • Next by thread: Re: sharing file descriptors to an NSTask
  • Index(es):
    • Date
    • Thread