Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Programming \ Embedded Linux Optimization     - Use Visual Studio to compile and use WinGDB remote debugging embedded Linux programs (Programming)

- Linux installed PCRE (Linux)

- Linux yum command Detailed (Linux)

- Online booking shocking information leakage risk, you dare book the tickets online? (Linux)

- MySQL multi-master-slave synchronization (Database)

- The OpenGL ES GLFW window structures (Programming)

- XenServer virtual machines installed in dual-card configuration (Server)

- Thunderbird 24.4.2 has been released for use with PPA updates (Linux)

- MongoDB relations, references, index query coverage (Database)

- The basic principles for the protection of a good linux server security (Linux)

- Linux remote wake the computer original code [C] (Linux)

- Linux md5sum verify file integrity (Linux)

- See Linux kernel, CPU, memory, and various versions of the command module and means (Linux)

- Docker installation under CentOS7 (Linux)

- Memcached installation, configuration and monitoring (Server)

- Linux user login ban (Linux)

- Linux server data backup (Server)

- iptables allow only specific ip address to access the specified port (Linux)

- Several Ceph performance optimization of new methods and ideas (2015 SH Ceph Day after flu reference) (Server)

- Java singleton mode (Singleton mode) (Programming)

 
         
  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

6,020,225,316,027,804,580

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
     
         
         
         
  More:      
 
- Installation under Linux Mint system guidelines for Gtk (Linux)
- C language - Traverse pci device (Programming)
- Flow control message transmission between RAC (Database)
- Moosefs Distributed File System Configuration (Server)
- Package the Python script file into an executable file (Programming)
- Use small network command to check whether PC Security (Linux)
- Proxmox VE implement KVM OpenVZ virtualization cloud computing (Server)
- Linux atomic operations and synchronization mechanisms (Programming)
- How to Install Telegram instant messaging software on Ubuntu (Linux)
- Linux environment Duplex (multi-machine) automatic mutual backup scheme (Linux)
- error no.2013 lost connection Tom with SQLServer during query (Database)
- Using Ruby to build a simple HTTP service and sass environment (Server)
- tcpdump Linux system security tools (Linux)
- Ubuntu 15.04 using the Eclipse 4.4, Java 8 and WTP (Linux)
- phpinfo (): like phpinfo as a Python script (Programming)
- Android memory optimization of the disk cache (Linux)
- RedHat Redis Linux installation (Database)
- Linux Mint 17 set up the Ruby environment (Linux)
- Error: Unable to establish connection with FTP SFTP server (Server)
- JBPM6 Tutorial - Fast Fun JBPM table (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.