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

Re: Increasing the write buffer

by starbolin (Hermit)
on Jun 21, 2008 at 17:33 UTC ( #693288=note: print w/replies, xml ) Need Help??

in reply to Increasing the write buffer

I'm having a hard time convincing myself that increasing the size of the writes would have any effect at all as the limiting factor is the number of dirty pages that the vm manager is willing to allow. Once the vm manager starts flushing dirty pages to free up pages, disk writes are going to become synchronous.

s//----->\t/;$~="JAPH";s//\r<$~~/;{s|~$~-|-~$~|||s |-$~~|$~~-|||s,<$~~,<~$~,,s,~$~>,$~~>,, $|=1,select$,,$,,$,,1e-1;print;redo}

Replies are listed 'Best First'.
Re^2: Increasing the write buffer
by Anonymous Monk on Jun 22, 2008 at 22:44 UTC
    Looking back in the archives I found that the IO buffer can indeed be changed - however it requires a recompilation of perl.

    After modifying perlio.c and doubling the buffer size - what used to take 3 hours now only takes 2. I'll play with it some more to see what I can get out of it.

    Thanks for all your comments.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2022-09-30 06:57 GMT
Find Nodes?
    Voting Booth?
    I prefer my indexes to start at:

    Results (125 votes). Check out past polls.