httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <brian.ak...@turner.com>
Subject [PATCH] mod_disk_cache: store/read array & table
Date Fri, 20 Jan 2006 18:19:37 GMT
This is a rather nasty patch (sorry).  Basically, it changes the way 
arrays and tables are stored on disk.  This allows us to do a much 
cleaner and quicker read_array and read_table.  It cuts down 
significantly on the number of disk reads for header files (one big one) 
and the number of strdup's (it used apr_table_addn, for example).

Bottom line is alot fewer system calls and allocations.  It gives me a 
5% increase in mod_disk_cache across the board.


-- 
Brian Akins
Lead Systems Engineer
CNN Internet Technologies

Mime
View raw message