作者存档: nick

Win下开启BBR2网络拥塞控制

  • 进入管理员模式powershell

执行:Get-NetTCPSetting | Select SettingName, CongestionProvider

  • 默认为:


SettingName      CongestionProvider
———–      ——————
Automatic
InternetCustom   CUBIC
DatacenterCustom CUBIC
Compat           NewReno
Datacenter       CUBIC
Internet         CUBIC

  • 开启命令:

netsh int tcp set supplemental Template=Internet CongestionProvider=bbr2

netsh int tcp set supplemental Template=Datacenter CongestionProvider=bbr2

netsh int tcp set supplemental Template=Compat CongestionProvider=bbr2

netsh int tcp set supplemental Template=DatacenterCustom CongestionProvider=bbr2

netsh int tcp set supplemental Template=InternetCustom CongestionProvider=bbr2

  • 开启后显示:

SettingName      CongestionProvider
———–      ——————
Automatic
InternetCustom   BBR2
DatacenterCustom BBR2
Compat           BBR2
Datacenter       BBR2
Internet         BBR2

Stellaris

event ancrel.10004 纳米熔炉
event ancrel.10005 空中穹顶
event ancrel.10006 次元制造机
event ancrel.10007 财富中心
event ancrel.10008 营养中心
event ancrel.10009 四级奇点

resource sr_dark_matter 20000 暗物质

随机诗词

getPoemText

野望

作者:王绩
东皋薄暮望,徙倚欲何依。
树树皆秋色,山山唯落晖。
牧人驱犊返,猎马带禽归。
相顾无相识,长歌怀采薇。

SD #2 一瓶一世界

SD #1

(masterpiece), (best quality), (ultra-detailed), (full body:1.2),
1boy, chibi, cute, mage, fire on hand
blue eyes, earring,
white shirt, crystal crown,
smile, jewelry,
A sleek black coffee table sits in front of the sofa and a few decorative items are placed on the shelves,
(beautiful detailed face), (beautiful detailed eyes),

How Can AI Help Out Our Work

Introduction

Artificial intelligence (AI) has become an essential tool in many industries today. AI is a branch of computer science that focuses on creating intelligent machines capable of performing tasks that typically require human intelligence. AI has many applications in the workplace, and it can help businesses automate tasks, improve decision-making, and increase productivity. In this blog post, we will discuss three ways AI can be used to help out our work.

Improving Decision-Making

One way AI can be used to help out our work is through improving decision-making. By analyzing large amounts of data, AI can help businesses identify patterns, trends, and insights that are not immediately apparent to humans. AI algorithms can also provide recommendations based on data analysis, which can help businesses make more informed decisions. For example, AI can help financial institutions identify fraudulent transactions by analyzing patterns in transaction data. In healthcare, AI can assist doctors in diagnosing diseases by analyzing patient data.

Automating Repetitive Tasks

Another way AI can be used to help out our work is by automating repetitive tasks. Many jobs require employees to complete repetitive tasks that can be tedious and time-consuming. By automating these tasks, businesses can free up employees’ time to focus on more complex and meaningful work. For example, ChatBots can be used to automate customer service inquiries, freeing up customer service representatives’ time to handle more complex issues. In manufacturing, robots can be used to automate repetitive assembly line tasks, reducing the risk of human error and increasing production efficiency.

Enhancing Productivity

Finally, AI can be used to help businesses enhance productivity. By analyzing employee data, AI can identify patterns and insights that can help businesses optimize employee workflows and identify areas for improvement. For example, AI can analyze employee data to identify which tasks take the most time to complete, and provide recommendations on how to streamline those tasks. AI can also help businesses track employee performance metrics, which can help managers identify areas where employees may need additional training or support.

Conclusion

In conclusion, AI has many applications in the workplace, and it can help businesses automate tasks, improve decision-making, and increase productivity. By leveraging AI, businesses can free up employees’ time to focus on more complex and meaningful work, while also improving efficiency and accuracy. As AI technology continues to evolve, it is likely that we will see even more applications of AI in the workplace, making it an indispensable tool for businesses of all sizes.

密码保护:产品手册优化方案

此内容受密码保护。如需查阅,请在下列字段中输入您的密码。

k8s使用crio的一些问题

背景:有台opensuse 15.4 Leap系统的物理机需要接入原k8s集群

opensuse提供的kubelet默认采用crio,抛弃了dockershim,kubeadm加入集群后发现几个问题:

  1. kubeproxy的镜像拉不下来,因为内网非https镜像配置的方式和docker不一样。需要修改/etc/crio/crio.conf.d/00-default.conf中insecure_registries,加入内网镜像配置;
  2. 加入集群后get pods和get nodes看来状态正常,但是该节点的pod和其它pod网络不通,经排查为flannel操作iptables报权限不足。需要修改flannel的daemonset配置,securityContext – privileged 配置改为true,重启该节点flannel后正常工作;
        securityContext:
          capabilities:
            add:
            - NET_ADMIN
          privileged: true

3. 部分使用到ping等功能的pod工作不正常,因为docker默认有NET_RAW配置,crio中默认已移除此配置,需要修改该pod对应的securityContext,capabilities – add: NET_RAW

        securityContext:
          capabilities:
            add:
            - NET_RAW

4. 如需在节点上查看pod状态,管理镜像等操作,需要使用crictl,如crictl ps、crictl images

关于nginx proxy_pass

proxy_pass的目标地址,如果不带path,表示只代理域名,url和参数部分不会变(把请求的path拼接到proxy_pass目标域名之后作为代理的URL)

如果在目标地址后带path,则表示把请求url的path中location匹配成功的部分剪切掉之后再拼接到proxy_pass目标地址

例如:

location /iam/fakepath

  1. proxy_pass http://192.168.1.2:8080/gw/test
  2. proxy_pass http://192.168.1.2:8080

当url为http://xxx.xxx/iam/fakepath/a/b/c时,1访问的upstream url为http://192.168.1.2:8080/gw/test/a/b/c,2访问的upstream url为http://192.168.1.2:8080/iam/fakepath/a/b/c

坑在这里:当proxy_pass后面只带“/”时很容易看错,导致访问地址错误;