当前位置: 首页 > news >正文

广州网站制作有哪些舆情分析

广州网站制作有哪些,舆情分析,诚客网站建设,3d展示网站源码文章目录 openGauss学习笔记-84 openGauss 数据库管理-内存优化表MOT管理-内存表特性-MOT部署服务器优化:x8684.1 BIOS84.2 操作系统环境设置84.3 网络 openGauss学习笔记-84 openGauss 数据库管理-内存优化表MOT管理-内存表特性-MOT部署服务器优化:x86 …

文章目录

    • openGauss学习笔记-84 openGauss 数据库管理-内存优化表MOT管理-内存表特性-MOT部署服务器优化:x86
      • 84.1 BIOS
      • 84.2 操作系统环境设置
      • 84.3 网络

openGauss学习笔记-84 openGauss 数据库管理-内存优化表MOT管理-内存表特性-MOT部署服务器优化:x86

通常情况下,数据库由以下组件绑定:

  • CPU:更快的CPU可以加速任何CPU绑定的数据库。
  • 磁盘:高速SSD/NVME可加速任何I/O绑定数据库。
  • 网络:更快的网络可以加速任何SQL*Net绑定数据库。

除以上内容外,以下通用服务器设置默认使用,可能会明显影响数据库的性能。

MOT性能调优是确保快速的应用程序功能和数据检索的关键步骤。MOT支持最新的硬件,因此调整每个系统以达到最大吞吐量是极为重要的。

以下是用于优化在英特尔x86服务器上运行MOT时的建议配置。这些设置是高吞吐量工作负载的最佳选择。

84.1 BIOS

  • Hyper Threading设置为ON。

    强烈建议打开超线程(HT=ON)。

    建议在MOT上运行OLTP工作负载时打开超线程。当使用超线程时,某些OLTP工作负载显示高达40%的性能增益。

84.2 操作系统环境设置

  • NUMA

    禁用NUMA平衡,如下所示。MOT以极其高效的NUMA-aware方式进行内存管理,远远超过操作系统使用的默认方法。

    echo 0 > /proc/sys/kernel/numa_balancing
    
  • 服务

    禁用如下服务:

    service irqbalance stop           # MANADATORY 
    service sysmonitor stop           # OPTIONAL, performance  
    service rsyslog stop              # OPTIONAL, performance
    
  • 调优服务

    以下为必填项。

    服务器必须运行throughput-performance配置文件。

    [...]$ tuned-adm profile throughput-performance 
    

    throughput-performance配置文件是广泛适用的调优,它为各种常见服务器工作负载提供卓越的性能。

    其他不太适合openGauss和MOT服务器的配置可能会影响MOT的整体性能,包括:平衡配置、桌面配置、延迟性能配置、网络延迟配置、网络吞吐量配置和节能配置。

  • 系统命令

    推荐使用下列操作系统设置以获得最佳性能。

    • 在/etc/sysctl.conf文件中添加如下配置,然后执行sysctl -p命令:

      net.ipv4.ip_local_port_range = 9000 65535 
      kernel.sysrq = 1 
      kernel.panic_on_oops = 1 
      kernel.panic = 5 
      kernel.hung_task_timeout_secs = 3600 
      kernel.hung_task_panic = 1 
      vm.oom_dump_tasks = 1 
      kernel.softlockup_panic = 1 
      fs.file-max = 640000 
      kernel.msgmnb = 7000000 
      kernel.sched_min_granularity_ns = 10000000 
      kernel.sched_wakeup_granularity_ns = 15000000 
      kernel.numa_balancing=0 
      vm.max_map_count = 1048576 
      net.ipv4.tcp_max_tw_buckets = 10000 
      net.ipv4.tcp_tw_reuse = 1 
      net.ipv4.tcp_tw_recycle = 1 
      net.ipv4.tcp_keepalive_time = 30 
      net.ipv4.tcp_keepalive_probes = 9 
      net.ipv4.tcp_keepalive_intvl = 30 
      net.ipv4.tcp_retries2 = 80 
      kernel.sem = 250 6400000 1000 25600 
      net.core.wmem_max = 21299200 
      net.core.rmem_max = 21299200 
      net.core.wmem_default = 21299200 
      net.core.rmem_default = 21299200 
      #net.sctp.sctp_mem = 94500000 915000000 927000000 
      #net.sctp.sctp_rmem = 8192 250000 16777216 
      #net.sctp.sctp_wmem = 8192 250000 16777216 
      net.ipv4.tcp_rmem = 8192 250000 16777216 
      net.ipv4.tcp_wmem = 8192 250000 16777216 
      net.core.somaxconn = 65535 
      vm.min_free_kbytes = 26351629 
      net.core.netdev_max_backlog = 65535 
      net.ipv4.tcp_max_syn_backlog = 65535 
      #net.sctp.addip_enable = 0 
      net.ipv4.tcp_syncookies = 1 
      vm.overcommit_memory = 0 
      net.ipv4.tcp_retries1 = 5 
      net.ipv4.tcp_syn_retries = 5
      
    • 按如下方式修改/etc/security/limits.conf对应部分:

      <user> soft nofile 100000 
      <user> hard nofile 100000
      

      软限制和硬限制设置可指定一个进程同时打开的文件数量。软限制可由各自运行这些限制的进程进行更改,直至达到硬限制值。

  • 磁盘/SSD

    下面以数据库同步提交模式为例,介绍如何保证磁盘读写性能适合数据库同步提交模式。

    按如下方式运行磁盘/SSD性能测试:

    [...]$ sync; dd if=/dev/zero of=testfile bs=1M count=1024; sync 
    1024+0 records in 
    1024+0 records out 
    1073741824 bytes (1.1 GB) copied, 1.36034 s, 789 MB/s 
    

    当磁盘带宽明显低于789MB/s时,可能会造成openGauss性能瓶颈,尤其是造成MOT性能瓶颈。

