centos_6.5_on_apu_-_post_install
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
centos_6.5_on_apu_-_post_install [2014/05/02 07:42] – [reduce writes: tmpfs for logging and /tmp] admin | centos_6.5_on_apu_-_post_install [2014/05/21 18:30] – admin | ||
---|---|---|---|
Line 49: | Line 49: | ||
</ | </ | ||
- | ===SSD tuning=== | + | bashrc example |
- | ==elevator=noop== | + | |
- | Check current elevator setting: | + | |
- | cat / | + | |
- | + | ||
- | Set elevator: | + | |
- | Add to / | + | |
- | echo noop >/ | + | |
- | + | ||
- | ==Reduce swappiness== | + | |
- | Check current setting: | + | |
- | cat / | + | |
- | + | ||
- | Change setting, using / | + | |
- | vm.swappiness=1 | + | |
- | vm.vfs_cache_pressure=50 | + | |
- | Then activate: | + | |
- | sysctl -p | + | |
- | + | ||
- | ==Edit / | + | |
- | Add noatime, | + | |
- | + | ||
- | ==Edit / | + | |
- | issue_discards = 1 | + | |
- | + | ||
- | ====reduce writes: tmpfs for logging and /tmp==== | + | |
- | You will lose files in tmpfs after reboot! Use remote syslog for important logs. | + | |
- | + | ||
- | Edit /etc/fstab: | + | |
< | < | ||
- | tmpfs / | + | if [ -n " |
- | tmpfs / | + | echo |
+ | | ||
+ | fi; | ||
</ | </ | ||
- | |||
centos_6.5_on_apu_-_post_install.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1