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
1
vote
2answers
55 views

How much swappiness I need with 4GB ram

I am a bit confused because everyone says to reduce the swappiness to about 10; but if I have only 4GB RAM than how much swappiness would be the best? and also If I had 8 and 16GB ram? and also I am ...
0
votes
1answer
31 views

The RAM load is constantly increasing. Is it possible to reduce it?

RAM load rises to 85% from 32G I have varnish and nginx installed on my server. Recently I noticed that the load on RAM is very high. I am afraid that it will continue to grow and the site will stop ...
0
votes
0answers
21 views

Missed RAM in Linux

I have two servers (Oracle Linux 7, x86_64, ) with "missed" RAM. uname -r returns 4.14.35-1902.10.2.1.el7uek.x86_64 I've read where is my memory in linux? and already checked memory by the ...
0
votes
1answer
24 views

Varnish duplicate process 170 once

I am using nginx + varnish. I noticed that I have ~ 22GB / 32GB in use. I looked in htop and noticed that there are about 170 duplicate varnish processes. Tell me what could be the problem? Where to ...
0
votes
0answers
20 views

Accessing RAM channel

In DRAM we might have multiple channels in our system. These channels will be connected to DIMM's each channel has certain number of DIMM. These channel connect the CPU and the DRAM. I want to get to ...
0
votes
0answers
20 views

How to decipher decode-dimms output

I want to find out real RAM timings. The stick is 2400Mhz, but memory clock is limited to 2133MHz on this cpu. I can confirm it with: $ sudo dmidecode ... Handle 0x0004, DMI type 17, 40 bytes Memory ...
1
vote
2answers
35 views

Maximum RAM - do I listen to dmidecode or the manufacturer?

I have a nice laptop - 32 GB of RAM, M2 (SATA) and 2.5' SSD (also SATA) - dual boot, Fedora 33 & Windows 2019 Server. I ran dmidecode and found a Maximum Capacity of 64GB - but the manufacturer (...
0
votes
0answers
26 views

Set resource limit per user dynamically

I'm managing a server with 32G of RAM and potentially n user, let's say for example 4. Available RAM per user should be dynamically set by number of user processes running. User 1 login to the server. ...
1
vote
0answers
15 views

RAM, CPU, Disk limiter per user

I recently bought a VPS server which is running ubuntu-16.04-x86_64. This VPS has 4 GB of RAM, 2 threads i7-6700K 4.00 GHz processor and 30 GB SSD. Is there some way to easily reduce RAM usage, disk ...
0
votes
0answers
30 views

Arch Boot Hook: Allocation zramctl fails to allocate

OS Version: 5.9.14-arch1-1 Kernel I am trying to figure out how I can load the whole / directory into the RAM when starting up. I found a little helper here: https://github.com/arcmags/ramroot So, ...
1
vote
1answer
20 views

Is RAM usage of IPC a part of the RAM usage of a program

I'm learning how to use Message Queue in Linux and I've found a simple example: https://www.geeksforgeeks.org/ipc-using-message-queues/. With the reader and writer in this link, I can read and write ...
0
votes
0answers
33 views

Ways to cause RAM errors and display them to dmesg or messages logfile in CentOS 7

I would like to know how to generate an ECC correctable error or an FB-DIMM configuration write error (Non-Fatal Recoverable) that will be displayed to the dmesg or messages logfiles, like in the ...
-2
votes
1answer
36 views

Who starts a program to run?

Who starts a program to run on RAM? Is it Kernel? Suppose I hit 'ls' command in linux, I know it is running on RAM processed by CPU-Core and make sys-call (to Kernel) whenever necessary and flush the ...
0
votes
0answers
18 views

Is it possible to resume a LINUX hibernation putting the disk (with the swap file or partition) in another computer?

Can I put my work computer into hibernation (when the RAM is copied to disk and the computer is shutdown), wait it to switch off, take the hard drive, put it into another (similar, but not identical) ...
1
vote
2answers
51 views

badram kernel parameter not working?

I have bad ram which is soldered on so I can't replace it. I have run memtest86+ and got the output in badram format. I added this to the current kernel with: sudo grubby --args=badram=...
0
votes
0answers
65 views

Pre-Caching large files

I have a CPython routine which is time critical, it reads large binary files to generate dynamic spectrum, it's slower if the files are not cached previously. When I use vmtouch to pre-cache, it takes ...
1
vote
3answers
148 views

Loading a large Linux distribution such as Ubuntu into mapped partitions on RAM such as DDR4

