in reply to Re^3: 4k read buffer is too small
in thread 4k read buffer is too small
I'm convinced that modifying perl's block size would be a wasted effort. It would not change the size of the NFS requests to the server.
I disagree with your judgement. Please refer to the mtab string I posted further down. The rsize mount option is 32k, and was all along.
In my concrete example, this means that the 4k buffer employed by PerlIO will issue more NFS request than using a 32k buffer that matches my rsize mount option. Thus, increasing the buffer size in PerlIO is not wasted effort. Rather, any increase to 32k or beyond would result in a factor 8 less NFS requests. AFAI understood my admins, it is the sheer number of small NFS requests that slows the server to a crawl.
Careful testing will reveal the ideal buffer size. But both, the admins and I expect it to be at 32k or larger, not at 4k.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: 4k read buffer is too small
by starbolin (Hermit) on Jun 18, 2008 at 18:06 UTC |