It was thus said that the Great Noel Butler once stated:
> On Mon, 2012-02-13 at 22:10 -0500, Sean Conner wrote:
> > > 
> > > So its going to open, read and close 2000 files, rather than open, read
> > > and close one file, that may or may not be noticeable at
> > > startup/reloads, if I was a betting man, I'd say noticeable.
> > 
> >   Nope.  I just ran a program [1] that opened and read 25,018 files in 2.5
> > seconds [2].  I'd bet unnoticeable.
> 
> Bored, so I tried it, only on a lightly used server (408 hosts) wrote
> quick 'n dirty perl  to split them into individuals and into a test dir
> 
> firstly in normal state....
> 
> time ./rc.httpd start
> Starting Apache... Done.
> 
> real  0m0.336s
> user  0m0.252s
> sys   0m0.040s
> 
> Now edited httpd.conf to exclude vhosts.conf but include
> conf/test/*.conf
> 
> time ./rc.httpd start
> Starting Apache... Done.
> 
> real  0m1.087s
> user  0m0.284s
> sys   0m0.040s

  Interesting.  Both user and sys time is similar, only the real time is
different, and that, I would attribute to the system having to read in the
files off the disk (a cold file cache).  

  -spc (Hmm ... looks like I lost that bet 8-)



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to