summaryrefslogtreecommitdiff
path: root/docs/random/wtay
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-09-12 20:41:26 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-09-12 20:41:26 +0000
commit498d3181d7d9d91e1ef849bcbb529c0d7f5a3a04 (patch)
treef18a441f97ee1401fbef212ba06e7972156f616e /docs/random/wtay
parenta0537fd60f3eb4fdf2a866541fc5a2a90a81d273 (diff)
Updates
Original commit message from CVS: Updates
Diffstat (limited to 'docs/random/wtay')
-rw-r--r--docs/random/wtay/scheduling_ideas14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/random/wtay/scheduling_ideas b/docs/random/wtay/scheduling_ideas
index aac8e58b25..244f2f422a 100644
--- a/docs/random/wtay/scheduling_ideas
+++ b/docs/random/wtay/scheduling_ideas
@@ -411,8 +411,22 @@ NOTES:
- what about starvation? We'll probably have to put the group
at the end of the runqueue.
+- multi-out elements can introduce significant latency. consider:
+ (-group1----------) (-group2-----------------)
+ ! ! ! !
+ ! *filesrc -> mad --> *%identity -> osssink !
+ (-----------------) (------------------------)
+
+ mad produces N output buffers, they are queued in the bufpen, when
+ group1 is done, group2 is scheduled to empty the bufpen queue.
+
+ The time it takes for the first buffer to arrive at osssink equals
+ the time needed to decode the N-1 other buffers.
+ Of course, given the right buffersize for filesrc N can be reduced
+ to 1. mad can also suggest a buffersize to filesrc with the
+ BUFFER_SIZE event.