Monday, August 14, 2017
Red Hat Linux - Disk File System Read Ahead
If there are issues with disk I/O or CPU wait time, you might consider fine tunning read ahead disk parameters:
1. Check current values and volumes:
blockdev --report
2. Set up proper parameters:
sudo blockdev --setra 256 /dev/xvda
If you want to read more, good documentation is here:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Performance_Tuning_Guide/main-fs.html
Linux Red Hat - change timezone
Set Date&Time as needed:
1. List all available timezones:
timedatectl list-timezones
2. Update timezone and check:
echo 'ZONE="Europe/Madrid"' > /etc/sysconfig/clock && ln -sf /usr/share/zoneinfo/Europe/Madrid /etc/localtime && date
1. List all available timezones:
timedatectl list-timezones
2. Update timezone and check:
echo 'ZONE="Europe/Madrid"' > /etc/sysconfig/clock && ln -sf /usr/share/zoneinfo/Europe/Madrid /etc/localtime && date
Subscribe to:
Posts (Atom)