Discussion:
Teardown Request
(too old to reply)
Tom
2010-04-03 20:57:01 UTC
Permalink
In the phone call description it has a teardown event going into the
event set (2a) and when it is eventually handled (10) it does not
mention a teardown request queuing at the CPU. However, number 2 in the
system parameters section asks for the mean and stddev of the CPU
servicing an arrival teardown request. When is that supposed to happen?
Tom Gault
2010-04-03 21:56:46 UTC
Permalink
I just noticed there's more than one Tom in our class. I'm the one who
always adds the redundant signature, "From Tom".

From Tom G
In the phone call description it has a teardown event going into the event
set (2a) and when it is eventually handled (10) it does not mention a
teardown request queuing at the CPU. However, number 2 in the system
parameters section asks for the mean and stddev of the CPU servicing an
arrival teardown request. When is that supposed to happen?
William Cowan
2010-04-03 22:05:21 UTC
Permalink
Post by Tom
In the phone call description it has a teardown event going into the
event set (2a) and when it is eventually handled (10) it does not
mention a teardown request queuing at the CPU. However, number 2 in the
system parameters section asks for the mean and stddev of the CPU
servicing an arrival teardown request. When is that supposed to happen?
The teardown request takes some time to execute, so it has service parameters. It
should set a departure event for the end of the time it occupies the CPU so that the
next request will be unqueued and serviced.

Bill
Tom
2010-04-03 22:42:45 UTC
Permalink
Post by William Cowan
Post by Tom
In the phone call description it has a teardown event going into the
event set (2a) and when it is eventually handled (10) it does not
mention a teardown request queuing at the CPU. However, number 2 in the
system parameters section asks for the mean and stddev of the CPU
servicing an arrival teardown request. When is that supposed to happen?
The teardown request takes some time to execute, so it has service parameters. It
should set a departure event for the end of the time it occupies the CPU so that the
next request will be unqueued and serviced.
Bill
So instead of being handled directly when the arrival event of a
teardown request occurs, the request should be enqueued at the CPU, and
then a departure event will be created with the teardown request once
that is finished from the CPU, and that is where the teardown is
actually handled.

I do not see any of this documented in the implementation section of the
assignment.
Stephen Lewchuk
2010-04-03 23:22:11 UTC
Permalink
Post by Tom
Post by William Cowan
Post by Tom
In the phone call description it has a teardown event going into the
event set (2a) and when it is eventually handled (10) it does not
mention a teardown request queuing at the CPU. However, number 2 in
the system parameters section asks for the mean and stddev of the CPU
servicing an arrival teardown request. When is that supposed to happen?
The teardown request takes some time to execute, so it has service parameters. It
should set a departure event for the end of the time it occupies the CPU so that the
next request will be unqueued and serviced.
Bill
So instead of being handled directly when the arrival event of a
teardown request occurs, the request should be enqueued at the CPU, and
then a departure event will be created with the teardown request once
that is finished from the CPU, and that is where the teardown is
actually handled.
I do not see any of this documented in the implementation section of the
assignment.
This is what Cowan told us and that is what he meant.

Stephen
Tom Gault
2010-04-04 04:35:22 UTC
Permalink
Easy now, don't be rude. I agree with Tom J, it's still not totally clear.

II.C.1.10.a says,

"When the (Arrival, teardown, 2.a) event eventually occurs: all requests
being serviced, all requests that are queued, and all pending events that
are part of the call are removed from the system."

This suggests that special code is going through servers and queues like an
angel of death, wiping out selected requests. Professor Cowan's post and
the existance of the CPU parameters suggests that a call or an app is
stopped by instructing the CPU to do something, but what? Does the CPU kill
the requests in all of the queues and servers? Does it do it when the event
happens or when the request is dequeued? Does it just stop forwarding that
call/app on the next cycle?

