479 views

2 Answers

0 votes
0 votes
in case of static linking we will load everything at one time and there will be no dependency at run time and all required library are there in Main memory but in case of dynamic linking everytime we need to refer library it will load and run time which creates page fault.So Dynamic linking will have more page faults.
0 votes
0 votes
Because in dynamically linked libraries, libraries are'nt moved to memory with the program, when a program needs a dll, it search in the memory for already present dll, but if it didn't find the required dll in memory, then page fault happens and it is imported.

With static linked libraries, a copy of library is linked with program at compile time and is therefore imported to memory with the program.

Related questions

0 votes
0 votes
0 answers
1
SSR17 asked Feb 8
206 views
we have 8 pages (each side 32B) to store in physical memory of 2^32 bits how many bits are required to identify each page , according to me 3 bits are required but that i...
0 votes
0 votes
2 answers
4
Unique_999 asked Aug 17, 2023
319 views
Can Any explain the relationship between The “ Word Size “ and “ Logical Address Space “