All Questions
Tagged with virtual-memory operating-systems
18
questions
2
votes
1
answer
568
views
calculating memory used by "ext4_inode_cache" from /proc/slabinfo?
On Linux I have two ways to get the memory used by ext4_inode_cache. First is using the slabtop command which gives me "CACHE SIZE" information too:
# slabtop -o -s c | grep -E '(...
0
votes
2
answers
1k
views
How virtual memory and page file is related?
We know that CPU produces logical addresses also known as virtual addresses while a program is running. Then, those virtual addresses are get translated into physical addresses by Memory Management ...
0
votes
0
answers
508
views
Where are process pages stored - in the swap space or under file system? Can demand paging work without space space?
The Galvin OS text says that on older systems, there used to be a method, where the entire running process (when in idle state) was moved from the main memory (when main memory ran low) to the disk ...
1
vote
2
answers
2k
views
System that can read hard-drive and exclusively write into RAM?
I hope to be at the right place. I could not find any suggestions on the "web" about my question. How could an O.S, let us say a distribution of linux, can be loaded from the hard-drive and execute ...
1
vote
2
answers
572
views
The "memory available" that an Operating System tells child processes
I'm wondering about how operating systems let child processes know how much available memory there is.
Say the whole computer has 1GB RAM memory built in. The operating runs and uses 100MB (I have no ...
0
votes
0
answers
29
views
OS - Parallel between heap/stack and pages
I'm studying for an exam on Operating Systems. I am working on the chapter concerning virtual memory.
I'm getting really confused making a parallel between this very common schema describing a ...
0
votes
2
answers
2k
views
If a process is suspended (swapped to secondary memory), then does the process control block also get swapped to secondary memory?
If a process is suspended (swapped to secondary memory), then does the process control block also get swapped to secondary memory? Or would the process control block remain in main memory, whilst the ...
72
votes
8
answers
34k
views
How is virtual memory actually increasing the memory space?
I understand that virtual memory fools the program by displaying more memory than is actually available.
But ultimately it has to map the logical address to the actually physical address. Now how is ...
2
votes
5
answers
17k
views
Why doesn't an SSD improve the speed of running applications compared to a HDD?
In articles/forums about PC gaming I always see people saying how Solid State Drives only make games load faster at startup (of the application) than they would with a Hard Disk Drive, and that an SSD ...
1
vote
1
answer
1k
views
What does the content of the page table look like after a page has been swapped out to the disk?
From what I understand, the page table maps virtual addresses to physical addresses. But what if a page has been swapped out to the disk?
Wouldn't the location of the data take more bits to write ...
1
vote
2
answers
3k
views
The instruction at X referenced memory at Y. The memory could not be written
TFG (Total Files Gaurd) is a software that used in offices to protect client's data from thief by malware and users. It encrypt some types of files(Network's Admin selects which type he/she want to be ...
1
vote
1
answer
245
views
Processors and virtual/physical addresses
In nutshell, as I understand memory management, processor produces virtual addresses. These addresses are translated to corresponding physical addresses using per-process address table by MMU (with ...
2
votes
1
answer
2k
views
How to know the size of page frame used by my OS?
How to know the size of page frame used by my OS ?
This could be useful for some optimizations when I code. (Allocate big buffer that fit in a page frame for example).
Page frame is determined by ...
22
votes
4
answers
7k
views
Why does Linux use a swap partition when the kernel supports paging/virtual memory anyway?
As far as I understand paging and swapping, they're completely different concepts. While swapping means, that a process is either completely in physical memory or on the hard drive, with paging parts ...
4
votes
3
answers
6k
views
What is Paging in memory management?
I was just reading Operating System Principles by Silberschatz et al when I came across paging in memory management.I'm slightly confused about it.
It states that Physical Memory(I assume it's RAM) is ...