Re: Reducing the number of system calls for includes

From: Date: Fri, 24 Jan 2003 23:35:28 +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-93642@lists.php.net to get a copy of this message
> files list. It's handy and nice to normalize the path here, but it is > really really expensive! ..only on systems with ultra slow syscall setup procedures (e.g. Solaris) or lack of directory cache. > Due to our current implementation, if you have a lot of includes, you > really should put all your include files in / and you will see some > impressive improvements. Can you put some numbers on that? I've done quite a lot of benchmarking and those calls never appeared on the radar. > This is annoying, but I am not sure how to fix > it. A couple of things crossed my mind: 5. Looking at Linux's syscall implementation and implementing the good ideas in FreeBSD. - Sascha

« previous php.dev (#93642) next »