Posts

Showing posts from March, 2017

How to measure disk performance with fio and IOPing

Image
Introduction Whether it’s a server, or a PC for work, what usually limits performances is disk speed. Even if using SSDs, their speed is not yet comparable to that of RAM and CPU. There are different tools with or without a graphical interface, written for testing disks speed. There are also people who use  dd , for example: dd if=/dev/zero of=test_file bs=64k count=16k conv=fdatasync However, in our opinion dd is the worst software for benchmarking I/O performance. In fact: it is a single-threaded, sequential-write test. Of course, if running a web server, services do not do long-running sequential writes, and use more than one thread it writes a small amount of data, so the result can be influenced by caching or by RAID’s controller it executes for just a few seconds, and everyone knows that in this way it’s not possible to have consistent results there are no reading speed tests All these points just lead to one conclusion: better to use anything else. For disk benc

Install MariaDB 10.1 on Fedora 25/24, CentOS/RHEL 7.3/6.8/5.11

Image
MariaDB is a binary drop in replacement for MySQL database server. This means that for most cases, you can just uninstall MySQL and install MariaDB and you are good to go. Why MariaDB? MariaDB is totally open source version of MySQL It works just like MySQL and is compatible with MySQL setups Fedora and Red Hat/CentOS is moving to use MariaDB from Fedora 19/RHEL 7/CentOS 7 versions This is guide,  howto install or upgrade MariaDB 10.1.20 [stable] (10.0.28 [stable] or 10.2.2 [beta] or 5.5.53 [stable]) on Fedora 25/24/23, CentOS 7.3/6.8/5.11 and Red Hat (RHEL) 7.3/6.8/5.11 . Installing MariaDB is almost same process than install MySQL. Note: If you are moving from MySQL, then make sure that you backup (dump and copy) your database and configs. And if upgrading from earlier versions, then remember run mysql_upgrade command. And if you uninstall MySQL, then remember restore /etc/my.cnf after installation, like: Bash mv -vi /etc/my.cnf.rpmsave /etc/my.cnf Install M