Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^5: pipe fork win32

by BrowserUk (Pope)
on Aug 26, 2012 at 15:20 UTC ( #989835=note: print w/ replies, xml ) Need Help??


in reply to Re^4: pipe fork win32
in thread pipe fork win32

See http://www.nntp.perl.org/group/perl.perl5.porters/2011/02/msg169265.html for the change which apparently came in for 5.14.

As the author notes 8k is an arbitrary figure. (And arbitrary is always stupid.)

On every system I've checked -- including various flavours of Windows, one Linux and 1 BSD -- the optimal buffer size for disk IO is 16k or 64k.

But for pipes and sockets, 4k is already too big for many purposes.

I guess the best solution would be to expose setvbuf().


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

RIP Neil Armstrong


Comment on Re^5: pipe fork win32

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://989835]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (15)
As of 2014-07-23 10:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (139 votes), past polls