Question

In: Computer Science

Due to some bug in cache control module of ARP package, it increments the time out...

Due to some bug in cache control module of ARP package, it increments the time out value instead of decrementing it. How does it affect the performance of the cache tablein following scenarios?a.Number of different destination IP addresses are less than size of cache tableb.Number of different destination IP addresses aresignificantly larger than size of cache table.

Solutions

Expert Solution

Cache Control Module: Basically it checks the cache table for every 5 seconds.If the state field of the entry is free,it chekcs another entry.

a) If the state field of the entry is pending, the cache control will be increased the value of attempt field by 1, It then checks the value of the attempt field. If the value of the attempt field is greater than the maximum limit which is allowed, it updates the state field to free and destroys the corresponding queue.

Packet forwarding is done when uIP receives a packet that has a destination IP address that does not match any of the IP addresses of the node. A node typically has multiple addresses: one or more unicast addresses and at least one broadcast or multicast address. Packets that do not match the addresses should be forwarded to a neighboring node, either because the address matches that of the neighbor or because the neighbor has a route to the destination address.

Packet forwarding occurs only when uIP has been configured to be a router. The packet forwarding mechanism is then invoked as part of the output processing.

The packet forwarding mechanism is modular and does not specify any particular routing mechanism to be used. Rather, a routing mechanism will register itself with the forwarding module upon startup. For every packet, the forwarding mechanism asks the routing module to look up the destination IP address and return the address to the next-hop neighbor. The routing module may implement this any way it wants by using a table of destination addresses, a table of network prefixes, a hash table of addresses, a cache of the recently used routes, or any other way it finds suitable. The routing protocol may perform a route discovery for each address not found in its cache.

So below picture is the Address resolution protocol of my PC. It shows the Internet Address, Physical address which is Mac address and its type. i have printed the ARP table below.


Related Solutions

In this module, it is demonstrated that some times extensive diseconomies of scale, say, due to...
In this module, it is demonstrated that some times extensive diseconomies of scale, say, due to high transportation costs, would require that the firm produce its product in a multiple of plants. Suppose a beer brewing company has determined that its monthly total production cost is: TC = 100 Q - 1.2 Q2 + 0 .004Q3  where Q is its monthly output measured in kegs. A.) The average hauling (freight) cost is $0.8Q; that is: AHC = 0.8Q. Write the firm's...
MSI is considering outsourcing the production of the handheld control module used with some of its...
MSI is considering outsourcing the production of the handheld control module used with some of its products. The company has received a bid from Monte Legend Co. (MLC) to produce 15,000 units of the module per year for $32.00 each. The following information pertains to MSI’s production of the control modules: Direct materials $ 15 Direct labor 10 Variable manufacturing overhead 6 Fixed manufacturing overhead 3 Total cost per unit $ 34 MSI has determined that it could eliminate all...
MSI is considering outsourcing the production of the handheld control module used with some of its...
MSI is considering outsourcing the production of the handheld control module used with some of its products. The company has received a bid from Monte Legend Co. (MLC) to produce 25,000 units of the module per year for $22.00 each. The following information pertains to MSI’s production of the control modules: Direct materials $ 13 Direct labor 6 Variable manufacturing overhead 2 Fixed manufacturing overhead 8 Total cost per unit $ 29 MSI has determined that it could eliminate all...
MSI is considering outsourcing the production of the handheld control module used with some of its...
MSI is considering outsourcing the production of the handheld control module used with some of its products. The company has received a bid from Monte Legend Co. (MLC) to produce 16,000 units of the module per year for $36.00 each. The following information pertains to MSI’s production of the control modules: Direct materials $ 19 Direct labor 9 Variable manufacturing overhead 7 Fixed manufacturing overhead 2 Total cost per unit $ 37 MSI has determined that it could eliminate all...
Some time ago the swine flu bug swept across the U.S. Suppose now that a new...
Some time ago the swine flu bug swept across the U.S. Suppose now that a new flu bug (the “feline” flu) is threatening the health of U.S. residents. Assume that you work for the Harvard School of Public Health, and that you need to quickly determine how the American public is responding to the current feline flu issue. The objective is to find out how people’s behavior might have recently changed because of their concerns about contracting the flu. For...
1) We came out of the 2001 recession some time back (quite some times back). What...
1) We came out of the 2001 recession some time back (quite some times back). What kind of policies were adopted to help get us out of that recession? Do these sound like Keynesian policies or Classical ones? Why? How would the policies by the other school of thought look different? What about the policies adopted to get us out of the 2008 recession? What kind of policies were these?
Tracey Incorporated has been experiencing difficulty for some time due to erratic sales of its only...
Tracey Incorporated has been experiencing difficulty for some time due to erratic sales of its only product. The company’s contribution format income statement for the most recent month is given below: Total Per Unit Percent of Sales Sales (19,500 units) $585,000 Variable expenses 409,500 Contribution margin 175,500 Fixed expenses 180,000 Net operating loss ($4,500) Complete the table above with the per unit information and the percent of sales information. The president believes that a $16,000 increase in the monthly advertising...
Tracey Incorporated has been experiencing difficulty for some time due to erratic sales of its only...
Tracey Incorporated has been experiencing difficulty for some time due to erratic sales of its only product. The company’s contribution format income statement for the most recent month is given below: Total Per Unit Percent of Sales Sales (19,500 units) $585,000 Variable expenses 409,500 Contribution margin 175,500 Fixed expenses 180,000 Net operating loss ($4,500) Complete the table above with the per unit information and the percent of sales information. The president believes that a $16,000 increase in the monthly advertising...
In this module, it is demonstrated that some times extensive diseconomies of scale, say, due to high transportation costs, would require that the firm produce its product in a multiple of plants.
In this module, it is demonstrated that some times extensive diseconomies of scale, say, due to high transportation costs, would require that the firm produce its product in a multiple of plants. Suppose a beer brewing company has determined that its monthlytotal production cost is: TC = 100 Q - 1.2 Q2+ 0 .004Q3  whereQ is its monthly output measured in kegs.A. The average hauling (freight) cost is $0.8Q;that is: AHC = 0.8Q. Write the firm'saverage aggregated cost equation.B. Now suppose...
Self-check-in and self-check-out saves guests time and can be very appealing to them, however, some hotels...
Self-check-in and self-check-out saves guests time and can be very appealing to them, however, some hotels believe that guests prefer to interact with hotel staff during their registration and departure. Discuss your position on this matter and how your perspective may change depending on the type of hotel or type of guest involved.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT