Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Discuss the advantages and disadvantages of pollingand daisy chaining bus arbitration schemes.OR Explain daisy changing method. Write its advantages and disadvantages.

Daisy Chaining:

Imagine you have a group of friends all waiting for their turn to use a single computer. In daisy chaining, all your friends stand in a line, and when someone wants to use the computer, they raise their hand (bus request). The request travels down the line until it reaches the friend closest to the computer (the first one in the chain) who isn’t busy. That friend then gets to use the computer while activating a “busy” sign to block others in the chain from getting their turn.

Advantages:

  1. It’s simple and doesn’t require many extra lines or signals.
  2. It’s cost-effective because you only need one line for requests, regardless of how many friends (or “masters”) there are.

Disadvantages:

  1. If there are a lot of friends in line, it can take a while for the request to reach the right one, making the process slow.
  2. The order of who gets priority is fixed by where each friend stands in the line, which might not be ideal.
  3. If one friend (master) has a problem, it can disrupt the whole system.

Polling Bus Arbitration:

Now, let’s say instead of a line, your friends use a different method. They each have a button to press to request computer time. Then there’s a controller who checks each button one by one in a specific order, giving access to the friend whose button was pressed first.

Advantages:

  1. If one friend has a problem or doesn’t want to use the computer anymore, it doesn’t affect the others.
  2. You can change the order of who gets priority by reprogramming the controller, giving more flexibility.

Disadvantages:

  1. It requires more buttons and signals, which can make the system more complex.
  2. The process of checking each button (or “polling”) can take up a lot of time and resources, like CPU power, especially if there are many friends wanting to use the computer.

Leave a Comment