On 19.06.2013 05:17, David Baelde wrote:

> The catchup thing is when liquidsoap did not manage to compute its
> stream fast enough for sending on time. In my experience this is
> caused by lack of CPU, so I'd advise to look this way. It could be
> that a latency on the filesystem or network is making things late, but
> we are trying to minimize this kind of interference because streaming
> on time is the priority. The bottom line is look for CPU first, but if
> you think you've spotted another cause let us know so we can discuss
> potential solutions.

I am still getting the catch ups after having ruled out these issues:

 * I reniced icecast and LS
 * I checked that my NTP daemon works and uses skew/drift
 * I now keep the connection to LS open avoiding therefore the logging
output

Yet, I get these lines:

> 2013/06/20 00:14:40 [clock.wallclock_main:2] We must catchup 1.78 seconds!
> 2013/06/20 06:08:00 [clock.wallclock_main:2] We must catchup 1.06 seconds!
> 2013/06/20 06:55:00 [clock.wallclock_main:2] We must catchup 1.32 seconds!
> 2013/06/20 07:23:25 [clock.wallclock_main:2] We must catchup 1.12 seconds!
> 2013/06/20 07:34:32 [clock.wallclock_main:2] We must catchup 1.17 seconds!
> 2013/06/20 08:07:21 [clock.wallclock_main:2] We must catchup 1.02 seconds!
> 2013/06/20 08:20:14 [clock.wallclock_main:2] We must catchup 1.14 seconds!
> 2013/06/20 09:21:12 [clock.wallclock_main:2] We must catchup 1.02 seconds!
> 2013/06/20 09:30:05 [clock.wallclock_main:2] We must catchup 1.21 seconds!
> 2013/06/20 09:50:19 [clock.wallclock_main:2] We must catchup 1.43 seconds!
> 2013/06/20 11:11:48 [clock.wallclock_main:2] We must catchup 1.08 seconds!
> 2013/06/20 12:42:51 [clock.wallclock_main:2] We must catchup 1.01 seconds!

The process itself only needs 40% CPU of 400% (dual core, dual
threaded). As I said before, I am reading a stream and writing 2 streams
from/to the same icecast server. And the catchup seems to happen when
the metadata HTTP-GET is sent to icecast.

Kind regards,
Alexander

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to