From Tom G
Post by Stephen Lewchuk
Post by William Cowan
Post by Tom
In the phone call description it has a teardown event going into the
event set (2a) and when it is eventually handled (10) it does not
mention a teardown request queuing at the CPU. However, number 2 in the
system parameters section asks for the mean and stddev of the CPU
servicing an arrival teardown request. When is that supposed to happen?
The teardown request takes some time to execute, so it has service parameters. It
should set a departure event for the end of the time it occupies the CPU so that the
next request will be unqueued and serviced.
Bill
So instead of being handled directly when the arrival event of a teardown
request occurs, the request should be enqueued at the CPU, and then a
departure event will be created with the teardown request once that is
finished from the CPU, and that is where the teardown is actually
handled.
I do not see any of this documented in the implementation section of the
assignment.
This is what Cowan told us and that is what he meant.
Stephen
Stephen Lewchuk
2010-04-04 14:30:00 UTC
Permalink
Post by Tom Gault
Easy now, don't be rude. I agree with Tom J, it's still not totally clear.
II.C.1.10.a says,
"When the (Arrival, teardown, 2.a) event eventually occurs: all requests
being serviced, all requests that are queued, and all pending events that
are part of the call are removed from the system."
This suggests that special code is going through servers and queues like an
angel of death, wiping out selected requests. Professor Cowan's post and
the existance of the CPU parameters suggests that a call or an app is
stopped by instructing the CPU to do something, but what? Does the CPU kill
the requests in all of the queues and servers? Does it do it when the event
happens or when the request is dequeued? Does it just stop forwarding that
call/app on the next cycle?
From Tom G
Post by Stephen Lewchuk
Post by William Cowan
Post by Tom
In the phone call description it has a teardown event going into the
event set (2a) and when it is eventually handled (10) it does not
mention a teardown request queuing at the CPU. However, number 2 in the
system parameters section asks for the mean and stddev of the CPU
servicing an arrival teardown request. When is that supposed to happen?
The teardown request takes some time to execute, so it has service parameters. It
should set a departure event for the end of the time it occupies the CPU so that the
next request will be unqueued and serviced.
Bill
So instead of being handled directly when the arrival event of a teardown
request occurs, the request should be enqueued at the CPU, and then a
departure event will be created with the teardown request once that is
finished from the CPU, and that is where the teardown is actually
handled.
I do not see any of this documented in the implementation section of the
assignment.
This is what Cowan told us and that is what he meant.
Stephen
Sorry if I came off as rude. I went and talked to him in person and was
trying to confirm that your interpretation is correct, teardown events
enqueue teardown requests which once serviced actually remove all the
other events from servers.

Stephen
Tom Gault
2010-04-04 15:08:04 UTC
Permalink
Cool, okay thanks.

From Tom G
Post by Stephen Lewchuk
Post by Tom Gault
Easy now, don't be rude. I agree with Tom J, it's still not totally clear.
II.C.1.10.a says,
"When the (Arrival, teardown, 2.a) event eventually occurs: all requests
being serviced, all requests that are queued, and all pending events that
are part of the call are removed from the system."
This suggests that special code is going through servers and queues like
an angel of death, wiping out selected requests. Professor Cowan's post
and the existance of the CPU parameters suggests that a call or an app is
stopped by instructing the CPU to do something, but what? Does the CPU
kill the requests in all of the queues and servers? Does it do it when
the event happens or when the request is dequeued? Does it just stop
forwarding that call/app on the next cycle?
From Tom G
Post by Stephen Lewchuk
Post by Tom
Post by William Cowan
Post by Tom
In the phone call description it has a teardown event going into the
event set (2a) and when it is eventually handled (10) it does not
mention a teardown request queuing at the CPU. However, number 2 in
the system parameters section asks for the mean and stddev of the CPU
servicing an arrival teardown request. When is that supposed to happen?
The teardown request takes some time to execute, so it has service parameters. It
should set a departure event for the end of the time it occupies the
CPU so that the
next request will be unqueued and serviced.
Bill
So instead of being handled directly when the arrival event of a
teardown request occurs, the request should be enqueued at the CPU, and
then a departure event will be created with the teardown request once
that is finished from the CPU, and that is where the teardown is
actually handled.
I do not see any of this documented in the implementation section of
the assignment.
This is what Cowan told us and that is what he meant.
Stephen
Sorry if I came off as rude. I went and talked to him in person and was
trying to confirm that your interpretation is correct, teardown events
enqueue teardown requests which once serviced actually remove all the
other events from servers.
Stephen
Tom Gault
2010-04-04 16:35:14 UTC
Permalink
Now that I'm actually at this part of the assignment, am I right in saying
that II.C.1 should be changed from


10. When the (Arrival, teardown, 2.a) event eventually occurs
a. all requests being serviced, all requests that are queued, and all
pending events that are part of the call are removed from the
system, and
b. the ghost puts an Arrival event containing a connexion request
into the event set.