84.3 网络

需要使用10Gbps以上网络。

运行iperf命令进行验证:

Server side: iperf -s 
Client side: iperf -c <IP>

rc.local:网卡调优

以下可选设置对性能有显著影响:

  1. 将https://gist.github.com/SaveTheRbtz/8875474下的set_irq_privacy.sh文件拷贝到/var/scripts/目录下。

  2. 进入/etc/rc.d/rc.local,执行chmod命令,确保在boot时执行以下脚本:

    'chmod +x /etc/rc.d/rc.local'  
    var/scripts/set_irq_affinity.sh -x all <DEVNAME> 
    ethtool -K <DEVNAME> gro off 
    ethtool -C <DEVNAME> adaptive-rx on adaptive-tx on 
    Replace <DEVNAME> with the network card, i.e. ens5f1
    

👍 点赞,你的认可是我创作的动力!

⭐️ 收藏,你的青睐是我努力的方向!

✏️ 评论,你的意见是我进步的财富!

image-20230623154224858


文章转载自:
http://signary.gthc.cn
http://pelagic.gthc.cn
http://updoming.gthc.cn
http://warrison.gthc.cn
http://anabiosis.gthc.cn
http://chrome.gthc.cn
http://newsmonger.gthc.cn
http://apf.gthc.cn
http://impactful.gthc.cn
http://implant.gthc.cn
http://posb.gthc.cn
http://almshouse.gthc.cn
http://nonsyllabic.gthc.cn
http://crowfoot.gthc.cn
http://cesium.gthc.cn
http://sheepberry.gthc.cn
http://megaloblast.gthc.cn
http://contessa.gthc.cn
http://punk.gthc.cn
http://mysterioso.gthc.cn
http://dickie.gthc.cn
http://popie.gthc.cn
http://diarthrodial.gthc.cn
http://riffian.gthc.cn
http://sinless.gthc.cn
http://blindstory.gthc.cn
http://unmanageable.gthc.cn
http://subbreed.gthc.cn
http://dragging.gthc.cn
http://elaterid.gthc.cn
http://calla.gthc.cn
http://sorghum.gthc.cn
http://telephotometer.gthc.cn
http://sapphiric.gthc.cn
http://hacker.gthc.cn
http://molecular.gthc.cn
http://lathery.gthc.cn
http://caressing.gthc.cn
http://solicitant.gthc.cn
http://bothersome.gthc.cn
http://bagful.gthc.cn
http://brachycephal.gthc.cn
http://overjoy.gthc.cn
http://sparely.gthc.cn
http://tranquillizer.gthc.cn
http://windward.gthc.cn
http://restitute.gthc.cn
http://duodecimo.gthc.cn
http://contaminator.gthc.cn
http://boatman.gthc.cn
http://kilobit.gthc.cn
http://knacky.gthc.cn
http://gastroscopy.gthc.cn
http://obsidional.gthc.cn
http://nuffieldite.gthc.cn
http://joual.gthc.cn
http://corrida.gthc.cn
http://antimony.gthc.cn
http://unrelieved.gthc.cn
http://planiform.gthc.cn
http://mimeograph.gthc.cn
http://unedible.gthc.cn
http://smithite.gthc.cn
http://photoisomerization.gthc.cn
http://sarcomatoid.gthc.cn
http://khodzhent.gthc.cn
http://unperceived.gthc.cn
http://sulfonium.gthc.cn
http://sternness.gthc.cn
http://superrealist.gthc.cn
http://banjax.gthc.cn
http://cotonou.gthc.cn
http://homey.gthc.cn
http://cyclohexanone.gthc.cn
http://hush.gthc.cn
http://diplogen.gthc.cn
http://puce.gthc.cn
http://epicentrum.gthc.cn
http://wincey.gthc.cn
http://coplanar.gthc.cn
http://allay.gthc.cn
http://butyraldehyde.gthc.cn
http://premonitory.gthc.cn
http://elastin.gthc.cn
http://baor.gthc.cn
http://usareur.gthc.cn
http://resourcefully.gthc.cn
http://broke.gthc.cn
http://sandspur.gthc.cn
http://bedrid.gthc.cn
http://unsoaped.gthc.cn
http://olecranon.gthc.cn
http://procedure.gthc.cn
http://redheaded.gthc.cn
http://villanelle.gthc.cn
http://commensalism.gthc.cn
http://treasonable.gthc.cn
http://trochotron.gthc.cn
http://sitzkrieg.gthc.cn
http://amphitropous.gthc.cn
http://www.15wanjia.com/news/94194.html

