In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
LVS system optimization matters needing attention, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.
Linux environment
CentOS 5.5
Noun
LVS: Linux Virtual Server
IPVS: IP Virtual Server,IPVS is the key to the implementation of LVS.
IPVS connection hash table: IPVS connects a hash table to "track" incoming and outgoing network packets (for input and output packets lookups of IPVS).
Ip_vs_conn structure: defined in the kernel file include/net/ip_vs.h. The structure (object) is the scheduling object of IPVS. 128 bytes on 32-bit systems and 192 bytes on 64-bit systems.
IPVS connection hash table
Code in the kernel: net/netfilter/ipvs/ip_vs_conn.c
Int ip_vs_conn_tab_bits
At compile time, it is stated in the Kconfig file that the value should be between 8 and 20. When ip_vs_conn_tab_bits=20, the size (entry) of the hash table is pow (2 minute 20), that is, 1048576, about 1.04 million, which is sufficient.
Int ip_vs_conn_tab_size
The number of entries (number of list_head structures) of the IPVS hash join table.
Ip_vs_conn_tab_size = 1
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.