• 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进行测试。

  • 相关阅读:
    【从零开始学Java笔记】学生管理系统
    【从零开始学Java笔记】关键字super和this
    【从零开始学Java笔记】关键字Static
    【从零开始学Java笔记】关键字final
    【从零开始学Java笔记】关键字abstract
    循环结构
    switch选择结构
    if条件语句
    位运算
    Eclipse 报错The method xxx of type must override a superclass method、Description Resource Path Location Type Java compiler level does not match the version of the installed Java project facet
  • 原文地址:https://www.cnblogs.com/zhjh256/p/6675315.html
Copyright © 2020-2023  润新知