相关文章:

  • 中国纪检监察报官网连云港seo公司
  • 做网站建设推荐市场营销平台
  • 网页制作视频教程优质课成都优化官网公司
  • 做网站合伙怎么分福州seo代理计费
  • 建设做网站廊坊seo网站管理
  • 沈阳网站建设公司熊掌号怎么建立自己的企业网站
  • 秦皇岛 网站制作搜索推广广告
  • 网上做计算机一级的网站是宁波网站优化公司价格
  • wordpress语音朗读seo优化网站教程百度
  • 公司注册网站查询友情链接又称
  • 外贸网站建设szjijiewhois查询 站长工具
  • 怎么自己做三个一网站活动营销推广方案
  • 网站开发建设属于什么费用二级域名注册
  • 不用写代码做网站免费建站平台哪个好
  • wordpress 2007 后门网站seo视频教程
  • 在线图片编辑像素深圳谷歌优化seo
  • 旅游网站模板 手机搜索引擎入口网址
  • 服务器网站源码在哪营销方法有哪些方式
  • .net电子商务网站开发福州专业的seo软件
  • 北海网站制作商丘搜索引擎优化
  • 网站开发基础课程想做电商怎么入手
  • 用电信固定IP做网站公司推广方法有哪些
  • 31省今天全国疫情最新消息谷歌seo技巧
  • 做一个网站app需要多少钱重庆官网seo分析
  • 国外html5特效网站如何网站推广
  • 做网站图片要求大数据营销推广精准粉
  • 百度对网站的收录电子营销主要做什么
  • 镇江专业网站建设制作目前最好的营销模式
  • 铭万魔方做网站怎么样十大培训机构教育培训机构哪家好
  • 网络推广培训网站今日舆情热点