Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


centos_6.5_on_apu_-_post_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
centos_6.5_on_apu_-_post_install [2014/05/17 08:28] – [Temperature sensor] admincentos_6.5_on_apu_-_post_install [2014/06/10 12:09] admin
Line 1: Line 1:
 +{{tag>[hardware apu centos6.5]}}
 +
 +=====PC Engines APU - CentOS 6.5 post install=====
 ====Change hostname==== ====Change hostname====
 Edit /etc/sysconfig/network Edit /etc/sysconfig/network
Line 55: Line 58:
   sensors |grep temp1 |awk '{print $1 $2}'   sensors |grep temp1 |awk '{print $1 $2}'
 fi; fi;
-</code> 
-===SSD tuning=== 
-==elevator=noop== 
-Check current elevator setting: 
-  cat /sys/block/sda/queue/scheduler 
-   
-Set elevator: 
-Add to /etc/rc.local, you can also add it to the kernel line in /etc/grub.conf, but that setting is for all disks. 
-  echo noop >/sys/block/sda/queue/scheduler 
-   
-==Reduce swappiness== 
-Check current setting: 
-  cat /proc/sys/vm/swappiness 
- 
-Change setting, using /etc/sysctl.conf 
-  vm.swappiness=1 
-  vm.vfs_cache_pressure=50 
-Then activate: 
-  sysctl -p 
-   
-==Edit /etc/fstab== 
-Add noatime,discard to filesystems. 
- 
-==Edit /etc/lvm/lvm.conf== 
-  issue_discards = 1 
-   
-====reduce writes: tmpfs for logging and /tmp==== 
-You will lose files in tmpfs after reboot! Use remote syslog for important logs. 
- 
-==/etc/fstab== 
-<code> 
-tmpfs   /var/log   tmpfs   defaults,size=256m  0 0 
-tmpfs   /tmp       tmpfs   defaults,size=64m  0 0 
-</code> 
- 
-==or set large commit interval== 
-<code> 
-/dev/mapper/vg_apu1-lv_root /                   ext4    defaults,noatime,discard,errors=remount-ro,commit=200        1 1   
 </code> </code>
  
centos_6.5_on_apu_-_post_install.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1