Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux memory Cache Analysis     - Gentoo: startx problem appears Failed to load module (Linux)

- 11 examples in Linux df command (Linux)

- Fedora 22 Server how to upgrade to Fedora 23 Beta Server (Linux)

- Between the two to achieve the main MySQL database synchronization from (Database)

- GAMIT learning materials finishing (Linux)

- Install Mac OS X 10.9 systems VMware10 (Linux)

- How to interactively create a Docker container (Server)

- Manually create Oracle Database Explanations (Database)

- SSH configuration under Linux (Linux)

- Redis is installed and set up Ubuntu 14.04 from the environment under the main ssdb (Server)

- Linux Network Statistics Tools / Command (Linux)

- Linux text processing tool of sed (Linux)

- AngularJS - Custom instructions (Programming)

- Oracle database file path changes (Database)

- How to Install 3.16.7 CKT2 kernel in Ubuntu 14.10, Ubuntu 14.04 and its derivative versions (Linux)

- File sharing and fork function (Programming)

- Ubuntu font settings: Using Windows Font (Linux)

- How to set cache valid time in Apache (Server)

- Math objects easily overlooked but very convenient method --JavaScript (Programming)

- Ubuntu system grub repair method (Linux)

  Linux memory Cache Analysis
  Add Date : 2017-01-08      
In doing performance testing with top command to discover memory cache to around 4G, then it is curious cache something. Then follow the analysis, the pressure measured during the log file is too large, resulting in the cache is the log.

To verify this result, first casually vi a large file, and then see whether the change cache.
Then look for the tools to verify whether the file under that document.
It concluded: linux will cache edited files.

download link:

The official source default, newline is windows, and downloaded the source code, the need to modify the line breaks, or the installation error. Need to replace their own linux-ftools_modify.zip you have completed the replacement line breaks.

Modify permission first before packaging to increase the script execution permissions
chmod 755 -R *

Packing instruction
make && make install

See Cache command (only for valid files in the current directory)
linux-fincore --pages = false --summarize --only-cached *
[Root @ dev-suning tmp] # linux-fincore --pages = false --summarize --only-cached *
filename size total_pages min_cached page cached_pages cached_size cached_perc
-------- ---- ----------- --------------- ------------ ----------- -----------
Could not mmap file: linux-ftools: No such device
Could not mmap file: linux-ftools-new: No such device
Could not mmap file: redis-2.8.19: No such device
wildfly-8.1.0.Final.tar.gz 115,995,207 28,320 0 28,320 115,998,720 100.00
total cached size: 115,998,720

The following is a screenshot

At the beginning, cache only 40M

With the vi editor, open the wildfly (about 110M)

With a cache analysis tool to see if the file is
- Java reflection Introduction (Programming)
- Some security configuration of Linux systems (Linux)
- Linux server data backup (Server)
- Ubuntu 15.04 installed Nvidia Quadro series graphics driver (Linux)
- Examples of safety testing system notes for RedHat Linux (Linux)
- Linux Network Programming - raw socket Example: sending a UDP packet (Programming)
- Python data types summary (Programming)
- Hyper-V virtual hard disk how to copy files to and attached to the virtual machine (Linux)
- BusyBox making the file system (Linux)
- To install minimize RHEL / CentOS 7 (Linux)
- Puppet Detailed centralized configuration management system (Server)
- Ubuntu 14.04 Docker installation (Linux)
- Samhain: Powerful intrusion detection system under Linux (Linux)
- Linux file system data file deletion problem space is not freed (Database)
- Ubuntu uses conky add desktop control (Linux)
- CentOS 6.6 compile and install phpMyAdmin configuration PostgreSQL9.4.1 (Database)
- Linux, see picture not resolve the problem (Linux)
- To deploy MySQL database with separate read and write OneProxy (Database)
- To see the Linux device tree (Linux)
- Linux Log (Linux)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.