Re: Custom queue

2000-09-13 Thread Darren House


The answer is B.  Custom queueing will not fragment the packets.  It will
send the entire packet, even if it passed the byte count.  Then it will go
on to the next queue.


Darren

--
Darren House
Internet Systems Engineer
UUNET, A World Com Company
703-886-6641
[EMAIL PROTECTED]

On Wed, 13 Sep 2000, Doug Laing wrote:

 Here is another study question for clarification.  Assume the following
 configuration:
 
 queue-list 1 protocol ip 1
 queue-list 1 protocol ipx 2
 queue-list 1 protocol appletalk 3
 queue-list 1 protocol ip 4 tcp 20
 queue-list 1 default 5
 queue-list 1 queue 1 byte-count 4500
 
 A)  Once the byte count in Queue 1 is reached while transmitting a
 packet, the data is sent, then the router immediately goes to Queue 2.
 
 B)Once the byte count in Queue 1 is reached while transmitting a packet,
 the entire packet is sent, then the router immediately goes to Queue 2.
 
 **NOTE: New CCNA/CCDA List has been formed. For more information go to
 http://www.groupstudy.com/list/Associates.html
 _
 UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
 FAQ, list archives, and subscription info: http://www.groupstudy.com
 Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
 

**NOTE: New CCNA/CCDA List has been formed. For more information go to
http://www.groupstudy.com/list/Associates.html
_
UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
FAQ, list archives, and subscription info: http://www.groupstudy.com
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



Re: How does cisco router load-balancing?

2000-09-11 Thread Darren House

I thought you could only get per packet load sharing by using CEF.  All
other switching methods allowed for per destination/session load sharing.

I also think (I could be wrong) that if you have E0 process switched and
E1 Fast Switched, the first packet would be process switched, the route
processor would look up the destination in the route table.  The first
entry in the table would be used for the first session, whether that's E0
or E1.  If it's E0, then the 2nd session for the same destination network
would choose E1, because there are 2 equal cost destinations in the 
routing table.  From that point, when the fast cache is initialized on
E1, the router will use E1 for any subsequent session to the same
destination address, as long as that address is still in the fast cache.

If the route table had E1 first, then I don't think E0 would even be used,
because the route table would not be referenced again until the fast cache
entry was removed. 

But once again, these are per destination scenarios, not per packet.

Let me know your thoughts,

Thanks,
Darren

--
Darren House
Internet Systems Engineer
UUNET, A World Com Company
703-886-6641
[EMAIL PROTECTED]

On Sun, 10 Sep 2000, Rodgers Moore wrote:

 Interesting question!
 
 Let's go through how it works and see "In Theory" what we might expect to
 happen.
 
 The first packet to a destination is always process switched, so first
 packets should be evenly distributed between the interfaces.  But the E1 has
 fast caching so all subsequent packets will traverse E1.  What I suspect is
 that the second packet of a stream, which took E0 for the first packet, will
 traverse E1 which will cache the destination and all subsequent packets will
 traverse E1.
 
 So even though E0 is used for first packets to a destination, E1 will get
 the second packet and will add it to the cache and ALL streams will end up
 using E1 effectively stealing everything from E0.  The second packet on
 would traverse E1. E0 will barely be used.
 
 No, that's not 100 % correct.  The process engine doesn't care about
 destination, it switches the queue.  A stream (let's call it Bob) could stay
 on E0, but as the packets are dequeued every packet prior to a Bob packet
 would have to be sent to E1. You've got a 50/50 chance of that happening.
 So this becomes a straight forward Prob  Stat exercise:  flipping a coin.
 While the odds are 50/50 to the individual packet, the stream has a
 probability of the aggregation of all preceding packets.  Can you flip a
 coin and come up heads 100 times in a row? Yes, but is unlikely.  The more
 streams, the more coins that are flipped, and the more likely _a_ stream
 will be sent to E1.
 
 I think what we would see if there were 256 streams something similar to:
 1st packet:  128 go to E0, 128 go to E1
 2nd packet: 64 go to E0,  192 to E1 (128 1st + 64 2nd)
 3rd packet: 32 go to E0,  224 to E1 (128 1st + 64 2nd + 32 3rd)
 4th packet: 16 go to E0, 240 to E1 (128 1st + 64 2nd + 32 3rd + 16 4th)
 
 So the probability a stream would traverse and stay on E0 to it's completion
 would be computed as: p = 100/(2^n) where "p" is the percentage probability
 (how many out of 100), "n" is the number of packets in the stream (ie, the
 length).  This doesn't take into account when the stream count is 0.
 
 Of course that's my theory.  Anyone have time to bench and test it?
 
 Rodgers Moore, CCDP, CCNP-Security
 Design and Security Consultant
 Data Processing Sciences, Corp.
 
 "luobin Yang" [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  Hi, group,
 
  I have question quite confused about. I learnt that per-packet
  load-balancing is used when process-switching is enabled and
  per-destination load-balancing is used when fast-switching is enabled.
 
  My question is, If there are two equal-cost routes between RouterA and
  RouterB, let's say the interfaces are E0 and E1. If I enable
  process-switching on E0 and fast-switching on E1, which load-balancing
  is used in this situation?
 
  Hope can get some answer.
  Luobin
 
  **NOTE: New CCNA/CCDA List has been formed. For more information go to
  http://www.groupstudy.com/list/Associates.html
  _
  UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
  FAQ, list archives, and subscription info: http://www.groupstudy.com
  Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
 
 
 
 **NOTE: New CCNA/CCDA List has been formed. For more information go to
 http://www.groupstudy.com/list/Associates.html
 _
 UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
 FAQ, list archives, and subscription info: http://www.groupstudy.com
 Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
 

**NOTE: New CCNA/CCDA List has been formed. For more information go t