To cache rarely accessed pages. It is still better to keep them in swap than paging them out (discarding). But always have enough RAM to hold your expected load. Thorough Perf Tuning Guide https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/performance_tuning_guide/index Reference https://haydenjames.io/linux-performance-almost-always-add-swap-space/ Written with StackEdit.
This post is a quick summary of Why Uber moved from PostGres to MySQL. PostGres Rows and CTID PostGres provides transactions. Transactions need multiple versions of data. So PG is Multi Versioned DB. PG considers each row immutable. Any change to a row creates a new row version. A row is represented as an offset … More Design Problems of PostGres- Part I
Perfromance stats are vital to understand dynamic efficiency of your code and may prove helpful to find and fix bottlenecks. This post discusses how to plug in these stats in your program. There are primarily two classes of stats: Counts Time stamps Stats are derived from events. You would be interested to know how many … More Designing a performance stats framework
I have a Windows XP host machine with guest Ubuntu OS. I started with the latest VMWare player and benefits I noticed: VMware 1. Hassle-free installation of Ubuntu (VMware provides “easy install” for Ubuntu) 2. Seamless integration between guest and host OS o) You can copy-paste/ move files across host and guest! o) Clipboard is … More VMware player vs VirtualBox: which is better?
I was an avid user of VirtualBox and was pretty happy with it. It gave me freedom to experiment with different OS in a rather safe, transparent, and convenient way. So I used to keep Linux as host and Windows as guest. Performance was good and bugs were non-existent. Then I found VMPlayer. It surprised … More The best virtualization software: VirtualBox v/s VMPlayer