• 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: Optimal read buffer size?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Optimal read buffer size?


  • Subject: Re: Optimal read buffer size?
  • From: Cameron Kerr <email@hidden>
  • Date: Thu, 19 May 2005 13:03:05 +1200

Usually 4k or 8k is the fastest, in my experience. That is why in Samba, is it a suggested thing to configure the read and write size to 4096 or 8192. Ditto for NFS.

Of course, this assumes that you'll need to transmit that much data at once. You'll notice that both of the above (Samba and NFS) are dealing with file transfer.

On 19/05/2005, at 6:06 AM, Chaz McGarvey wrote:

Hello:

I find that when I write network code, I never really know how big I should make the read buffer.

-- Cameron Kerr Telecommunications Teaching Fellow & SysAdmin email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Optimal read buffer size?
      • From: Justin Walker <email@hidden>
References: 
 >Optimal read buffer size? (From: Chaz McGarvey <email@hidden>)

  • Prev by Date: Re: Optimal read buffer size?
  • Next by Date: How can I a String to IP ?
  • Previous by thread: Re: Optimal read buffer size?
  • Next by thread: Re: Optimal read buffer size?
  • Index(es):
    • Date
    • Thread