to


10. When the (Arrival, teardown, 2.a) event eventually occurs
a. the teardown request is enqueued at the CPU, and
b. the ghost puts an Arrival event containing a connexion request
into the event set.

11. When the teardown request (10.a) is dequeued,
a. a Departure event containing the teardown request is put into the
event-set

12. When the (Departure, teardown, 11.a) event occurs,
a. all requests being serviced, all requests that are queued, and all
pending events that are part of the call are removed from the
system


and the same with the application use case?

From Tom G
Post by Tom Gault
Cool, okay thanks.
From Tom G
Post by Stephen Lewchuk
Post by Tom Gault
Easy now, don't be rude. I agree with Tom J, it's still not totally clear.
II.C.1.10.a says,
"When the (Arrival, teardown, 2.a) event eventually occurs: all requests
being serviced, all requests that are queued, and all pending events
that are part of the call are removed from the system."
This suggests that special code is going through servers and queues like
an angel of death, wiping out selected requests. Professor Cowan's post
and the existance of the CPU parameters suggests that a call or an app
is stopped by instructing the CPU to do something, but what? Does the
CPU kill the requests in all of the queues and servers? Does it do it
when the event happens or when the request is dequeued? Does it just
stop forwarding that call/app on the next cycle?
From Tom G
Post by Stephen Lewchuk
Post by Tom
Post by William Cowan
Post by Tom
In the phone call description it has a teardown event going into the
event set (2a) and when it is eventually handled (10) it does not
mention a teardown request queuing at the CPU. However, number 2 in
the system parameters section asks for the mean and stddev of the
CPU servicing an arrival teardown request. When is that supposed to
happen?
The teardown request takes some time to execute, so it has service parameters. It
should set a departure event for the end of the time it occupies the
CPU so that the
next request will be unqueued and serviced.
Bill
So instead of being handled directly when the arrival event of a
teardown request occurs, the request should be enqueued at the CPU,
and then a departure event will be created with the teardown request
once that is finished from the CPU, and that is where the teardown is
actually handled.
I do not see any of this documented in the implementation section of
the assignment.
This is what Cowan told us and that is what he meant.
Stephen
Sorry if I came off as rude. I went and talked to him in person and was
trying to confirm that your interpretation is correct, teardown events
enqueue teardown requests which once serviced actually remove all the
other events from servers.
Stephen
William Cowan
2010-04-04 22:10:43 UTC
Permalink
Post by Tom
Post by William Cowan
Post by Tom
In the phone call description it has a teardown event going into the
event set (2a) and when it is eventually handled (10) it does not
mention a teardown request queuing at the CPU. However, number 2 in the
system parameters section asks for the mean and stddev of the CPU
servicing an arrival teardown request. When is that supposed to happen?
The teardown request takes some time to execute, so it has service parameters. It
should set a departure event for the end of the time it occupies the CPU so that the
next request will be unqueued and serviced.
Bill
So instead of being handled directly when the arrival event of a
teardown request occurs, the request should be enqueued at the CPU, and
then a departure event will be created with the teardown request once
that is finished from the CPU, and that is where the teardown is
actually handled.
I do not see any of this documented in the implementation section of the
assignment.
All requests in every queueing system are queued to await service. Thie has been
said many times in class.

Bill
Tom
2010-04-04 22:47:47 UTC
Permalink
Post by William Cowan
Post by Tom
Post by William Cowan
Post by Tom
In the phone call description it has a teardown event going into the
event set (2a) and when it is eventually handled (10) it does not
mention a teardown request queuing at the CPU. However, number 2 in the
system parameters section asks for the mean and stddev of the CPU
servicing an arrival teardown request. When is that supposed to happen?
The teardown request takes some time to execute, so it has service parameters. It
should set a departure event for the end of the time it occupies the CPU so that the
next request will be unqueued and serviced.
Bill
So instead of being handled directly when the arrival event of a
teardown request occurs, the request should be enqueued at the CPU, and
then a departure event will be created with the teardown request once
that is finished from the CPU, and that is where the teardown is
actually handled.
I do not see any of this documented in the implementation section of the
assignment.
All requests in every queueing system are queued to await service. Thie has been
said many times in class.
Bill
All the more reason for it to be documented in the implementation
section of the assignment.

Loading...