memory management

  1. T

    How to Estimate the Kernel Size in Memory

    Hi everyone, I’m trying to figure out how to measure the memory usage of the kernel at runtime. Specifically, I’d like to know how to get detailed statistics such as: total memory used by the kernel heap memory stack memory physical memory swapped memory mapped memory resident memory Is...
  2. B

    Swap use growing even though plenty of free RAM

    top gives me: last pid: 61466; load averages: 1.27, 1.00, 0.95 up 159+04:03:05 15:22:39[/ICODE] 158 processes: 1 running, 157 sleeping CPU: 4.3% user, 0.0% nice, 0.3% system, 0.0% interrupt, 95.4% idle Mem...
  3. G

    Process memory goes on increasing in FreeBSD 13

    Hello Team, I am facing one issue in which process memory goes on increasing day by day. It starts with 150MB and reaches to 1.7GB with 2-3 days.There is no leak in code as same code works on Linux platform smoothly without any memory issue. I am freeing up all memory which is allocated by mmap...
  4. D

    Memory management FreeBSD kernel

    Virtual memory and address space Consider the traditional distribution of process virtual memory on i386 (drawn from the picture by Matthew Dillon in pseudographics): We are not interested in what is related to the process, but now we are interested in the part that is KERNEL. This part, which...
  5. K

    Understanding memory management

    Hi Everyone, I'd like to learn more about how FreeBSD manages memory, specifically about the types of memory that top shows. I've read a few articles on the topic, also Chapter 7 in the Architecture Handbook. The following is my current understanding on the subject. Please clarify if I got...
  6. PKraszewski

    Usage of M_PREPEND() function in netgraph processing

    Hello! I'm in the process of writing a netgraph node specific to my project, sitting between ethernet node on the left and bunch of udp/sctp nodes on the right (sorta really crippled L2 VPN without encryption). It has "local" and set of peer0..peer15 hooks. The job of the node with flow...
  7. V

    Inactive memory breakup

    Hi, I have a FreeBSD 10 system which has 64 GB of RAM and does not have any swap. The top command is showing 34G Inactive memory; and I am confident that not 100% of this inactive memory is dirty. However I don’t know how to find how much of this Inactive memory is dirty and how much is...
  8. D

    C Create a thread with a separate file descriptor table (set RFFDG flag)

    I want to create a thread with a separate file descriptor table to have better performance with kevent. In Linux, I was using unshare syscall to achieve this, which as far as I know there is no equivalent or similar syscall in FreeBSD. Then I tried creating such thread directly with rfork via...
Back
Top