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

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值