PHP Performance: Additional CPU cores or Faster CPU cores

  Some time ago I received an email from a client experiencing slow performance issues with a LEMP (Linux, Nginx, MySQL and PHP web server). During a full audit, I found that the server’s load average was pretty low (see above screenshot). However, the website was indeed very slow. There were some misconfigurations, but one […]

PHP-FPM tuning: Using ‘pm static’ for max performance

Lets take a very quick look at how best to setup PHP-FPM for high throughput, low latency and a more stable use of CPU and memory. By default, most setups have PHP-FPM’s PM (process manager) string set to dynamic and there’s also the common advice to use ondemand if you suffer from available memory issues. However, lets compare the two management […]

Linux Performance: Why You Should Almost Always Add Swap Space

We know that using swap space instead of RAM (memory) can severely slow down the performance of Linux. So then, one might ask, since I have more than enough memory available, wouldn’t it better to remove swap space completely? The short answer is, No. There are performance benefits when swap is enabled, even when you have more […]

Linux benchmark scripts and tools

This list of Linux benchmark scripts and tools should prove useful for quick performance check of CPU, storage, memory and network on Linux servers and VPS. Recently, I used a Linux benchmark script which was no longer maintained by the. As a result, I compiled this quick list of scripts and tools for Linux benchmarking. […]

Linux server performance: Is disk I/O slowing your application?

If your Linux server is bogged down, your first step is often to use the TOP command in terminal to check load averages and wisely so. However, there are times when TOP shows very high load averages even with low cpu ‘us’ (user) and high cpu ‘id’ (idle) percentages. This is the case in the video below, load averages […]

Memcache PHP Extensions for Memcached Caching Daemon

Memcached (Memcache Daemon) is a caching daemon designed especially for dynamic web applications to decrease database load by storing objects in memory. It is commonly used to speed up dynamic database-driven websites by caching data and objects in server memory to reduce the number of times the data source must be read. Memcached is free and open-source software, […]

SCP Linux – Securely Copy Files Using SCP examples

This post includes SCP examples. SCP or secure copy allows secure transferring of files between a local host and a remote host or between two remote hosts. It uses the same authentication and security as the Secure Shell (SSH) protocol from which it is based. SCP is loved for it’s simplicity, security and pre-installed availability.   SCP […]

Choosing the Best Linux Server Distro 2019

Are you trying to decide on a Linux server distro (distribution) in 2019? This article will help guide you based on the strengths of the Linux server distributions available. If you are looking for desktop advice, have a look at Choosing the Best Linux Distro 2019, for Desktop.   Best Linux Server distro 2019 The first […]

Finding Linux Compatible Printers 2019

Here’s all the info and links needed to find a printer or all-in-one printer that supports Linux in 2019. If you don’t want to spend hours comparing printers, have a look at my recommended Linux compatible printers. Last updated January 20th 2019. This is the promised update as per the comments section below, sorry about the delay! Fixed broken […]