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
0
votes
2answers
69 views

What makes a program load so fast? [closed]

I have this question that I need an answer to. What makes programs like st, zathura, sxiv, and feh load instantly and what makes programs like VS Code and Google Chrome load so slowly in low-spec ...
0
votes
1answer
45 views

Why is RAMFS much slower than Ram?

I have a 64GB DDR4 3200MHz memory installed on my PC. When I run sysbench, I get the following results: # sysbench memory --memory-block-size=1M --memory-total-size=10G run sysbench 1.0.20 (using ...
1
vote
0answers
39 views

htop command displays 996GB instead of 1024GB for RAM

I have a little issue that I can't understand. I have 8x128GB sticks of RAM, which makes 1024GB of RAM. But the command htop displays 996G and not 1024G as expected. You can see the following ...
2
votes
0answers
41 views

memtester error when testing two RAM memory cards together but successful test on each one

I have bought a new 8GB memory ram with the same part number as the one my computer already has. After mounting the new memory, I see that Ubuntu has detected it and that the system has 16 GB of RAM. ...
2
votes
1answer
102 views

Why the difference in neofetch and free (RAM) output?

wadewayne@Cheetah:~$ neofetch MMMMMMMMMMMMMMMMMMMMMMMMMmds+. wadewayne@Cheetah MMm----::-://////////////oymNMd+` ----------------- MMd /++ -sNMd: OS: Linux Mint 19....
0
votes
0answers
31 views

“you are in emergency mode,, After logging in type ”journalctl -xb“ti view…”

my os (pop os , ubuntu based) gets freezed due to a RAM exceed, I reboot my system and only have CLI, were I got the tittle mentioned message: “you are in emergency mode,, After logging in type ”...
1
vote
0answers
50 views

Why is writing to a RAM drive so much slower than expected?

I testing writing data to a RAM drive on my linux machine, and I'm seeing much lower numbers than the RAM speed would suggest. So I would like to ask: why am I seeing slower speeds? Could be that I'm ...
8
votes
1answer
336 views

Tell Linux what to use swap for

I am using Ubuntu 20.04 Server edition. I have a 512GB of RAM, with about 130GB typically used for a process running on the machine. I also have two ramdisks (tmpfs) both configured as 500GB. As tmpfs ...
1
vote
1answer
39 views

Linux box with 100% used swap and 60% available RAM - is it normal?

Recently I saw a box (actually, web server VM) that has exact 0 (zero) bytes unused in its swap, while available ram (which is not free, but the sum of free+buffers+cache) is at 60% of total VM ram. ...
2
votes
1answer
55 views

Does mounting squashfs put the whole filesystem in RAM?

Situation: I've got a larger (>10GB) read-only collection of small files with loads of duplicates that I need to have available on multiple machines, even on different file systems. We can assume ...
0
votes
1answer
33 views

(Almost) Complete System Freeze, Swap Related

Overview & Symptoms My system freezes almost completely whenever my system runs out of RAM and starts hitting the swap partition heavily. Everything freezes including the mouse and keyboard with ...
0
votes
1answer
75 views

How to use swap less often?

I use an SSD swap just to avoid full memory related crashes. There are limited erasures that can occure on SSDs. The memory related crashes have stopped, but my system uses swap constantly and vmstat ...
0
votes
1answer
39 views

dotnet Segmentation Fault on Ubuntu: i have only 174 MB free RAM

When i run dotnet or dotnet --list-sdks or dotnet --list-runtimes it works, but if i run a project or even dotnet --help or dotnet --info , i get Segmentation fault In /var/log/syslog i see: [ 3110....
1
vote
1answer
50 views

Can Linux take advantage of removable ram?

Some RAM pci-e card were manufactured https://linustechtips.com/topic/1118940-wtf-is-this-thing-ram-on-a-pci-card/ Say I got a removable 16gb version of this card that is available 95% of time (eg: ...
-1
votes
1answer
67 views

How to get memory info without sudo command on bash

No idea how to create a bash script, without using sudo, that shows Memory Info like 8 x 16384 MB DIMM-1600 MT/s Samsung. number of memory + size of each + type + manufacturer
2
votes
0answers
27 views

What dmidecode Bank Location: PO CHANNEL means?

When I run command sudo dmidecode -t 17 I see : Bank Locator: P0 CHANNEL A What this means ?? I searched dmidecode site and docs but not found any information. I just wanted to check memory mode, ...
1
vote
2answers
61 views

Clean RAM after some days of PC usage

I have 8GB RAM, and use my PC (Debian 10, KDE plasma 5.14.5) "normally" but with many programs running in parallel: Firefox (≈ 250 Tabs) Chromium (10 Tabs) Thunderbird 10x Okular 2x Pycharm ...
0
votes
3answers
60 views

dmesg shows 8GB memory as 6059MB real

free -h and dmesg commands show real memory as about 6GB while I installed an 8GB ram. The following is the output of the commands dmesg | grep -i mem real mem = 6353747968 (6059MB) avail mem = ...
1
vote
2answers
100 views

How much swappiness I need with 4GB ram [duplicate]

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
22 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
33 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
23 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
49 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
81 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
28 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
16 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
69 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
24 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
78 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
19 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
154 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
101 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 ...
3
votes
3answers
385 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
36 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
252 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
76 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 ...
6
votes
1answer
6k 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
35 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
32 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
304 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 ...
1
vote
0answers
196 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
26 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
112 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
60 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
78 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
270 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
54 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
58 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 ...

1
2 3 4 5
7