centos_6.5_on_apu_-_post_install
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
centos_6.5_on_apu_-_post_install [2014/05/02 08:33] – [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. | + | |
- | + | ||
- | ==/ | + | |
< | < | ||
- | tmpfs / | + | if [ -n " |
- | tmpfs / | + | echo |
- | </ | + | |
- | + | fi; | |
- | ==or set large commit interval== | + | |
- | < | + | |
- | / | + | |
</ | </ | ||
centos_6.5_on_apu_-_post_install.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1