kết quả trong tiết kiệm bộ nhớ RAM cho mỗi httpd. Nếu bạn nghĩ rằng thực thi Apache (httpd) như nạc và có nghĩa là nó có thể được nhưng bạn vẫn nghi ngờ nút cổ chai trong Apache, sau đó có một cái nhìn gần vào các tập tin cấu hình Apache. | 610 Part VI Tuning for Performance and Scalability discards symbols from httpd under Linux. This makes the size of the executable a bit smaller which results in RAM savings for each httpd. If you think your Apache executable httpd is as lean and mean as it can be but you still suspect the bottleneck is within Apache then take a close look at your Apache configuration files. Some Apache directives are expensive in terms of performance and they are usually the ones that require domain name resolution system calls drive I O and process manipulation. Apache configuration tuning is discussed in the Tuning the Apache Configuration section. Tuning Your Network After you have your server hardware operating system and the Apache server itself tuned for performance the next typical area of bottleneck is the network itself. To tune your network you must know the network architecture. Most Web servers are run from an Ethernet network be it at the office network or at a co-location facility in an ISP. How this network is configured makes a great deal of difference. For example if you have an Apache server connected to an Ethernet hub which is in turn connected to other hubs that are connected to either workstations or servers you have a great breeding environment for major bottlenecks. Each machine sees all the traffic on the network thus the number of packet collisions increases and network slow-down is more common. However such a bottleneck is easily remedied by using network switches in place of hubs. No special hardware is needed on the devices that connect to an Ethernet switch. The same network interface used for shared media 10Base-T hubs will work with an Ethernet switch. From that device s perspective connecting to a switched port is just like being the only computer on the network segment. One common use for an Ethernet switch is to break a large network into segments. While it is possible to attach a single computer to each port on an Ethernet switch it is also .