#463 Slow performance when opening files with specific applications (eg. mkv with vlc)

open
nobody
None
1
2014-07-31
2012-10-08
masc
No

When opening mkv files with vlc, playback will be delayed for ~30 seconds and netatalk debug log shows excessive amount of AFPERR_EOF errors until it starts.

Version is 3.0.1.

Oct 08 21:16:55.986004 afpd[19647] {dsi_stream.c:162} (D5:DSI): from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Oct 08 21:16:55.986015 afpd[19647] {dsi_stream.c:162} (D5:DSI): from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Oct 08 21:16:56.201748 afpd[19647] {dsi_stream.c:162} (D5:DSI): from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Oct 08 21:16:56.201792 afpd[19647] {dsi_stream.c:603} (D5:DSI): dsi_stream_receive: DSI cmdlen: 20
Oct 08 21:16:56.201804 afpd[19647] {afp_dsi.c:611} (D5:DSI): DSI request ID: 27551
Oct 08 21:16:56.201814 afpd[19647] {afp_dsi.c:626} (D5:AFPDaemon): <== Start AFP command: AFP_READ_EXT
Oct 08 21:16:56.201826 afpd[19647] {fork.c:801} (D5:AFPDaemon): afp_read(fork: 115 [data], off: 57032, len: 1695, size: 57032)
Oct 08 21:16:56.201841 afpd[19647] {afp_dsi.c:633} (D5:AFPDaemon): ==> Finished AFP command: AFP_READ_EXT -> AFPERR_EOF
Oct 08 21:16:56.201853 afpd[19647] {dsi_stream.c:162} (D5:DSI): from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Oct 08 21:16:56.201864 afpd[19647] {dsi_stream.c:162} (D5:DSI): from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Oct 08 21:16:56.417850 afpd[19647] {dsi_stream.c:162} (D5:DSI): from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Oct 08 21:16:56.417886 afpd[19647] {dsi_stream.c:603} (D5:DSI): dsi_stream_receive: DSI cmdlen: 20
Oct 08 21:16:56.417899 afpd[19647] {afp_dsi.c:611} (D5:DSI): DSI request ID: 27552
Oct 08 21:16:56.417908 afpd[19647] {afp_dsi.c:626} (D5:AFPDaemon): <== Start AFP command: AFP_READ_EXT
Oct 08 21:16:56.417919 afpd[19647] {fork.c:801} (D5:AFPDaemon): afp_read(fork: 115 [data], off: 57032, len: 1719, size: 57032)
Oct 08 21:16:56.417933 afpd[19647] {afp_dsi.c:633} (D5:AFPDaemon): ==> Finished AFP command: AFP_READ_EXT -> AFPERR_EOF
Oct 08 21:16:56.417944 afpd[19647] {dsi_stream.c:162} (D5:DSI): from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Oct 08 21:16:56.417955 afpd[19647] {dsi_stream.c:162} (D5:DSI): from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Oct 08 21:16:56.634010 afpd[19647] {dsi_stream.c:162} (D5:DSI): from_buf(read: 0, unread:0 , space left: 3646080): returning 0
Oct 08 21:16:56.634073 afpd[19647] {dsi_stream.c:603} (D5:DSI): dsi_stream_receive: DSI cmdlen: 20
Oct 08 21:16:56.634086 afpd[19647] {afp_dsi.c:611} (D5:DSI): DSI request ID: 27553
Oct 08 21:16:56.634096 afpd[19647] {afp_dsi.c:626} (D5:AFPDaemon): <== Start AFP command: AFP_READ_EXT
Oct 08 21:16:56.634109 afpd[19647] {fork.c:801} (D5:AFPDaemon): afp_read(fork: 115 [data], off: 57032, len: 1721, size: 57032)
Oct 08 21:16:56.634125 afpd[19647] {afp_dsi.c:633} (D5:AFPDaemon): ==> Finished AFP command: AFP_READ_EXT -> AFPERR_EOF

Discussion