"Adaptive Quality of Service Architecture" |
Mod_reserveThis is the documentation of mod_reserve (version 0.1), Resource Reservation Module for Apache. Table of Contents The mod_reserve is an Apache2 module (available for Linux) which extends the Apache HTTP server allowing to reserve a certain CPU bandwith for the provisioning of a service. The mod_reserve module exploits the functionalities provided by AQuoSA, whose API is used to reserve CPU bandwith for execution of tasks. In this way, the module can force the web server to provide services, like cgi or perl script, using exactly the configured CPU bandwith. This behaviour is useful in order to provide Quality of Service (QoS) to certain type of services or to prevent that kind of attacks in which a service can starve all the others (e.g. denial of service). This is a description of the installation issues of mod_reserve.
In order to compile mod_reserve the following packages are needed.
In order to build the module from sources, besides the packages described in the section called “Build Requirements”, a working C compiler and GNU Make are needed. The building and installing procedure follows the well-known pattern:
According to the host system status, the configuration phase of building may need to be adapted. In this case, the following configuration options can be used:
The install target of make should work fine if using the
The mod_reserve installation can be verified by pointing to the In order to use mod_reserve for the first time, the following steps have to be performed:
As a simple test, the This is a description of the specific directives that can be used for configuring the mod_reserve module.
Values for directives can be set by editing the Description: Allows to enable or disable mod_reserve Syntax: RsvEnable On|Off Example: RsvEnable On Scope: Server config, virtual host Dependencies: None This directive allows to enable or disable mod_reserve, regarding the parameter value is Description: Allows to use the mod_reserve Module with the negotiation infrastructure Syntax: RsvUseAgreement On|Off Example: RsvUseAgreement Off Scope: Server config, virtual host Dependencies: Must have the RsvEnable set to On , otherwise this directive does not have any relevance. This directive allows to use mod_reserve with a negotiation infrastructure using WS-Agreement protocol to establish contracts that specify guarantees about service parameters. If the module use negotiation infrastructure, by setting the value to Description: Allows to specify the CPU bandwidth to reserve to a certain type of service. Syntax: RsvCpuBwReservation cpu_bw_value Example: RsvCpuBwReservation 0.02 Scope: Server config, virtual host Dependencies: Must have the RsvEnable set to On and the RsvUseAgreement set to Off , otherwise this directive does not have any relevance. This directive allows to specify the CPU bandwidth to reserve to a certain type of service. The bandwidth must be specified as a decimal number (e.g. to specify the 2% of CPU bandwidth use 0.02). The specified value represents the CPU bandwidth associated to each equest of a certain service type. The service type can be specified through the Please note that, at this time, the specified bandwidth will be guarantee only until it is available. If, at a certain time, the specified bandwidth can not be guarantee to that request, the system behaviour depends on the configuration of the aquosa-qosres component of AQuoSA. Description: Allows to specify what kinds of request must be served with a specified CPU bandwidth. Syntax: RsvSetHandler handlers Example: RsvCpuBwReservation cgi-script Scope: Server config, virtual host Dependencies: Must have the RsvEnable set to On and the RsvUseAgreement set to Off , otherwise this directive does not have any relevance. This directive allows to specify what kinds of request must be served with a specified CPU bandwidth. It acceps a list of parameters separeted by space, each of them represents the request handler of a certain MIME type. Common handler are |
Latest news2010-08-04The IRMOS Real-Time Scheduler on lwn.net 2010-07-03 New real-time SMP scheduler (IRMOS) 2010-05-30 About page added to website 2009-11-25 Papers page added to website
Last update: |