Is there any way of booting from SSD/USB/NVMe/eMMC to have a Linux OS, such as Ubuntu, plus applications, services and containers load entirely into partitions created in RAM such as DDR3 or DDR4. ...
0
votes
0answers
22 views

What causes a linux VM to have more “reserved memory”(BIOS-e820) then Windows VMs?

tl;dr a Win10 VM seems to have only 1MB of 2GB (0.05%) of "hardware reserved" memory, while linux VM as a rule of thumb have 1.5% to 2% reserved? How come that the on the same setup of kvm ...
6
votes
0answers
157 views

Reserved RAM: Determine the reason for reserved main memory?

On a server, the linux kernel at boot informs about the RAM setup. It indicates that of the physical 512GiB RAM (536409480kiB), only roughly 503GiB RAM (527942676kiB) are available. root@ada:~# dmesg |...
1
vote
2answers
58 views

Is it possible to run raspbian OS without SD card or Live USB?

I developed a python based GUI application running on a Raspbian OS. During power outage my SD card gets corrupted often. I need to have a frequent back up OS image and writing it back when the SD ...
2
votes
1answer
891 views

Python programs suddenly get killed

I'm running some python programs that are quite heavy. I've been running this script for several weeks now, but in the past couple of days, the program gets killed with the message: Killed I tried ...
0
votes
1answer
32 views

Changed RAM and now my system is malfunctioning

I have a problem with a new RAM that I bought. My system is a Thinkpad T410 with Debian 10 stable with 2+2GB of RAM. Today I replaced a 2GB board with a 8GB. I checked with htop my total amount of RAM ...
0
votes
0answers
21 views

EDAC scrub capability details

Looking at this enum in https://github.com/torvalds/linux/blob/master/include/linux/edac.h#L280: enum scrub_type { SCRUB_UNKNOWN = 0, SCRUB_NONE, SCRUB_SW_PROG, SCRUB_SW_SRC, ...
0
votes
1answer
133 views

Why does dmidecode show the memory type as “unknown”?

I am trying to identify with dmidecode whether my computer has DDR3 or DDR4 memory. But, when I run it, it does not provide any information that would let me identify the installed memory. For memory ...
0
votes
0answers
86 views

Identify ram module linked to ECC error di DMESG

one of my server is logging the following ECC errors: [lun set 14 00:14:16 2020] {33}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 1 [lun set 14 00:14:16 2020] {33}...
0
votes
0answers
21 views

used buff/cache memory increased suddenly in ubuntu 16 machine

In one of my ubuntu 16 production instance memory used by buffer/cache shot up suddenly. We have not done any change in the machine. Attaching screenshot and snapshot of free output. root@xxxxx~# ...
0
votes
2answers
79 views

How to Enable ZRAM on PC?

