Changes between Version 1 and Version 2 of ApacheTuning
- Timestamp:
- Mar 10, 2011, 9:48:06 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ApacheTuning
v1 v2 3 3 The goal of this page is to give some details about Apache tuning for Nebulous. 4 4 5 == Intro == 6 We use the following mpm_prefork_module configuration. 5 == Introduction == 6 7 === Apache Configuration === 8 We use the following mpm_prefork_module configuration for Apache. 7 9 {{{ 8 10 <IfModule mpm_prefork_module> … … 13 15 MaxRequestsPerChild 10000 14 16 </IfModule> 15 16 17 }}} 17 18 19 For convenience, the Apache log level has been set to debug. 20 21 === Experiment === 18 22 I wrote a small utility script that starts ''nbProcesses'' processes. Each process attempts to create ''nbFiles'' files in Nebulous using neb-touch. To ensure that files do not previously exist in Nebulous, each instance of the utility script is called with an index argument (let's call it ''experimentNb''). Each experiment is run this way: 19 20 23 {{{ 21 24 python startNebFilesCreation.py <experimentNb> <nbProcesses> <nbFiles> 22 25 }}} 26 and creates ''<nbProcesses>*<nbFiles>'' files in Nebulous named: 27 {{{ 28 neb:///<a path to have a total path length of 200 bytes>/<experimentNb>/<processId>/<fileIdWithProcess> 29 }}} 30 The path length is adjusted through the ''<a path to have a total path length of 200 bytes>'' which is basically a sequence of "1234567890/" strings to have a total length of about 200 bytes which is the average size of a Nebulous instance entry. 31 32 === Operating Conditions === 33 The experiments are performed on ippc01 where a local Nebulous database has been installed.
