Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux memory Cache Analysis     - exp / imp Export Import version of the problem and the ORA-6550 error (Database)

- Redhat Close SELinux correct step (Linux)

- UNIX file permissions in the "set user ID bit" (Linux)

- Linux common network tools: ping host sweep (Linux)

- Remote installation of Net-SNMP whole process (Linux)

- Hardware Firewall Basics (Linux)

- Whisker Menu 1.4.3 Install menu Linux (Linux)

- Build Eclipse + Maven + Scala-IDEA the Scala Web development environment (Server)

- VPN built on CentOS (Server)

- Sublime Text 3 best features, plug-ins and settings (Linux)

- Linux server operating system security configuration (Linux)

- Introduction and bash history command to quickly call (Linux)

- How to run Kali Linux 2.0 in Docker container (Linux)

- Why do I prefer Git (Linux)

- Binary tree and some basic operations with binary list (Programming)

- Linux installed and tested the deployment of Kafka distributed cluster (Server)

- PHP generates a random password several ways (Programming)

- A new method for Linux hidden files (Linux)

- CentOS 6.7 install Nagios Tutorials (Server)

- Oracle and MySQL difference between the jdbc (Database)

  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
- Processor in protected mode of protection (Linux)
- Nginx Module Development - get user ip (Server)
- Linux text processing tool of awk (Linux)
- How Oracle implements random reads from specific combinations (Database)
- PL / SQL in forall simple test (Database)
- You know the difference between URL, URI and URN among you (Linux)
- Compile and install GCC 4.8.1 + GDB 7.6.1 + Eclipse in CentOS 6.4 in (Linux)
- MySQL high availability cluster fragmentation of deployment uses Fabric (Database)
- CentOS 6.5_x64 install Oracle 11g R2 (Database)
- Java executable file to read information from a database copy (Programming)
- Standard and IO redirection (Linux)
- Oracle Linux 6.4 installed Oracle 11gR2 + RAC + ASM (Database)
- Android in the event delivery and handling mechanism (Programming)
- Syncthing: Private Security Synchronization tool to synchronize files between computers / folder (Linux)
- Create RAID 1 (mirroring) with two disks (Linux)
- Systemd on RHEL7 (Linux)
- Simple solution CC attack under Linux VPS (Linux)
- Ubuntu Server security risk checks (Linux)
- Nginx supports user multi-threaded downloads and resume broken (Server)
- Those functions under Linux you do not know the df command (Linux)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.