All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] QoS on receive
@ 2005-07-14 15:49 Alexander Sirotkin
  2005-07-15  3:41 ` pramod
  2005-07-16 12:04 ` Andy Furniss
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Sirotkin @ 2005-07-14 15:49 UTC (permalink / raw)
  To: lartc

It appears that while Linux has plenty of traffic shaping mechanism on 
transmit, there is nothing on receive side.
While generally it does make sense since transmit is more CPU intensive 
operation, after all receive also
consumes CPU cycles. It is clear that it's best to drop the packet as 
soon as possible, i.e. on receive, if possible -
by the driver itself. It may not be feasible in general case, but I can 
think of a couple of scenarios when it does
make sense.

Any ideas ?
Maybe there is some similar QoS mechanism that I'm not aware of ?

-- 
Alexander Sirotkin
SW Engineer

Texas Instruments
Broadband Communications Israel (BCIL)
Tel:  +972-9-9706587
________________________________________________________________________
"Those who do not understand Unix are condemned to reinvent it, poorly."
      -- Henry Spencer 

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] QoS on receive
  2005-07-14 15:49 [LARTC] QoS on receive Alexander Sirotkin
@ 2005-07-15  3:41 ` pramod
  2005-07-16 12:04 ` Andy Furniss
  1 sibling, 0 replies; 3+ messages in thread
From: pramod @ 2005-07-15  3:41 UTC (permalink / raw)
  To: lartc

Dropping of packets on the receive side can be done bu IPTABLES..

thanks
 pramod

Alexander Sirotkin wrote:

> It appears that while Linux has plenty of traffic shaping mechanism on 
> transmit, there is nothing on receive side.
> While generally it does make sense since transmit is more CPU 
> intensive operation, after all receive also
> consumes CPU cycles. It is clear that it's best to drop the packet as 
> soon as possible, i.e. on receive, if possible -
> by the driver itself. It may not be feasible in general case, but I 
> can think of a couple of scenarios when it does
> make sense.
>
> Any ideas ?
> Maybe there is some similar QoS mechanism that I'm not aware of ?
>

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] QoS on receive
  2005-07-14 15:49 [LARTC] QoS on receive Alexander Sirotkin
  2005-07-15  3:41 ` pramod
@ 2005-07-16 12:04 ` Andy Furniss
  1 sibling, 0 replies; 3+ messages in thread
From: Andy Furniss @ 2005-07-16 12:04 UTC (permalink / raw)
  To: lartc

Alexander Sirotkin wrote:
> It appears that while Linux has plenty of traffic shaping mechanism on 
> transmit, there is nothing on receive side.
> While generally it does make sense since transmit is more CPU intensive 
> operation, after all receive also
> consumes CPU cycles. It is clear that it's best to drop the packet as 
> soon as possible, i.e. on receive, if possible -
> by the driver itself. It may not be feasible in general case, but I can 
> think of a couple of scenarios when it does
> make sense.
> 
> Any ideas ?
> Maybe there is some similar QoS mechanism that I'm not aware of ?
> 

Yes it's called ingress policing there is mention in LARTC and it is 
possible to do quite complicated things with it. See the diffserv 
examples in iproute2.

Andy.

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-07-16 12:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-14 15:49 [LARTC] QoS on receive Alexander Sirotkin
2005-07-15  3:41 ` pramod
2005-07-16 12:04 ` Andy Furniss

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.