zoukankan      html  css  js  c++  java
  • centos/rhel 7 几个最重要变化(systemd,firewalld,networkmanager,文件系统)

    详细参考:https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/chap-Managing_Services_with_systemd.html

    http://www.cnblogs.com/moxiaoan/p/5683743.html

    详细参考:https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Security_Guide/sec-Using_Firewalls.html#sec-Using_iptables

    在CentOS/RHEL 7中关闭防火墙使用以下命令:

    //临时关闭

    systemctl stop firewalld

    //禁止开机启动

    systemctl disable firewalld

    Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.

    Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.

    详细参考:https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/sec-Introduction_to_NetworkManager.html

     rhel/centos/oel 7默认xfs文件系统,6则是ext4文件系统。

    ext3/ext4/xfs的性能差网上有个测试:https://www.cnblogs.com/tommyli/p/3201047.html,这个相对还是可以参考的,某种场景使用某种文件系统,对性能的提升很可能是非常明显的,可能不用代码和设计调整,就比操作系统提供的默认选项高一倍。

    noatime,网上有些个基于fio和dd测试结果,参考:https://blog.csdn.net/bobpen/article/details/41282395、http://saplingidea.iteye.com/blog/636770,尤其是差距在百分之几十的,要想准确知道对应用系统的提升,并不容易测试,通常只有在非刻意的性能测试模式才容易计算出来。

    注:因为最近一直在研究大数据量oracle/mysql导入导出的极速性能,今天特地测试了本地环境,noatime在oracle导数据到文本文件时性能差异不大(也可能本地是ssd的原因,cpu用户态接近100%,iowait几乎都在1%以内),后面再拿nfs和比较慢的hdd进行测试。

  • 相关阅读:
    window.location.Reload()和window.location.href 区别
    PHP substr(),mb_substr()及mb_strcut的区别和用法
    jstree节点展开设置
    关于Jquery中ajax方法data参数用法
    HTML相对路径(Relative Path)和绝对路径(Absolute Path)
    Win32基础编程了解窗口类
    Visual C++ ActiveX 开发指南:第一章 什么是ActiveX
    分粥
    蛙蛙推荐:ASP实现自定义标签模板
    蛙蛙请教:如何利用委托实现多个方法同时调用.
  • 原文地址:https://www.cnblogs.com/zhjh256/p/6675315.html
Copyright © 2011-2022 走看看