Skip to main content

All Questions

Tagged with
0 votes
0 answers
37 views

Finding actual memory usage of process

I have seen similar questions 1, 2, and understand the difference between RSS/VSZ. I've some uses of mmap'ing distinct virtual memory regions to the same underlying physical memory. In this case, /...
muser's user avatar
  • 101
1 vote
0 answers
51 views

Weird behavior: Does libasan consume system memory constantly in Linux?

I am working on an embedded Linux system (kernel-5.10), and the cross GCC only supports -fsanitize=address for address sanitizer. Then I built a testing program with -fsanitize=address and -lasan. ...
wangt13's user avatar
  • 591
-1 votes
1 answer
84 views

Resizing filesystem to increase space in AWS EC2 instance

I created an AWS EC2 instance, and I am using the EC2 instance to maintain a database. I'm currently trying to perform some post-processing on my database (by quering my database in batches), but this ...
Joey's user avatar
  • 107
1 vote
0 answers
16 views

Kernel Oops happened in hci_send_acl() in Linux

I am working on an embedded Linux system (kernel-5.10.150), there is an bluetooth+WIFI module in system. By wifi+BT testing, I found there is a kernel oops as follows, [ 101.717826] CPU 0 Unable to ...
wangt13's user avatar
  • 591
1 vote
0 answers
30 views

Understanding Unexpected Page Faults in a Memory Touch Program on Linux

I wrote a small C program to allocate a large memory region, touch one byte in each 4 KiB page, and print statistics about page faults. The goal is to understand how Linux handles memory allocation ...
builtin.ctz's user avatar
0 votes
2 answers
213 views

How to use vm.overcommit_memory=1 without getting system hung?

I am using vm.overcommit_memory=1 on my linux system which has been helpful to allow starting multiple applications which otherwise wouldn't even start with default value of 0, however, sometimes my ...
eagle007's user avatar
7 votes
2 answers
980 views

Understanding Linux 'top' command: Memory vs Swap display format confusion

Does the "avail Mem" value actually relate to physical memory rather than swap, despite being displayed on the swap line? I noticed there's a period at the end of the "swap used" ...
Just a learner's user avatar
1 vote
1 answer
162 views

Is RAM-backed VRAM from an iGPU counted in regular linux memory statistics?

Integrated GPUs (iGPUs) use the system RAM to store GPU VRAM. How to know VRAM usage of iGPU? explains usage of GPU-specific tools to monitor the amount of VRAM, but I'm interested in whether the ...
F.X.'s user avatar
  • 341
1 vote
0 answers
41 views

Radix Tree vs Multi-level bitmap

The Linux kernel (at least before using XArrays as far as I'm aware, which to my knowledge are wrappers around Radix Trees anyway) uses radix trees in its address_space structs which every file has. ...
Mike's user avatar
  • 11
3 votes
2 answers
129 views

How to find who is using the memory

I am trying to find out what is using my memory, when running free -m I get info that only 1GB is free as aswell as available. However, running the top shows process only using 0.7% memory so I am not ...
paganini's user avatar
  • 151
-1 votes
1 answer
138 views

How to get the physical address of a file in RAM? [closed]

I have found a couple of related posts: How to see information inside inode data structure Is it possible to find the physical address of a file in disk? But nothing quite answers my question. I have ...
traducerad's user avatar
0 votes
0 answers
44 views

Discrepancy between vm.nr_hugepages and HugePages_Total

My /etc/sysctl.conf have: vm.nr_hugepages = 20484 but (even after sysctl -p) I got: [root@vm04-oracle-19c ~]# cat /proc/meminfo | grep -i hugepages AnonHugePages: 0 kB ShmemHugePages: 0 ...
Astora's user avatar
  • 499
1 vote
0 answers
148 views

How to dump user space stacks in Linux kernel on memory fault?

I am working on an embedded Linux system (kernel-5.10.24), the CPU is 32bit MIPs. The applications run in the system may trigger invalid memory access, which will be shot by a SIGSEGV from kernel, and ...
wangt13's user avatar
  • 591
0 votes
1 answer
600 views

How to know VRAM usage of iGPU?

How can you know the memory used as vram by an iGPU (aka integrated GPU, integrated graphics)?
teika kazura's user avatar
0 votes
0 answers
45 views

Puzzlement on memory statistics in Linux

I am working on an embedded Linux system (Kernel-5.10.186) on a SOC platform. Now I am doing long-time testing to collect memory statistics in the system. And I had a shell script to collect memory ...
wangt13's user avatar
  • 591

15 30 50 per page
1
2 3 4 5
42