Skip to main content

Permutation: Computer-Oriented


Suppose we have two Jobs A and B. A and B carry data of size 1 Kilo Byte each. Data carried by Jobs A and B has to be processed. 

Let us further suppose that there are two slots ( Slot I and Slot II ) available. The important condition is that processing of Jobs A and B can occur, only if they appear in Slot I. When these jobs appear in Slot II, they are not processed. 

____________

Case I:

____________

The permutations of Jobs A and B are as:


_________________

            Slot I        Slot II

Perm I         A         B


Perm II        B           A              

________________

//Permutation- A Great Fun//

//Titbits Under the Sun//

____________________

Clearly job A would be in Slot I for once.  Job B too would be in Slot I for once.

Let us suppose the  data processing speed of our imaginary Processor is 1 Kilo Byte ( 1 KB ) per second ( 1 KB/s ). Job A whose size is 1 KB would be completely processed in 1 second. Equally sized Job B ( of 1 KB ) would also be finished in 1 second. Slot I is occupied once each by Job A and Job B in the twin possible permutations of A and B. Total time dedicated to Slot I by the Processor is 2 seconds. 

_______________

Case II:

_______________



Now, Jobs A, B, and C are with us. Job C is new.  So, the three Jobs produce permutations. There is a restriction.  Now, we would consider only two jobs at a time.The following permutations are possible:

______________________________

Slot I                           Slot II

____________________________

Job                              Job

____________________________

A                                      B

A                                      C

B                                       A

B                                       C

C                                       A :Ignore

C                                     B :Ignore

____________________


_______________________

//Permutations Tutored to Permit//

//The Crispy Cakewalk- Boys Admit//

_______________________

The permutations show that Slot I is occupied by Job C in the last two rows. Job C is not under consideration. So, the last two rows are ignored.

In the new permutations, we see that Job A appears twice in Slot I. Job B too appears twice in Slot I. As mentioned before, we are interested in Job A and Job B. From the start, we have considered only these two ( A and B ).

The same imaginary Processor having a data processing speed of 1 Kilo Byte per second is used. The same number of Bytes- 1 Kilo Byte each-  is associated with Job A and Job B.

Number appearances of Job A and Job B, in Slot I, is two for both ( Look at the given Permutations of Job A, Job B, and Job C listed above ).  So, the size of data brought by Job A in Slot I is ( 1 KB + 1 KB  = ) 2 KB. Similarly, the size of data that is handed over to the Processor by Job B is ( 1 KB + 1 KB = ) 2 KB. Total data to be processed is:

 Job A ------> 1 KB + 1 KB = 2 KB


Job B ------->  1 KB + 1 KB = 2 KB

______________________________

Total Size of Data         = 4 KB   

_______________________________

The data processing speed of the Processor is  1 KB/second . Requirement of time is 4 seconds to process the data carried by Job A and Job B in Slot I. 




__________________________

Observation: 

Permutations of two unique objects ( Job A and Job B ) puts each of them in the high priority slot ( Slot I ) only once. 

So, Requirement of Processor Time = 2 Seconds

***************

Permutations of three unique objects ( Job A, Job B, Job C ) puts Job A and Job B twice in the high priority slot ( Slot I ). 

So, Requirement of Processor Time = 4 Seconds 

____________________________

********

********

Conclusion: Requirement of Processor's time may depend on permutations of tasks.

*********

*********

____________________________

_____________________________







Comments

Popular posts from this blog

Interface Message Processor ( IMP )

Interface Message Processor ( IMP ) is a special purpose Computer. The Processor plays a vital role in Host-to-Host communication. IMP is placed between Host Computers.  IMP helps Hosts to exchange information. IMPs ( Interface Message Processors ) form a group. The group dedicates itself towards reliable transmission of Packets. _________________________ Note: An Interface Message Processor can be supposed to have a face. Firstly this supposed face of IMP is in the direction of the first Host, which sends the  message. Secondly, this face is turned towards the other Host.  Now, the IMP,  with its face turned around, communicates with this other Host.  Transformed message from IMP is communicated to this Host. __________________________ Message ( a piece of information ) sent from the Host ( source of information  ) is transformed into Packets. Transformation of the message into Packets is performed by an IMP. These Packets are forwarded to the receiver H...

Understanding Distribution

Distributed presence means that more than one object is there. Also, these objects are situated at more than one location.  One object may establish communication with another object. The first object may deliver some message. The message can be received by another object. It can be said that object distribution is successful, as one object has succeeded in delivering a message. The second object has successfully received the message. Two objects are at a distance. Communication brings them closer. The successful communication has served to highlight that the idea of distribution is meaningful. Distribution helps exchange of information. Many different objects can form a group.  Two groups can occupy different locations.  It may happen that at a particular location there are several objects. But, all these objects talk among themselves.They talk among themselves and make things happen.  There is a resultant of this talk process. All the communicating objects  at...

Message Switching

Message is a piece of information. Switching means movement.  In a Network there are a number of nodes. Nodes are vital junctions of a Network. Message Switching means transmission from one node ( one point ) of a Network to another node ( another point ). So, transmission is from point to point. Transmission from one point to another point is a single hop ( jump ). Message Switching means switch over of a Message. In one step of Message Switching,  Message switches over from one node to another.  The two nodes involved in a Switching operation are on the same Network. It cannot be that the beginning node ( source node) is on one Network and the second node ( sink node ) is on a different Network. In a point to point ( one junction to another junction ) transmission, a Message travels a part of its journey. Message moves from previous point to next point. The Network is Point-to-Point Network. A Switching activity means movement of a message. Indeed, the Message has mov...