I am trying to know how to enable ZRAM for my PC running Ubuntu. I have heard that the ZRAM is speeding up some laptop and PCs, so will the ZRAM help My PC too? PC specs: CPU: Intel Core 2 Duo E4500 (...
0
votes
2answers
47 views

Linux memory usage does not add up

I have a server for which I cannot account where the ram is going. Output of top (sorted by %MEM) indicates I have 96GB of ram on this server. top - 23:30:54 up 1 day, 21:55, 2 users, load average: ...
0
votes
1answer
59 views

High RAM and swap usage out of seemingly nowhere

(Manjaro 20, Linux 5.8.3, KDE, this laptop) When reasonably much is going on in my system, the RAM and swap usage often goes much higher than it should. For example currently I have a VM with a VM in ...
0
votes
2answers
124 views

How can I increase the size of an encrypted swap partition when the root partition already takes up all free space?

My laptop is getting kinda slow, especially when having Firefox opened with multiple tabs, which is why I'm trying different ways to make it a little snappier. It has an Intel Core 2 Duo T5600, 2 GB ...
0
votes
0answers
43 views

Lubuntu 20.04.1 and RAM detection on Asus K50C-S

I have installed Lubuntu 20.04.1 on an Asus K50C-SX009, but it can only use 3 out of 4 GB of RAM installed. According to the official specifications the laptop supports up to 4GB of RAM, and it ...
0
votes
0answers
33 views

Syntax for using systemd-run to limit CPU and memory usage of multiple processes?

I would like to use Linux control groups (cgroups) to limit CPU and RAM usage of multiple processes. If the processes are Process 1 and Process 2 with child process Process 2 Sub, would this be the ...
2
votes
1answer
361 views

How can I trigger Firefox memory cleanup from the terminal?

Does anyone know how to initiate the garbage collection and memory reduction in Firefox (about:memory > Free memory > GC/CC/Minimize memory usage) from the terminal? This browser is using way to ...
0
votes
0answers
24 views

Seelnium crashes since RAM is not enough… but what is RAM used for?

We run Selenium (JAVA) with headless Chrome. This all takes about 300 MB RAM. VPS has 1 GB RAM but selenium "crushes": Exception in thread "pool-1-thread-115" org.openqa.selenium....
0
votes
0answers
231 views

Excessive Firefox CPU and RAM usage (+ choppy audio)?

I'm trying to use both Firefox Quantum 68.10.0 ESR 64-bit and TOR browser 9.5.1 (= based on said Firefox 68.10.0 ESR) on a Linux Mint Debian Edition 4 machine. What's with the resources squander of ...
12
votes
1answer
867 views

Out of memory, but swap available

My server runs out of memory even though there is swap available. Why? I can reproduce it this way: eat_20GB_RAM() { perl -e '$a="c"x10000000000;print "OK\n";sleep 10000'; } ...
0
votes
1answer
16 views

Centos 6 wouldn't swap

I'm almost out of the ram, was hoping to swap ram kicks in, but it doesn't do anything. CentOS release 6.10 (Final) root@auth33:~# free -m total used free shared ...
0
votes
0answers
28 views

Free cache memory

Hi. I'm trying to free cache memory in Ubuntu. I searched several tutorials (including install bleachbit) and none of these helped me. Does anyone know how to free this cache?
0
votes
4answers
201 views

Reduce swap memory size and increase RAM access?

I'm on an Arch Linux machine running KDE Plasma desktop environment. I have 16GB of physical RAM installed in my machine. I had 8GB swap memory and apparently have access to 8GB of RAM. I wanted to ...
0
votes
1answer
22 views

Relationship between RAM and CPU to assign to servers

I would like to know if there is any method, formula, recommendation or good practice to establish the relationship between CPU and RAM on a server, be it physical or virtual, I have recently seen ...
1
vote
1answer
33 views

What's the biggest RAM module that I can use according to dmidecode?

I wonder if this dmidecode output suggests that one can put 2x16GB or 2x32GB? I have seen that in different version of dmidecode information about total system maximum capacity and maximum module ...
0
votes
1answer
61 views

How to know max RAM memory allowed?

I found an old HP 530 laptop and am planning to upgrade it with an SSD and new RAM to give it to my little brother for his schools tasks. I executed the dmidecode command to know the sistem specs and ...
1
vote
0answers
36 views

Disable corrupted memory

I have Supermicro servers and each server has 12 memory modules and IPMI interface. When I run memtest86 on all my servers I detect some corrupted memories (channel X slot Y/Z). Also, I can find a ...
0
votes
2answers
27 views

Is staying in Fedora with a 4 gigs system Safe?

So I recently switched to Fedora Linux, and At least it eats 1.5 gigs of ram after I installed software, it ate 1.7, and I have a 4 gig system, so is it safe? I am referring to Memory
0
votes
0answers
12 views

Can I efficiently fork a ramfs partition?

I want a ramfs (or equivalent, but strictly RAM only) partition which will serve as a read-only master instance from which any number of identical children can be forked. When a process forks, this ...
1
vote
0answers
14 views

Easily customizable, PXE bootable, ram only Linux Distro?

I'm writing a daemon that I'll need to roll into an ISO which can be bootable via PXE by multiple machines simultaneously. This is so I can easily scale a computing operation / expand a pool with zero ...
1
vote
0answers
32 views

How to make a process to use more amount of RAM?

I use the workstation predominantly for shell-based virtual screening of new ligands/drugs (which involves algorithm and output evaluation) and molecular dynamics. Virtual screening involves ...
2
votes
0answers
113 views

How to check actual RAM usage of tmpfs?

I know that tmpfs falls back to using swap if system is under memory pressure. I can query total tmpfs usage in KiB with df | grep tmpfs | awk 'BEGIN{sum=0} {sum = sum + $3} END{print sum}' but how ...
2
votes
2answers
91 views

32GB RAM + 16GB Swap?

I just upgraded my RAM in my Acer Aspire TC-885-ACCFLi5 from 16GB to 32GB. I have 2x1TB SSDs and 1x2TB HDD. I dual-boot between an Arch-based and a Debian-based distros. I use one of my SSDs for my /...
1
vote
1answer
86 views

Can We save files in RAM?

So i noticed how linux sometimes uses swap memory (located in internal HDD / SSD). When ram is overloaded PC stores some ram data in swap to make things faster it guess. So if you can store ram ...

1
2 3 4 5
7