Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged memory-management
378
views
0
answers
0
votes
Andrew S. Tanenbaum (OS) Edition 4 Exercise 3 Question 6 (Page No. 254)
For each of the following decimal virtual addresses, compute the virtual page number and offset for a $4-KB$ page and for an $8 KB$ page$:20000, 32768, 60000.$
admin
378
views
admin
asked
Oct 26, 2019
Operating System
tanenbaum
operating-system
memory-management
virtual-memory
descriptive
+
–
516
views
1
answers
1
votes
Andrew S. Tanenbaum (OS) Edition 4 Exercise 3 Question 5 (Page No. 254)
What is the difference between a physical address and a virtual address?
admin
516
views
admin
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
memory-management
virtual-memory
descriptive
+
–
6.5k
views
2
answers
1
votes
Andrew S. Tanenbaum (OS) Edition 4 Exercise 3 Question 4 (Page No. 254)
Consider a swapping system in which memory consists of the following hole sizes in memory order: ... for first fit? Now repeat the question for best fit, worst fit, and next fit.
admin
6.5k
views
admin
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
memory-management
descriptive
+
–
1.4k
views
2
answers
0
votes
Andrew S. Tanenbaum (OS) Edition 4 Exercise 3 Question 3 (Page No. 254)
A swapping system eliminates holes by compaction. Assuming a random distribution of many holes and many data segments and a time to read or write a $32-bit$ ... is part of a hole and that the highest word in memory contains valid data.
admin
1.4k
views
admin
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
memory-management
descriptive
+
–
1.6k
views
1
answers
0
votes
Andrew S. Tanenbaum (OS) Edition 4 Exercise 3 Question 2 (Page No. 254)
In Fig. $3-3$ the base and limit registers contain the same value, $16,384$. Is this just an accident, or are they always the same? It is just an accident, why are they the same in this example?
admin
1.6k
views
admin
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
memory-management
descriptive
+
–
429
views
1
answers
0
votes
Andrew S. Tanenbaum (OS) Edition 4 Exercise 3 Question 1 (Page No. 254)
The $IBM\:360$ had a scheme of locking $2-KB$ blocks by assigning each one a $4-bit$ key and having the CPU compare the key on every memory reference to ... $PSW$. Name two drawbacks of this scheme not mentioned in the text.
admin
429
views
admin
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
memory-management
descriptive
+
–
562
views
0
answers
0
votes
Andrew S. Tanenbaum (OS) Edition 4 Exercise 1 Question 27 (Page No. 83)
Modern operating systems decouple a process address space from the machine’s physical memory. List two advantages of this design.
admin
562
views
admin
asked
Oct 23, 2019
Operating System
tanenbaum
operating-system
memory-management
descriptive
+
–
1.8k
views
3
answers
1
votes
Self Doubt:Paging
I have read that paging does not suffer from external fragmentation as the frames and the pages are all of the equal sizes, but when we store a last ... , right? So why is it said that paging does not have external fragmentation?
Hirak
1.8k
views
Hirak
asked
Jun 13, 2019
Operating System
memory-management
paging
operating-system
multilevel-paging
self-doubt
+
–
622
views
2
answers
1
votes
Mode of OS during page table access
What is the mode(User/Kernel) of the Operating System when a Page Table or TLB are being accessed?
!KARAN
622
views
!KARAN
asked
May 18, 2019
Operating System
memory-management
paging
operating-system
+
–
755
views
2
answers
0
votes
#arrays
i write this program, during initialization of array i given the size as 11 means the number of elements stored in an array is 11.as we know array is not assigned a value of index 12 and ... ; } for(i=0;i<20;i++) { printf("%d\n",a[i]); } }
shiva0
755
views
shiva0
asked
Apr 7, 2019
Programming in C
programming-in-c
programming
array
memory-management
+
–
720
views
1
answers
0
votes
#Dynamic memory allocation malloc
how to know how much size is allocated while dynamically allocating memory to the pointer variable with malloc.i just write the below code to know the size of ptr2 after dynamically ... of *ptr2 is == %d\n",(sizeof(ptr2)/sizeof(int))); } }
shiva0
720
views
shiva0
asked
Apr 6, 2019
Programming in C
programming-in-c
memory-management
+
–
810
views
0
answers
1
votes
Galvin Edition 9 Exercise 9 Question 38 (Page No. 456)
Consider a system that allocates pages of different sizes to its processes. What are the advantages of such a paging scheme ? What modifications to the virtual memory system provide this functionality ?
akash.dinkar12
810
views
akash.dinkar12
asked
Mar 22, 2019
Operating System
galvin
operating-system
memory-management
paging
+
–
747
views
0
answers
0
votes
Galvin Edition 9 Exercise 8 Question 32 (Page No. 393-394)
Consider the Intel address-translation scheme shown in Figure 8.22.a. Describe all the steps taken by the Intel Pentium in translating a logical address into a ... are they? If not, why is this scheme not used by every manufacturer ?
akash.dinkar12
747
views
akash.dinkar12
asked
Mar 21, 2019
Operating System
galvin
operating-system
memory-management
+
–
2.2k
views
1
answers
1
votes
Galvin Edition 9 Exercise 8 Question 31 (Page No. 393)
Compare the segmented paging scheme with the hashed page table scheme for handling large address spaces. Under what circumstances is one scheme preferable to the other ?
akash.dinkar12
2.2k
views
akash.dinkar12
asked
Mar 21, 2019
Operating System
galvin
operating-system
memory-management
descriptive
+
–
268
views
0
answers
0
votes
Galvin Edition 9 Exercise 8 Question 30 (Page No. 393)
Consider the hierarchical paging scheme used by the $VAX$ architecture. How many memory operations are performed when a user program executes a memory-load operation ?
akash.dinkar12
268
views
akash.dinkar12
asked
Mar 21, 2019
Operating System
galvin
operating-system
memory-management
+
–
411
views
1
answers
0
votes
Galvin Edition 9 Exercise 8 Question 29 (Page No. 393)
What is the purpose of paging the page tables ?
akash.dinkar12
411
views
akash.dinkar12
asked
Mar 21, 2019
Operating System
galvin
operating-system
memory-management
+
–
10.6k
views
1
answers
0
votes
Galvin Edition 9 Exercise 8 Question 28 (Page No. 393)
Consider the following segment table: $Segment$ $Base$ $Length$ ... addresses for the following logical addresses ?$a. 0,430$b. 1,10$c. 2,500$d. 3,400$e. 4,112$
akash.dinkar12
10.6k
views
akash.dinkar12
asked
Mar 21, 2019
Operating System
galvin
operating-system
memory-management
+
–
867
views
1
answers
1
votes
Galvin Edition 9 Exercise 8 Question 27 (Page No. 393)
Explain why sharing a reentrant module is easier when segmentation is used than when pure paging is used.
akash.dinkar12
867
views
akash.dinkar12
asked
Mar 21, 2019
Operating System
galvin
operating-system
memory-management
descriptive
+
–
285
views
0
answers
0
votes
Galvin Edition 9 Exercise 8 Question 26 (Page No. 393)
Why are segmentation and paging sometimes combined into one scheme ?
akash.dinkar12
285
views
akash.dinkar12
asked
Mar 21, 2019
Operating System
galvin
operating-system
memory-management
descriptive
+
–
742
views
1
answers
1
votes
Galvin Edition 9 Exercise 8 Question 25 (Page No. 393)
Consider a paging system with the page table stored in memory.a. If a memory reference takes 50 nanoseconds, how long does a paged memory reference take ?b. If we ... -table entry in the $TLBs$ takes 2 nanoseconds, if the entry is present.)
akash.dinkar12
742
views
akash.dinkar12
asked
Mar 21, 2019
Operating System
galvin
operating-system
memory-management
+
–
580
views
1
answers
1
votes
Galvin Edition 9 Exercise 8 Question 23 (Page No. 392)
Consider a logical address space of $256$ pages with a $4-KB$ page size, mapped onto a physical memory of $64$ frames.$a$. How many bits are required in the logical address ?$b$. How many bits are required in the physical address ?
akash.dinkar12
580
views
akash.dinkar12
asked
Mar 21, 2019
Operating System
galvin
operating-system
memory-management
+
–
303
views
0
answers
0
votes
Galvin Edition 9 Exercise 8 Question 22 (Page No. 392)
What is the maximum amount of physical memory ?
akash.dinkar12
303
views
akash.dinkar12
asked
Mar 21, 2019
Operating System
galvin
operating-system
memory-management
+
–
2.6k
views
1
answers
1
votes
Galvin Edition 9 Exercise 8 Question 21 (Page No. 392)
The BTV operating system has a $21-bit$ virtual address, yet on certain embedded devices, it has only a $16-bit$ physical address. It also has a $2-KB$ ... following ?$a$. A conventional, single-level page table$b$. An inverted page table
akash.dinkar12
2.6k
views
akash.dinkar12
asked
Mar 21, 2019
Operating System
galvin
operating-system
memory-management
+
–
3.1k
views
1
answers
1
votes
Galvin Edition 9 Exercise 8 Question 20 (Page No. 392)
Assuming a $1$ $KB$ page size, what are the page numbers and offsets for the following address references (provided as decimal numbers):$a. 3085$b. 42095$c. 215201$d. 650000$e. 2000001$
akash.dinkar12
3.1k
views
akash.dinkar12
asked
Mar 21, 2019
Operating System
galvin
operating-system
memory-management
+
–
395
views
0
answers
0
votes
Galvin Edition 9 Exercise 8 Question 19 (Page No. 392)
Program binaries in many systems are typically structured as follows. Code is stored starting with a small, fixed virtual address, such as $0$. The code segment ... ?$a$. Contiguous memory allocation$b$. Pure segmentation$c$. Pure paging
akash.dinkar12
395
views
akash.dinkar12
asked
Mar 21, 2019
Operating System
galvin
operating-system
memory-management
descriptive
+
–
274
views
0
answers
0
votes
Galvin Edition 9 Exercise 8 Question 18 (Page No. 392)
Explain why address space identifiers ($ASIDs$) are used.
akash.dinkar12
274
views
akash.dinkar12
asked
Mar 21, 2019
Operating System
galvin
operating-system
memory-management
descriptive
+
–
269
views
0
answers
0
votes
Galvin Edition 9 Exercise 8 Question 17 (Page No. 392)
Compare paging with segmentation with respect to how much memory the address translation structures require to convert virtual addresses to physical addresses.
akash.dinkar12
269
views
akash.dinkar12
asked
Mar 21, 2019
Operating System
galvin
operating-system
memory-management
descriptive
+
–
599
views
0
answers
1
votes
Galvin Edition 9 Exercise 8 Question 16 (Page No. 392)
Although Android does not support swapping on its boot disk, it is possible to set up a swap space using a separate SD nonvolatile memory card. Why would Android disallow swapping on its boot disk yet allow it on a secondary disk ?
akash.dinkar12
599
views
akash.dinkar12
asked
Mar 21, 2019
Operating System
galvin
operating-system
memory-management
descriptive
+
–
245
views
0
answers
0
votes
Galvin Edition 9 Exercise 8 Question 15 (Page No. 392)
Explain why mobile operating systems such as iOS and Android do not support swapping ?
akash.dinkar12
245
views
akash.dinkar12
asked
Mar 21, 2019
Operating System
galvin
operating-system
memory-management
descriptive
+
–
314
views
0
answers
0
votes
Galvin Edition 9 Exercise 8 Question 14 (Page No. 391)
On a system with paging, a process cannot access memory that it does not own. Why ? How could the operating system allow access to other memory ? Why should it or should it not ?
akash.dinkar12
314
views
akash.dinkar12
asked
Mar 21, 2019
Operating System
galvin
operating-system
memory-management
descriptive
+
–
Page:
« prev
1
2
3
4
5
6
7
8
9
10
11
12
...
16
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register