Re: Reducing the number of system calls for includes
| From: | Rasmus Lerdorf | Date: | Sat, 25 Jan 2003 16:21:25 +0000 |
| Subject: | Re: Reducing the number of system calls for includes | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-93682@lists.php.net to get a copy of this message | ||
> I think the best solution to this problem, without breaking functionality,
> is to use a cache for realpath() in virtual_file_ex().
> This should solve the performance problems and not effect BC at all. As
> TSRM always passes a full path to the realpath() call there, it should
> always work.
Perhaps make it configurable because on Linux there already is a dcache
right in the kernel which is likely to be faster than anything we can do.
As far as I know, Linux is the only OS with such a kernel-level cache.
-Rasmus