自动搜索安装的内存分配器并加入到LDPRELAOD
中, 然后运行后续参数的内容.
运行后在下面的命令:
root@localhost:~/xrioadmin$ ./start.sh luac -
# 变更为BBR2 | |
netsh int tcp set supplemental Template=Internet CongestionProvider=bbr | |
netsh int tcp set supplemental Template=Datacenter CongestionProvider=bbr | |
netsh int tcp set supplemental Template=Compat CongestionProvider=bbr | |
netsh int tcp set supplemental Template=DatacenterCustom CongestionProvider=bbr | |
netsh int tcp set supplemental Template=InternetCustom CongestionProvider=bbr | |
# 恢复为CUBIC | |
# netsh int tcp set supplemental Template=Internet CongestionProvider=cubic | |
# netsh int tcp set supplemental Template=Datacenter CongestionProvider=cubic |
version: '3' | |
services: | |
opensearch-node: # This is also the hostname of the container within the Docker network (i.e. https://opensearch-node1/) | |
image: opensearchproject/opensearch:2 # Specifying the latest available image - modify if you want a specific version | |
container_name: opensearch-node | |
environment: | |
- cluster.name=opensearch-cluster # Name the cluster | |
- node.name=opensearch-node # Name the node that will run in this container | |
- bootstrap.memory_lock=true # Disable JVM heap memory swapping | |
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # Set min and max JVM heap sizes to at least 50% of system RAM |
cmake_minimum_required(VERSION 2.8...3.12) | |
project(lua) | |
# Lua 头文件 | |
set(LIBLUA_INCLUDE lua.h luaconf.h lualib.h lauxlib.h lua.hpp) | |
file(GLOB LUA_SOURCES lua.c) | |
file(GLOB LUAC_SOURCES luac.c) | |
file(GLOB LIBLUA_SOURCES l*.c) |