Re: Van Jacobson's net channels and real-time
- From: Ingo Oeser <ioe-lkml@xxxxxxxxxx>
- Date: Sat, 22 Apr 2006 15:29:58 +0200
Hi Jörn,
On Saturday, 22. April 2006 13:48, Jörn Engel wrote:
Unless I completely misunderstand something, one of the main points of
the netchannels if to have *zero* fields written to by both producer
and consumer.
Hmm, for me the main point was to keep the complete processing
of a single packet within one CPU/Core where this is a non-issue.
Receiving and sending a lot can be expected to be the
common case, so taking a performance hit in this case is hardly a good
idea.
There is no hit. If you receive/send in bursts you can simply aggregate
them until a certain queueing threshold.
The queue design outlined can split the queueing in reserve and commit stages,
where the producer can be told how much in can produce and the consumer is
told how much it can consume.
Within their areas the producer and consumer can freely move around.
So this is not exactly a queue, but a dynamic double buffer :-)
So maybe doing queueing with the classic head/tail variant is better here,
but the other variant might replace it without problems and allows
for some nice improvements.
Regards
Ingo Oeser
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: Van Jacobson's net channels and real-time
- From: Avi Kivity
- Re: Van Jacobson's net channels and real-time
- From: David S. Miller
- Re: Van Jacobson's net channels and real-time
- From: Jörn Engel
- Re: Van Jacobson's net channels and real-time
- References:
- Van Jacobson's net channels and real-time
- From: Esben Nielsen
- Re: Van Jacobson's net channels and real-time
- From: Ingo Oeser
- Re: Van Jacobson's net channels and real-time
- From: Jörn Engel
- Van Jacobson's net channels and real-time
- Prev by Date: Re: [PATCH] 'make headers_install' kbuild target.
- Next by Date: Re: unix socket connection tracking
- Previous by thread: Re: Van Jacobson's net channels and real-time
- Next by thread: Re: Van Jacobson's net channels and real-time
- Index(es):
Relevant Pages
|