Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Programming \ Embedded Linux Optimization     - Syncthing: Private Security Synchronization tool to synchronize files between computers / folder (Linux)

- Linux Basic Course: tar command description (Linux)

- Install Java on RHEL6 (Linux)

- CentOS 6.4 installation and configuration LNMP build PHP server runtime environment (Server)

- Swift notes - let you two hours to learn Swift (Programming)

- OpenJDK7 source compiler installation on CentOS 6.5 (Linux)

- Compile and install Ubuntu Linux 4.0.5 kernel, network and fix vmware kernel module compilation error (Linux)

- Interesting example of Linux Sort command (Linux)

- Getting Started with Linux system to learn: how to use tcpdump to capture TCP SYN, ACK and FIN packets (Linux)

- Linux system performance monitoring with Nmon (Linux)

- Learning UNIX good habits (Linux)

- The correct way of logical backup mysqldump (Database)

- Elaborate 10-point difference between the new and malloc (Programming)

- How to find out a Unix system library files are 32-bit or 64-bit (Linux)

- Linux iostat command example explanation (Linux)

- Linux Shell debugging (Programming)

- About Git (Linux)

- Ubuntu manually set the DSL broadband connection (Linux)

- Create a project using Android Studio LinearLayout (Programming)

- Brief Linux commands (Linux)

  Embedded Linux Optimization
  Add Date : 2018-11-21      
  1. cat / proc / meminfo that memory status

2. The allocation shall then write assignment, not yet assigned when malloc, strcpy or other operations

3. cat / proc / / statm that process memory page status

#cat / proc / 6277 / statm


Virtual physical memory pages shared virtual memory size of the executable is mapped to the task of virtual memory space the size of the library program data and user mode stack segment size

4. cat / proc / / maps look at each address corresponding to the file / dynamic library (snippet - read-only executable stack segment - can read and write, stack segment - grew up to 0xC00000000)

5. cat / proc / / memmaps (cat / proc / / smaps) See corresponding physical memory virtual memory status

Before ptr 4-byte chunk structure 6. malloc Department obtained, including the former block size, the size of their own, flag

7. flag on a bit concerned about being used or not, or whether the allocation by mmap

8. malloc allocates at least one 16-byte, 8-byte aligned, then 20 bytes allocated will be 24 bytes

9. glibc, the management within the 1G space by brk responsible for more than 1G responsible manner by mmap

10. small memory will not try to merge

11. The definition of small blocks of memory may be #include int mallopt (int param, int value) defined

12. param value is usually M_MXFAST, defaults to 64
- Getting Started with Linux system to learn: how to install the Shrew Soft IPsec VPN on Linux (Linux)
- GitLab Installation Guide -Ubuntu 14.04 LTS (Server)
- Installation and Configuration JDK8 In CentOS 7 (Linux)
- Ubuntu install driver manager Mint Driver Manager and Device Driver Manager (Linux)
- Java garbage collection (Programming)
- CentOS boot image to achieve semi-automatic installation (Linux)
- CentOS 7 Docker build private warehouse registry (Linux)
- MySQL Error Code Complete (Database)
- Scope of variables in Object-C (Programming)
- Ubuntu buffalo wzr-hp-300nh brush DD-WRT router system (Linux)
- Linux system last command usage (Linux)
- Oracle ordinary users show parameter method (Database)
- Permissions and attributes of files and directories under Linux (Linux)
- Ubuntu modify locale problem solving (Linux)
- Linux System Getting Started Learning: hard disk partition, and to deal with traps (Linux)
- Using IE can also be easily remotely control the computer (Linux)
- Use SocketServer write a sockets program (Programming)
- Android Studio commonly used shortcuts and how to follow the Eclipse Shortcuts (Linux)
- Getting Started with Linux system to learn: how to check in a package is installed on Ubuntu (Linux)
- How to improve the performance of Ruby On Rails (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.