Linux Performance: Why You Should Almost Always Add Swap Space

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

25 Best CDN Providers 2021

A content delivery network also referred to as a content distribution network (CDN), is a geographically distributed network of data centers containing proxy servers. CDN providers serve internet content, including web objects (text, graphics, and scripts), downloadable objects (media files, software, documents), applications (e-commerce, portals), live streaming media, to name closer to and thus faster, to end-users. Some of […]

btop – the htop alternative

Meet btop, an aesthetically pleasing system resource monitor showing usage and stats for processor, memory, disks, network, and processes. btop is the lighter and faster C++ version and continuation of bashtop and bpytop. Over the years, the available options for command-line system monitoring tools have grown quite a bit. There is top, htop, glances, nmon, ytop, gtop, vtop, and […]

MySQL Database Performance: Avoid this common mistake

One frequent topic of support request emails I receive is MySQL database performance. Clients complain about MySQL using too much server memory, too many MySQL slow queries, the famous Mysql server has gone away error and many other MySQL performance-related issues. As such, I wanted to share the solution to a common MySQL configuration mistake. […]

Linux Performance: Almost Always Add Swap. Part 2: ZRAM

Previously, we looked at how swap space, particularly swapping, can severely slow down Linux performance. We then tweaked Linux kernel parameters to make better use of server memory and to avoid heavy swapping. That article created some debate and good arguments for and against swap space. For example, if you have more than enough memory […]

Linux benchmark scripts and tools

This list of Linux benchmark scripts and tools should prove helpful for quick performance checks of CPU, storage, memory, and network on Linux servers and VPS. Check each script before running from the command line. Most of these scripts will benchmark the CPU, memory, storage, and network. In most cases, the CPU Model, frequency, number […]

Your Web Host Doesn’t Want You To Read This: Benchmark Your VPS

Sept 27th, 2021: Added link to a great list of command-line benckmark scripts. June 17th, 2019: Added instructions for network speed test using speedtest-cli script. Nov 2nd, 2016: Included quick dd commands to check cached vs. uncached read performance. This article will highlight using the ‘dd’ Unix command for a quick benchmark of your Linux […]

Free vs. Available Memory in Linux

At times we will need to know precisely how our Linux systems use memory. This article will examine how to use the free command-line utility to view memory usage on a Linux system. In doing so, we will clearly define the difference between free vs. available memory on Linux systems.   Free vs. Available memory […]

PHP memory_limit – understanding and increasing this setting

PHP memory_limit is per-script, just as a highway’s speed limit is per-vehicle. For example, although PHP’s memory limit may be set high to 1GB, that does not mean that scripts will pile up to use that 1GB. Let’s take a quick look at understanding PHP’s memory_limit setting.   PHP memory_limit is a per-script setting PHP.net’s […]

Observability in 5 minutes. Plus, 20 observability software vendors

In just a little over a year, we’ve covered the future of APM (application performance monitoring) and the expansion of APM into observability. Followed by the race between software vendors to define observability. Most recently, we looked at the evolution of observability as shared by industry-leading software vendors. This article will be answering the following questions […]