Re: limit for mmaping for readfile (Bug #19749)
| From: | Ilia Alshanetsky | Date: | Wed, 21 Apr 2004 12:46:23 +0000 |
| Subject: | Re: limit for mmaping for readfile (Bug #19749) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9466@lists.php.net to get a copy of this message | ||
On April 21, 2004 05:52 am, Andi Gutmans wrote:
> I have played with mmap() in the past. I found that mapping in relatively
> small blocks such as 1MB does not really hurt performance. I suggest not to
> add yet another INI option but to do it with smaller blocks. I think even
> 256KB wouldn't make a big difference.
I whole heartedly agree with Andi about not adding more INI options, but
perhaps we could add a configure time option. This would give admins whose
servers have plenty of ram and/or need to open a slightly larger then 1 meg
files the ability to control this limit.
Ilia