[vlc-devel] commit: Remove block_Realloc() shrinking behavior ( Rémi Denis -Courmont )
Marian Ďurkovič
md at bts.sk
Tue Sep 29 19:07:34 CEST 2009
On Tue, 29 Sep 2009 17:55:13 +0200 (CEST), git version control wrote
> vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue
> Sep 29 18:52:26 2009 +0300| [fd4cb4889d55be7d30e3d85cfb406b2814c1655e]
> | committer: Rémi Denis-Courmont
>
> Remove block_Realloc() shrinking behavior
>
> * It did not fix the issue with UDP packet loos that brought it in the
> first place (#1919, it was a socket buffer issue),
> * It does not play nice with posix_memalign(),
> * It is slow.
This is a show stopper for both UDP and RTP inputs. Allocating 64 kB blocks of
memory instead of 1316 bytes results in total memory waste of ~700 MB and no
socket buffer will help you if the box starts swapping.
At least for these inputs, the memory needs to be sized properly.
With kind regards,
M.
More information about the vlc-devel
mailing list