Questions tagged [ram]

Random Access Memory is a fast and volatile data-storage bank used in computers to store data and machine code currently being used.

Filter by
Sorted by
Tagged with
-2
votes
2answers
56 views

What happens if tmpfs reached the limit that defined in percentage

lets say we defined the following in /etc/fstab tmpfs /data tmpfs size=90% 0 0 And then we mount -a Now /data is with tmpfs What could be happens on the following scenario case that /data ...
1
vote
1answer
45 views

RAM disk + is it possible to mount to RAM instead of disk

we have Linux machine that used the disk /dev/sdb to save data , we configured the mount point in /etc/fstab disk is 100G , and mount point is the folder /data now we want to use the memory ( we ...
0
votes
2answers
55 views

Why doesn't Linux automatically clear caches?

Background My question is basically a follow-up to this question and answer, and in particular, this comment. Whenever I have to copy or rsync large amounts of files, the memory on my system tends ...
1
vote
1answer
26 views

Make: start process that if being killed, does not kill make

I use GNU make to start benchmarks of different write/read calls in R. In some cases this will result in my RAM being fully used and the process being killed (which is fine, since I want to see the ...
0
votes
0answers
28 views

The BIOS and LSHW show the correct amount of ram/memory, but not in the OS (ubuntu 20.04 64bits)

motherboard: AB-GAMING 3-CF bios version: F50a lshw $ sudo lshw -class memory *-firmware description: BIOS vendor: American Megatrends Inc. physical id: 0 ...
1
vote
0answers
25 views

How system slots or ports are detected by linux?

how does an operating system say linux understand how many ram/pci/cpu slots/sockets are there? Does the operating system detect this or just the info is passed from bios acpi if so please tell how ...
1
vote
0answers
24 views

Disabling CPU core in u-boot DTS

I am trying to 'convince' a FriendlyARM ZeroPi (Allwinner H3, 4 x Cortex-A7) that it only has 3 physical cores in the SoC, and there is only 256M of RAM (instead of the 512 actually on board). I have ...
0
votes
0answers
44 views

Memory Not Detected

_,met$$$$$gg. root@debian ,g$$$$$$$$$$$$$$$P. ----------- ,g$$P" """Y$$.". OS: Debian GNU/Linux 10 (buster) x86_64 ,$$P' `$$$. Kernel: 4.19.0-8-...
0
votes
2answers
86 views

Will copy-on-write in main memory work while swap is off?

without overcommitment, every fork() would require enough free storage to duplicate the address space, even though the vast majority of pages never undergo copy-on-writes. The above statement is ...
1
vote
0answers
25 views

Installing RAM: `dmidecode` shows both DIMM and SODIMM slots on the same machine

I want to add RAM to my laptop. If I run dmidecode --type 17 (as described in Linux Check Ram Speed and Type Commands). I get the following: [jeff@jbb-dell:~]$ sudo dmidecode --type 17 [sudo] ...
0
votes
0answers
40 views

How is initramfs maintained throughout the execution of the Android kernel?

So, while reading the book Operating System Concepts 10th edition, I found the concept of initramfs. I know that it is used in Linux as a temporary RAM file system to load all of the drivers to mount ...
0
votes
1answer
27 views

Linux (RHEL) problem with cached and swap memory

I have a problem with linux cached and swap memory. I know that linux is optimising itself when reading data from the disk (buffering it in the RAM) but in my case it seems that this part of memory is ...
2
votes
1answer
69 views

Why can I only access 7 of 16GB ram?

I have an FM2+ AMD A10-7700K APU build. 4 physical ram slots filled @ 4 gb each; total 16 gb 2 ssd drives; 120gb (containing OS) and 256gb data I have been running Cinnamon Mint desktop on this ...
4
votes
1answer
245 views

Discrepancy between physical RAM and /proc/meminfo

I have a system with 8 x 16 GB DIMMs, so 128 GB total. However, the MemTotal reported by /proc/meminfo is 131927808 kB, so 131 GB My research suggests that if anything, the meminfo should add up up ...
0
votes
1answer
25 views

Get data about system load in an easy-to-process format

Often I feel the need to run some computation on the data about my system load. For instance about the data that top shows. And possibly iotop and htop as well. Some of the things I'd like to do are ...
0
votes
2answers
269 views

Install Linux Mint on Laptop SSD - How without OS etc?

I don't know much about computers, but I have Linux Mint installed on a laptop and it has a HDD and I would like to swap it to an SSD. A) How do I install the Linux system without an operating ...
0
votes
1answer
114 views

After a heavy I/O load, and storing many things in Zram, used space is close to total in `free`

I do not think that this is Linux's disk cache. In htop, the memory bar is green (not orange for cache) and I removed the files stored in Zram. No processes seem to be using a lot of memory. The load ...
0
votes
0answers
22 views

Swap partition is used only when RAM usage is to the full [duplicate]

Irrespective of the value I set for swappiness (/proc/sys/vm/swappiness) , the swap area is used only when the RAM is used to the full. Some configuration must be overriding the swappiness. My ...
0
votes
1answer
35 views

Apache uses 9GB of RAM but htop only shows 2.7GB of used RAM. Why?

My website is very slow at some times of the day, and I'm on the quest of finding out why. I'm currently looking into Apache memory usage and I have 2 tools that are supposed to tell me how much RAM ...
2
votes
1answer
360 views

How to check GPU RAM consumption? [duplicate]

Is there any program like htop which can tell me the GPU RAM consumption when I train a "Deep Learning" model?
-1
votes
1answer
25 views

RAM bandwidth activity

I compile sources in /tmp mounted into RAM. I'd like to know fast it is! That's show/monitor I/O activity (MB/s) for this device. If I want to monitor HD bandwidth I would have used tools like iotop ...
0
votes
1answer
36 views

Debug System Slow-downs and freeze

I have an Arch laptop where sometimes (daily and more) I experience freezes that start with software slowing down and then slowly extends to the whole system until it's unusable and I have to alt+prt+(...
1
vote
1answer
159 views

How do I create a temporary file in memory?

I need to create some (small) temporary files in my zsh scripts, and I want them to live on RAM so as to avoid disk IO. What are the idiomatic ways of doing this? I want it to work on Linux and macOS, ...
1
vote
2answers
414 views

Allocate more memory and cpu resources to a program

I am running unzip to unzip huge files. However, my cpu usage is under 15 percent and ram is only utilizing 1-1.2 GB out of 8 GB. Is there a way to allocate more cpu power and ram to this unzip ...
0
votes
1answer
183 views

Restrict child process 's cpu and ram usage by parent process using C/C++ in Linux

I am trying to create child processes from parent processes.I want to restrict CPU and RAM usage of the child processes using C/C++.Is there is a way to do it?
0
votes
0answers
43 views

Reserve RAM for tty

I have a problem with my laptop. When it starts to swap, all programs freeze - even the cursor. I need to wait 10-30 minutes for Linux to solve the problem by itself. As a temporary solution, I can ...
1
vote
0answers
82 views

2.4 GB of memory not usable

I just bought a new Thinkpad E495 with 16 GB (8x2) of RAM. I understand that some amount of memory is reserved for the system. Basing on other discussions I've read online, 2.4 GB is a very ...
2
votes
1answer
125 views

Why is swap so large when I try Peppermint OS on live usb? (The usb's size is smaller than the swap's size)

I try Peppermint OS (a distro based on Lubuntu) on live usb. I check ram by the command free -h and the result is peppermint@peppermint ~ $ free -h total used free ...
7
votes
2answers
4k views

Why does my system use more RAM after an hour of usage?

I am using Arch Linux (5.1.8-arch1-1-ARCH) with the XFCE DE and XFWM4 WM. Things are pretty elegant and low on RAM and CPU usage. After the boot, and when the DE is loaded completely, I see 665 MiB ...
0
votes
1answer
26 views

turbostat - Why sometimes RAMWatt is about 100 in idle?

By using turbostat command we can check the power consumption of RAM. ex: CPU%c6 ... PkgWatt RAMWatt 96.56 ... 64.43 93.12 CPU @ c6 state more than 95%, I think the system is in idle....
0
votes
0answers
36 views

Displaying a changing buffer in realtime in linux

Sometimes when I am searching for a song on my machine, I use the following: locate *artist*.mp3 | sort | less The thing about this is that the sort will buffer until all files have been located, ...
0
votes
1answer
51 views

Ram errors, shows correct size but in memtest shows only limited size

I have a 2 ddr3 pairs of unmatched ram. Pair 1 is 4GB 1333Mhz. Pair 2 is 8GB 1600Mhz. In memtest, the total shows 12GB, but when i check the memory mappings in the dmi memory device info , it shows ...
4
votes
1answer
763 views

82MB of “reserved memory” on 512MB (x86) system

I reinstalled a fresh debian 10 on an old x86 system with 512MB RAM (everything works ok). Available memory is 431MB. (No graphic card plugged right now) I don't think that that much memory was "...
0
votes
1answer
328 views

Disable buff/cache linux for fixing ubuntu hangs on full ram

I have 8 gb of ram, ssd and very greedy for ram Android studio/gradle. and sometimes when gradle builds project(eats ram) it hangs all ubuntu(and xubuntu). ui becomes so laggish - mouse cursor moves 1 ...
1
vote
1answer
339 views

how to see the contents in the RAM when a program is executed in Linux?

I want to see the contents of a program being stored in RAM when the program is executed . I have used cat /proc/[pid]/meminfo but it gave only address and permission mode details . I also tried ...
0
votes
1answer
1k views

systemctl enable tmp.mount

Consider the practice of mounting the /tmp directory on a tmpfs memory based filesystem, as can be done with: systemctl enable tmp.mount And consider the following: one justification: The use of ...
0
votes
3answers
123 views

How to preserve a shell variable data until shutdown?

The shell variable is created by a script. It needs to be retained even after closing terminal and launching another script and accessing it. I don't want to write to a file(in HDD). If it possible ...
1
vote
1answer
484 views

How to analyze top command results: CPU & RAM consumption

I am working on ARM-based processor (OS version: Linux 3.4.35) and I need to analyze the processor's performance while some processes are running, by typing top command, I can see some statistics but ...
0
votes
0answers
42 views

Sizing of Samba Linux Server

Do you know any performance of sizing recommendations about Samba 4.7.1 ? For few informations : 2vCPUs / 1 Core 8GB of RAM 140 simultaneous Windows users / 250 at most / 20 NFS volumes mounted via ...
0
votes
0answers
133 views

wget --spider ram memory consumption and use of -c

I am using wget --spider. It is consuming a lot of ram memory. How could I limit the use of ram memory from the wget command? wget --spider -r -c http://www.example.org 2>&1 | grep '^--' | awk ...
3
votes
0answers
2k views

Kernel BUG: unable to handle kernel paging request

So I'm trying to run this kernel module on my laptop, and every time I do so, I get a stack trace that looks like this (all the messages might not be relevant to the module). [17539.035247] EBBChar: ...
0
votes
1answer
504 views

What's causing dbus-daemon to take up over 3GB of RAM?

dbus-daemon is consuming a lot of memory on my Debian 9/KDE machine. How can I find out why? The amount of allocated RAM is not changing anymore: it's stable at well over 3GB. I already tried closing ...
2
votes
0answers
516 views

Swappiness set at 100, but is empty nonetheless

Backstory: So, I have a vm running and managed to open enough browser tabs to make linux mint freeze completely, by filling up both swap and ram. Then swappiness was at 60. So after this happened a ...
0
votes
1answer
36 views

Filesystem in RAM that swaps to disk after a specified size

I have a process on a Linux machine that fetches some chunk of data from a host and sends it to another host. I do not control the size of the chunks I fetch, but I have a general idea of their median/...
-1
votes
1answer
997 views

/proc/sys/vm/drop_caches values

I want to know what values are possible for drop_caches, and what the meaning of that values are. For example: echo 3 > /proc/sys/vm/drop_caches What does number 3 mean? Are the numbers, 1, 2 or ...
0
votes
0answers
41 views

Deactivating disk cache for specific device or partition? (play 2160p video off SD card without sacrificing RAM space other programs need)

I would like to deactivate the disk cache for /dev/mmcblk0p1 in order to preserve more RAM for other system parts while playing 2160p video off /dev/mmcblk0p1. 2160p videos ravenously wipe the RAM ...
1
vote
1answer
551 views

How to use memmap with U-Boot?

I'll like to reserved the first 2 GB to the RAM because my hardware write in this position to the memory RAM and I need to the kernel don't touch this part to the memory. I read to use this option ...
0
votes
1answer
586 views

cgroups: Is it possible to limit cpu usage by process name instead of by pid

As we know, cgroups can limit cpu usage of processes. Here is an example: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 30142 root 20 0 104m 2520 1024 R 99.7 ...
1
vote
1answer
342 views

free -m: free size reduced because of cache/buff

I'm using the function rosbag of ROS. rosbag can record lots of data from other ROS nodes. In a word, it will generate a huge file, such as a file of 200MB. After generating such a file, I found that ...
1
vote
1answer
426 views

How to access NVRAM and DPRAM in Linux userspace?

We are going to add NVRAM and DPRAM in our custom board where both of them will be mapped in system memory map. I am not getting a clue that whether these devices have some generic drivers in Linux ...

1
2 3 4 5 6