Swappiness is a property of the Linux kernel that changes the balance between swapping out runtime memory, as opposed to dropping pages from the system page cache. Swappiness can be set to values between 0 and 100 inclusive. A low value means the ker…
https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04 How To Add Swap on Ubuntu 14.04 PostedApril 28, 2014 597.9kviews GETTING STARTED LINUX BASICS SERVER OPTIMIZATION UBUNTU Introduction One of the easiest way of increas…
Introduction One of the easiest way of increasing the responsiveness of your server and guarding against out-of-memory errors in applications is to add some swap space. In this guide, we will cover how to add a swap file to an Ubuntu 16.04 server. Wa…
1.redis介绍 redis是一个key-value存储系统.和Memcached类似,它支持存储的value类型相对更多,包括string(字符串).list(链表).set(集合).zset(sorted set --有序集合)和hashs(哈希类型).这些数据类型都支持push/pop.add/remove及取交集并集和差集及更丰富的操作,而且这些操作都是原子性的.在此基础上,redis支持各种不同方式的排序.与memcached一样,为了保证效率,数据都是缓存在内存中.区别的是redi…
Bruce Momjian POSTGRESQL is an object-relational database developed on the Internet by a group of developers spread across the globe. It is an open-source alternative to commercial databases like Oracle and Informix. POSTGRESQL was originally develop…
I bought my first SSD more than 5 years ago (late 2007), for my white MacBook Core2Duo 2.0 Ghz. It may be needless to say that my MacBook ran faster than many MacBook Pro’s at that time. The look on peoples faces when they saw my MacBook boot faster…
man ipc [root@server1 proc]# man ipcIPC(2) Linux Programmer’s Manual IPC(2) NAME ipc - System V IPC system calls SYNOPSIS int ipc(unsigned int call, int first, int second, int third, vo…
Oracle Database (RDBMS) on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) (文档 ID 169706.1) _afrLoop=509703735454401&id=169706.1&_afrWindowMode=0&…
一.Redis配置文件redis.conf详解 # Note on units: when memory size is needed, it is possible to specifiy # it in the usual form of 1k 5GB 4M and so forth: # # 1k => bytes # 1kb => bytes # 1m => bytes # 1mb => * bytes # 1g => bytes # 1gb => ** byt…
vmstat是Virtual Meomory Statistics(虚拟内存统计)的缩写,可对操作系统的虚拟内存.进程.IO读写.CPU活动等进行监视.它是对系统的整体情况进行统计,不足之处是无法对某个进程进行深入分析. 指令所在路径:/usr/bin/vmstat 输出字段意义: Procs r: The number of processes waiting for run time. 等待运行的进程数.如果等待运行的进程数越多,意味着CPU非常繁忙.另外,如果该参数长期大于和等于逻辑cpu…
vmstat是Virtual Meomory Statistics(虚拟内存统计)的缩写,可对操作系统的虚拟内存.进程.IO读写.CPU活动等进行监视.它是对系统的整体情况进行统计,不足之处是无法对某个进程进行深入分析. Procs r: The number of processes waiting for run time. 等待运行的进程数.如果等待运行的进程数越多,意味着CPU非常繁忙.另外,如果该参数长期大于和等于逻辑cpu个数,则CPU资源可能存在较大的瓶颈. b: The numb…