search
Log In

Recent questions tagged fragmentation

0 votes
0 answers
1
Contiguous allocation of files leads to disk fragmentation, as mentioned in the text, because some space in the last disk block will be wasted in files whose length is not an integral number of blocks. Is this internal fragmentation or external fragmentation? Make an analogy with something discussed in the previous chapter.
asked Oct 26, 2019 in Operating System Lakshman Patel RJIT 39 views
0 votes
0 answers
3
Most IP datagram reassembly algorithms have a timer to avoid having a lost fragment tie up reassembly buffers forever. Suppose that a datagram is fragmented into four fragments. The first three fragments arrive, but the last one is delayed. Eventually, the timer goes off ... in the receiver's memory are discarded. A little later, the last fragment stumbles in. What should be done with it?
asked Mar 18, 2019 in Computer Networks ajaysoni1924 46 views
0 votes
1 answer
5
Suppose that host A is connected to a router R1, R1 is connected to another router R2 and R2 is connected to host B. Suppose that a TCP message that contains 900 bytes of data and 20 bytes of TCP header is passed to the IP layer at host A for delivery to B. Assume that link ... 0;Offset=63 LENGTH=460; DF=0;MF=0;Offset=60. (Given ans is C can anyone help with this question whether ans is D or C? )
asked Jan 31, 2019 in Computer Networks newdreamz a1-z0 99 views
0 votes
1 answer
6
Fragmentation is only done at the DATA part of the IP layer and NOT the IP header right? in above, 1st should be 920 instead of 940 as 20B of IP header shall not be counted in fragmentation right? please help with a detailed solution.
asked Jan 8, 2019 in Computer Networks Markzuck 219 views
0 votes
0 answers
7
If a datagram of size 4000 bytes from transport layer arrives at network layer and it has to be forwarded through a link with maximum capacity of 800 bytes. Then calculate the number of fragments needed if the header size is 20 bytes. Also calculate the data size of the last fragment. 5 fragments ,100 bytes 5 fragments ,104 bytes 6 fragments ,100 bytes 6 fragments ,104 bytes
asked Jan 6, 2019 in Computer Networks newdreamz a1-z0 83 views
0 votes
0 answers
8
Suppose that host A is connected to a router R1, R1 is connected to another router, R2, and R2 is connected to host B. Suppose that a TCP message that contains 900 bytes of data and 20 bytes of TCP header is passed to the IP code at host A for delivery ... they have not added IP header length while transmitting the packet. even though its not mentioned in the question, it has to be there, right?
asked Dec 27, 2018 in Computer Networks aambazinga 92 views
0 votes
2 answers
9
0 votes
0 answers
10
Suppose a 1500 Byte datagram were to be sent over a link with MTU size of 296. We define IP control overhead as the ratio of control information you add in the form of IP header(s) to the IP payload length. What is the IP overhead of the ... . the 1500 Byte datagram? Express answer as a percentage. What is IP control overhead associated with all the fragments? Express overhead in percentage.
asked Nov 24, 2018 in Computer Networks John Doe 314 views
0 votes
1 answer
11
Consider $6$ memory partitions of sizes $200$ $\text{KB}$, $400$ $\text{KB}$, $600$ $\text{KB}$, $500$ $\text{KB}$, $300$ $\text{KB}$and $250$ $\text{KB}$, where $\text{KB}$refers to $\text{kilobyte}$. These partitions need to ... can only be calculated when we have the information about free memory slots and the process size whose size must be greater than Max free slot size. Someone verify it.
asked Oct 31, 2018 in Operating System Shubhanshu 805 views
0 votes
2 answers
12
Consider a TCP message that contains 1024 bytes of data and 20 bytes of TCP header is passed to IP for delivery across two networks interconnected by a router (i.e., it travels from the source host to a router to the destination host). The first network has an MTU ... to the IP layer at the destination for TCP message, in the best case is _________ bytes. (Assume all IP headers are 20 bytes)
asked Oct 11, 2018 in Computer Networks Shivangi Parashar 2 494 views
0 votes
0 answers
13
0 votes
2 answers
14
0 votes
1 answer
15
Which of the following statements are true? External Fragmentation exists when there is enough total memory space to satisfy a request but the available space is contiguous. Memory Fragmentation can be internal as well as external One solution to external Fragmentation is compaction a and b only a and c only b and c only a, b and c
asked Jul 13, 2018 in Operating System Pooja Khatri 728 views
2 votes
1 answer
16
A router with MTU of $1024\text{ bytes}$ has received an IP packet of size $4240 \text{ bytes}$ with an IP header of $20\text{ bytes}$. The value of MF and offset of the $3^{rd}$ fragment is $MF =0$ $OFFSET =125$ $MF =1$ $OFFSET =125$ $MF =1$ $OFFSET =250$ $MF =1$ $OFFSET =375$
asked Mar 4, 2018 in Computer Networks shivanisrivarshini 280 views
25 votes
6 answers
17
Consider an IP packet with a length of $4,500$ $bytes$ that includes a $20-byte$ IPv4 header ans $40-byte$ TCP header. The packet is forwarded to an IPv4 router that supports a Maximum Transmission Unit (MTU) of $600$ $bytes$. Assume that the ... Assume that the fragmentation offset value stored in the first fragment is $0$. The fragmentation offset value stored in the third fragment is _____.
asked Feb 14, 2018 in Computer Networks gatecse 6.5k views
0 votes
0 answers
18
I'm getting 90 ...Can someone check it .. thanks
asked Jan 31, 2018 in Computer Networks Pawan Kumar 2 109 views
0 votes
0 answers
19
2 votes
1 answer
20
Consider Host A sends a UDP datagram containing 1100 bytes of user data to host B over an ethernet LAN. Maximum transmission unit (MTU) of the network is 206 bytes (including the network layer overhead). Size of UDP header is 10 bytes and size of IP header is 20 bytes. There ... of 4th fragment will be 69. S3 : The MF flag of 6th fragment is set i.e. 1. Which of the following options is correct?
asked Jan 17, 2018 in Computer Networks sunita24 247 views
1 vote
2 answers
22
True/False Paging suffers from internal fragmentation?
asked Dec 31, 2017 in Operating System srestha 248 views
3 votes
1 answer
23
An IPV4 datagram is received by a router, in which total length is 1500, HLEN value is 10 and offset value is 100.The MTU of the forwarding link is 200. What is the offset value of last fragment?
asked Dec 30, 2017 in Computer Networks AnilGoudar 256 views
1 vote
0 answers
24
There are 5 processes having an average size of 100k. Average size of hole is 60k. Percentage of memory wasted in holes? 76 37 23 None
asked Dec 19, 2017 in Operating System amIndian 413 views
3 votes
2 answers
25
A TCP message consisting of 2800 bytes is passed to IP for delivery across two networks. The first network can carry a maximum payload of 1500 bytes per frame and the second network can carry a maximum payload of 500 bytes per frame, excluding network overhead. Assume ... total IP overhead in the second network for this transmission? Doubt:- Answer is given as 120 Bytes but I am getting 140 Bytes
asked Oct 29, 2017 in Computer Networks akb1115 532 views
1 vote
1 answer
26
When calculating fragmentation offset, we try to make the size of frame multiple of 8. Can someone tell me when to remove bits and make it multiple of 8 and when to pad bits and make it multiple of 8? By default, do we try to remove bits first or pad bits first ?
asked Oct 20, 2017 in Computer Networks Rajesh R 193 views
0 votes
1 answer
27
If holes are half as large as processes, the fraction of memory wasted in holes is 1/5 or 1/3
asked Sep 26, 2017 in Operating System rishu_darkshadow 785 views
0 votes
1 answer
28
Assume N segments in memory and a page size of P bytes. The wastage on account of internal fragmentation is:
asked Sep 26, 2017 in Operating System rishu_darkshadow 276 views
8 votes
1 answer
29
5 votes
1 answer
30
Which of the following statements is/ are true about the fragmentation which is done at network layer. (I) The offset of 1st fragment is always offset of parent. (II) The MF of last fragment is always same MF of parent. I think I is true and II is false: Explanation for II :- Host A connected to R1 ... ,80> MF = 1 packet 1.3 <20,40> MF = 0 packet 1.3's MF != MF of packet 1 In A-R1. is it correct.
asked Aug 22, 2017 in Computer Networks Shubhanshu 786 views
...