Check out the new USENIX Web site. next up previous
Next: Related Work Up: Performance Previous: Immunity against SYN-flooding

   
Isolation of virtual servers

Section 5.6 shows how resource containers allow ``resource sand-boxes'' to be put around CGI processes. This approach can be used in other applications, such as controlling the total resource usage of guest servers in a Rent-A-Server [45] environment.

In current operating systems, each guest server, which might consist of many processes, can appear to the system as numerous resource principals. The number may vary dynamically, and has little relation to how much CPU time the server's administrator wishes to allow each guest server.

We performed an informal experiment to show how resource containers solve this problem. We created 3 top-level containers and restricted their CPU consumption to fixed CPU shares. Each container was then used as the root container for a guest server. Subsequently, three sets of clients placed varying request loads on these servers; the requests included CGI resources. We observed that the total CPU time consumed by each guest server exactly matched its allocation. Moreover, because the resource container hierarchy is recursive, each guest server can itself control how its allocated resources are re-divided among competing connections.


next up previous
Next: Related Work Up: Performance Previous: Immunity against SYN-flooding
Gaurav Banga
1998-12-17