Re: [PATCH] dynamically sized ringbuffers v2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stone wrote:
> 
>     It still wouldn't surprise me if this version caused a few overflows,
>     but hopefully these will be very rare.
>  
> I'm curious how streamdev will function with these buffer changes.

it works fine -- i'm using a headless vdr server and streamdev+softdevice clients, so
this actually gets tested fairly well.

Example buffer usage from server:

Deleting ring buffer "streamdev-streamer" size: 262144 / 4194304 (used 6.25% of requested size)
Deleting ring buffer "streamdev-streamer" size: 131072 / 4194304 (used 3.125% of requested size)
Deleting ring buffer "streamdev-streamer" size: 262144 / 4194304 (used 6.25% of requested size)
Deleting ring buffer "streamdev-streamer" size: 131072 / 4194304 (used 3.125% of requested size)
Deleting ring buffer "streamdev-streamer" size: 131072 / 4194304 (used 3.125% of requested size)
Deleting ring buffer "streamdev-streamer" size: 524288 / 4194304 (used 12.5% of requested size)
Deleting ring buffer "streamdev-streamer" size: 262144 / 4194304 (used 6.25% of requested size)
Deleting ring buffer "streamdev-streamer" size: 262144 / 4194304 (used 6.25% of requested size)
Deleting ring buffer "streamdev-streamer" size: 262144 / 4194304 (used 6.25% of requested size)
Deleting ring buffer "streamdev-streamer" size: 131072 / 4194304 (used 3.125% of requested size)
Deleting ring buffer "streamdev-streamer" size: 262144 / 4194304 (used 6.25% of requested size)
Deleting ring buffer "streamdev-streamer" size: 131072 / 4194304 (used 3.125% of requested size)
Deleting ring buffer "streamdev-streamer" size: 262144 / 4194304 (used 6.25% of requested size)
Deleting ring buffer "streamdev-streamer" size: 262144 / 4194304 (used 6.25% of requested size)
Deleting ring buffer "streamdev-streamer" size: 262144 / 4194304 (used 6.25% of requested size)
Deleting ring buffer "streamdev-streamer" size: 524288 / 4194304 (used 12.5% of requested size)
Deleting ring buffer "streamdev-streamer" size: 524288 / 4194304 (used 12.5% of requested size)
Deleting ring buffer "streamdev-streamer" size: 131072 / 4194304 (used 3.125% of requested size)
Deleting ring buffer "streamdev-streamer" size: 262144 / 4194304 (used 6.25% of requested size)
Deleting ring buffer "streamdev-streamer" size: 131072 / 4194304 (used 3.125% of requested size)
Deleting ring buffer "streamdev-streamer" size: 131072 / 4194304 (used 3.125% of requested size)
Deleting ring buffer "streamdev-streamer" size: 131072 / 4194304 (used 3.125% of requested size)
Deleting ring buffer "streamdev-streamer" size: 131072 / 4194304 (used 3.125% of requested size)

and the streamdev client TS buffer usually grows to 12.5..25% (ie 256K/512K out of 4M max).

artur


_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux