- The
above types of the sliding window protocols don’t talk about reordering
the packets after receiving them all. This will ensure that they don’t
appear in wrong order. If the long distance can be bounded, the protocols
can be extended to support this feature. The maximum mis- ordering
distance can be used to expand the sequence number modulus N.
- Not
acknowledging every packet is also possible after the sending an ACK up on
not receiving packets. For example, every 2nd packet is
acknowledged in TCP.
- Informing
the transmitter immediately about the presence of gap in the packet
sequence is quite common and so HDLC uses a packet called REJ packet for
this purpose.
- During
the communication, the window sizes may change if their sum remains in the
limit defined by N. usually the transmit window size is reduced for
slowing down the transmission in order to keep with the speed of the links
and preventing congestion or saturation.
Saturday, July 13, 2013
Sliding Window Protocols? - Part 3
Posted by
Sunflower
at
7/13/2013 02:00:00 PM
0
comments
Labels: Acknowledge, Communication, Control, Data, Detection, Errors, Operate, Operation, Packets, Process, Protocols, Receiver, Sender, Sliding Window Protocol, transmission, Transmit, Types, Variable, Window
|
| Subscribe by Email |
|
Sliding Window Protocols? - Part 2
Posted by
Sunflower
at
7/13/2013 01:30:00 AM
0
comments
Labels: Acknowledge, Communication, Control, Data, Detection, Errors, Operate, Operation, Packets, Process, Protocols, Receiver, Sender, Sliding Window Protocol, transmission, Transmit, Variable, Window
|
| Subscribe by Email |
|
Friday, August 24, 2012
How do you invoke an application using TSL?
Posted by
Sunflower
at
8/24/2012 01:15:00 PM
0
comments
Labels: Application, Automated, Automated Testing Tool, Functions, Invoke, Language, Message, Properties, Results, Run, Statements, String, Test Scripts, Testing, Tests, Tools, User, Variable, WinRunner
|
| Subscribe by Email |
|
Friday, November 4, 2011
What is Earned Value Analysis (EVA) in Project Scheduling?
Earned Value Analysis(EVA) provides a quantitative indication of progress. The project manager uses this method to track the project. Proponents of the earned value system claim that it works for every software project irrespective of the kind of work. As a part of this, there is an initial estimation of the total number of hours of doing this project, with every task being given an earned value which is based on its estimated percentage of the total effort. In simpler terms, a project manager will be able to determine, through a quantitative analysis, how much of the project is actually complete.
As a part of this process, the following steps are needed to be done:
- The BCWS (Budgeted Cost of Work Schedule) is evaluated for each task that is included in the project. This estimation is done in terms of person-hours or person-days(if the effort is much more than a few hours). So, for a given work task its BCWS is the effort.
- All the BCWS that are calculated for all the tasks are summed up to get a value called BAC(Budgeted Completion).
- The next variable BCWP(Budgeted Cost of Work Performed) is calculated. The method to calculate BCWP is by taking BCWS value for all the tasks that have been completed(at any point in the schedule).
In simple terms, the difference between BCWS and the BCWP is that BCWS is the estimate for all task that was supposed to be done, while BCWP is the summary of all the activities that were completed.
EVA compares the planned amount of work with what has actually been completed, to determine if cost, schedule, and work accomplished are progressing as planned. Work is earned or credited as it is completed.
Earned Value Analysis
- compares like terms and is quick to apply in practice.
- requires the ongoing measurement of the actual work done.
- tasks that have not been started or that have been completed are relatively easy to quantify in terms of earned value.
Posted by
Sunflower
at
11/04/2011 11:02:00 AM
1 comments
Labels: activities, BAC, BCWP, BCWS, Complete, Cost, Earned value Evaluation, Effort, Estimation, Evaluate, Progress, Project scheduling, Schedule, Tracking, Values, Variable
|
| Subscribe by Email |
|
Friday, January 8, 2010
Semaphores
Semaphores can best be described as counters used to control access to shared resources by multiple processes. They are most often used as a locking mechanism to prevent processes from accessing a particular resource while another process is performing operations on it.
A semaphore is a protected variable or abstract data type which constitutes the classic method for restricting access to shared resources such as shared memory in a parallel programming environment. A counting semaphore is a counter for a set of available resources, rather than a locked/unlocked flag of a single resource.
A semaphore S is an integer variable that, apart from initialization, is accessed only through two standard atomic operations : wait and signal. These operations were originally termed P(for wait) and V(for signal). The classical definitions of wait and signal are :
wait(S) : while S<=0 do no-op;
S=S-1;
signal(S) : S:= S+1;
Modifications to the integer value of the semaphore in the wait and signal operations must be executed indivisibly.
- Semaphores can be used to deal with the n-process critical- section problem.
- Semaphores can be used to solve various synchronization problems.
A mutex is a binary semaphore (a semaphore with capacity of 1), usually including extra features like ownership, priority inversion protection or recursivity. The differences between mutexes and semaphores are operating system dependent, though mutexes are implemented by specialized and faster routines. Mutexes are meant to be used for mutual exclusion (post/release operation is restricted to thread which called pend/acquire) only and binary semaphores are meant to be used for event notification (post-ability from any thread) and mutual exclusion.
Posted by
Sunflower
at
1/08/2010 11:21:00 PM
0
comments
Labels: Binary Semaphore, Integer, Mutex, Operating Systems, Semaphores, Variable
|
| Subscribe by Email |
|