LFS-GNULinux is best suited for server systems

Source: Internet
Author: User
LFS-GNULinux is the most suitable server system-Linux Enterprise Application-Linux server application information. The following is a detailed description. Why is LFS most suitable for server systems? Controllable, everything is controllable! What is the most critical for building a Linux system? In addition to Linux Kernel customization, the answer is Binuntil, GCC, and Glibc. the Glibc system determines the execution efficiency of manual compilation programs or binary distribution packages in the system. Therefore, it is critical to optimize the compilation parameters for Glibc. many of Glibc's current Linux releases use very conservative compilation parameters for stability and compatibility, this greatly affects the dynamic and static binary performance of Glibc for all programs. However, excessive Glibc compilation optimization parameters may cause Glibc compilation to fail, so here I personally suggest carefully compiling Glibc. using this double-edged sword can improve the system performance. in this regard, my compilation parameter is: "-O3-pipe", which is quite safe and can be safely used. remember to use Nptl to replace the LinuxThread library during manual compilation. Because Nptl is too efficient, Glibc has brought this source code from 2.3.4. speaking of this, let's talk about the role of GCC and Binuntil in Linux. I personally think there is no need to find the highest version of GCC. Stable GCC is a guarantee for excellent compilation code and reliable performance, therefore, the compilation parameters (not the configure parameter) used by manually compiled GCC have no impact on the code generated by GCC, so there is no need to keep improving, binuntil is a critical software. The ld and as programs affect the quality of final code generation, at the same time, a large number of static libraries in Binuntil will have a huge impact on the later compiled programs when being generated.

So much has been said, as long as we carefully and carefully construct the three Linux components, in combination with the customized kernel, LFS returns us a high

Performance and stable performance, which is beyond the reach of many common binary systems.

After talking about the three major parts of Linux, isn't LFS characteristic of Basic System customization? In this way, at the initial stage of the server, we can determine what kind of basic system we have on the server. the streamlined system and flexible configuration minimize the system consumption of the server. we can try the next bloated system, which may cause the server to fail to run properly due to a variety of problems. Isn't this exactly the embodiment of "Simplicity is beauty? Many people ask how time-consuming it is to build an LFS quasi-server system. It is not faster to deploy it, but this quasi-system requires higher requirements, it takes a lot of Linux experience to implement it. in terms of specific strength, the main server system built by LFS was built and run on a Xeon machine a year ago. Over the past one year, I have not maintained it, this server carries around daily PV access on the public network, without any exceptions. The transmission of 1 GB Nic is stable at 80 mpbs. I was very satisfied with this score.

Finally, is LFS the best in Linux? My answer is benevolent. it is only best for your Linux system. The complicated LFS settings are insurmountable for beginners, you find that the actual control and flexibility of many Linux systems will be worse than that of LFS, and "Simple Beauty" will give you a lot of unexpected results.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.