Re: Data corruption issue with splice() on 2.6.27.10

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Willy Tarreau
Date: Wednesday, January 7, 2009 - 5:52 am

On Wed, Jan 07, 2009 at 03:40:34PM +0300, Evgeniy Polyakov wrote:

Evgeniy, I'd like to understand something related to our apparent lack of
knowledge of when the data is effectively transmitted. If we're focusing
on the send part, I can't understand why I never reproduce the corruption
when the data source is a file or loopback, but I only see it when the source
is an ethernet interface. How is it possible that a problem affecting only
the send side is so much selective about the source ? And in fact, why can't
we apply the same workflow for outgoing data for both types of sources ? It
seems to me that the page is released at the right time when sending a file,
and I don't see why we cannot apply the same principle when splicing between
sockets.

Please excuse me for my blattant ignorance in this area, as I once said, I
could not completely follow the whole splice process between tcp_splice_read()
and the moment the data leaves the machine. Also, I failed to understand what
linear data means. It seems to me this is the parts that are memcpy'd, but I'm
not sure.

Thanks,
Willy

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Data corruption issue with splice() on 2.6.27.10, Willy Tarreau, (Wed Dec 24, 8:28 am)
Re: Data corruption issue with splice() on 2.6.27.10, Jarek Poplawski, (Tue Jan 6, 1:54 am)
Re: Data corruption issue with splice() on 2.6.27.10, Willy Tarreau, (Tue Jan 6, 2:41 am)
Re: Data corruption issue with splice() on 2.6.27.10, Jarek Poplawski, (Tue Jan 6, 3:01 am)
Re: Data corruption issue with splice() on 2.6.27.10, Willy Tarreau, (Tue Jan 6, 3:04 am)
Re: Data corruption issue with splice() on 2.6.27.10, Willy Tarreau, (Tue Jan 6, 8:57 am)
Re: Data corruption issue with splice() on 2.6.27.10, Ben Mansell, (Tue Jan 6, 10:42 am)
Re: Data corruption issue with splice() on 2.6.27.10, Willy Tarreau, (Tue Jan 6, 11:15 am)
Re: Data corruption issue with splice() on 2.6.27.10, Evgeniy Polyakov, (Tue Jan 6, 11:32 am)
Re: Data corruption issue with splice() on 2.6.27.10, Jens Axboe, (Tue Jan 6, 11:37 am)
Re: Data corruption issue with splice() on 2.6.27.10, Willy Tarreau, (Tue Jan 6, 11:50 am)
Re: Data corruption issue with splice() on 2.6.27.10, Willy Tarreau, (Tue Jan 6, 11:55 am)
Re: Data corruption issue with splice() on 2.6.27.10, Willy Tarreau, (Tue Jan 6, 11:38 pm)
Re: Data corruption issue with splice() on 2.6.27.10, Jarek Poplawski, (Wed Jan 7, 2:39 am)
Re: Data corruption issue with splice() on 2.6.27.10, Willy Tarreau, (Wed Jan 7, 2:54 am)
Re: Data corruption issue with splice() on 2.6.27.10, Evgeniy Polyakov, (Wed Jan 7, 4:29 am)
Re: Data corruption issue with splice() on 2.6.27.10, Evgeniy Polyakov, (Wed Jan 7, 4:56 am)
Re: Data corruption issue with splice() on 2.6.27.10, Evgeniy Polyakov, (Wed Jan 7, 5:15 am)
Re: Data corruption issue with splice() on 2.6.27.10, Willy Tarreau, (Wed Jan 7, 5:22 am)
Re: Data corruption issue with splice() on 2.6.27.10, Jarek Poplawski, (Wed Jan 7, 5:31 am)
Re: Data corruption issue with splice() on 2.6.27.10, Evgeniy Polyakov, (Wed Jan 7, 5:37 am)
Re: Data corruption issue with splice() on 2.6.27.10, Jarek Poplawski, (Wed Jan 7, 5:38 am)
Re: Data corruption issue with splice() on 2.6.27.10, Willy Tarreau, (Wed Jan 7, 5:39 am)
Re: Data corruption issue with splice() on 2.6.27.10, Evgeniy Polyakov, (Wed Jan 7, 5:40 am)
Re: Data corruption issue with splice() on 2.6.27.10, Evgeniy Polyakov, (Wed Jan 7, 5:46 am)
Re: Data corruption issue with splice() on 2.6.27.10, Jarek Poplawski, (Wed Jan 7, 5:49 am)
Re: Data corruption issue with splice() on 2.6.27.10, Willy Tarreau, (Wed Jan 7, 5:52 am)
Re: Data corruption issue with splice() on 2.6.27.10, Willy Tarreau, (Wed Jan 7, 5:55 am)
Re: Data corruption issue with splice() on 2.6.27.10, Jarek Poplawski, (Wed Jan 7, 5:56 am)
Re: Data corruption issue with splice() on 2.6.27.10, Evgeniy Polyakov, (Wed Jan 7, 5:57 am)
Re: Data corruption issue with splice() on 2.6.27.10, Willy Tarreau, (Wed Jan 7, 6:00 am)
Re: Data corruption issue with splice() on 2.6.27.10, Jarek Poplawski, (Wed Jan 7, 6:02 am)
Re: Data corruption issue with splice() on 2.6.27.10, Evgeniy Polyakov, (Wed Jan 7, 6:02 am)
Re: Data corruption issue with splice() on 2.6.27.10, Willy Tarreau, (Wed Jan 7, 6:08 am)
Re: Data corruption issue with splice() on 2.6.27.10, Jarek Poplawski, (Wed Jan 7, 6:10 am)
Re: Data corruption issue with splice() on 2.6.27.10, Willy Tarreau, (Wed Jan 7, 6:15 am)
Re: Data corruption issue with splice() on 2.6.27.10, Jarek Poplawski, (Wed Jan 7, 6:22 am)
Re: Data corruption issue with splice() on 2.6.27.10, Jarek Poplawski, (Wed Jan 7, 7:01 am)
Re: Data corruption issue with splice() on 2.6.27.10, Jarek Poplawski, (Thu Jan 8, 12:16 am)
Re: Data corruption issue with splice() on 2.6.27.10, Willy Tarreau, (Thu Jan 8, 1:05 am)
Re: Data corruption issue with splice() on 2.6.27.10, Ingo Molnar, (Thu Jan 8, 7:53 am)
Re: Data corruption issue with splice() on 2.6.27.10, Ben Mansell, (Thu Jan 8, 8:16 am)
Re: Data corruption issue with splice() on 2.6.27.10, Willy Tarreau, (Thu Jan 8, 10:14 am)
Re: Data corruption issue with splice() on 2.6.27.10, Herbert Xu, (Mon Jan 12, 5:02 am)
Re: Data corruption issue with splice() on 2.6.27.10, Evgeniy Polyakov, (Mon Jan 12, 5:45 am)
Re: Data corruption issue with splice() on 2.6.27.10, Herbert Xu, (Mon Jan 12, 5:56 am)
Re: Data corruption issue with splice() on 2.6.27.10, Evgeniy Polyakov, (Mon Jan 12, 5:59 am)
Re: Data corruption issue with splice() on 2.6.27.10, Jarek Poplawski, (Mon Jan 12, 6:15 am)
Re: Data corruption issue with splice() on 2.6.27.10, Herbert Xu, (Mon Jan 12, 2:11 pm)
Re: Data corruption issue with splice() on 2.6.27.10, Herbert Xu, (Mon Jan 12, 2:12 pm)
Re: Data corruption issue with splice() on 2.6.27.10, Jarek Poplawski, (Mon Jan 19, 12:32 am)
Re: Data corruption issue with splice() on 2.6.27.10, Lennert Buytenhek, (Mon Jan 19, 1:39 am)
Re: Data corruption issue with splice() on 2.6.27.10, Willy Tarreau, (Mon Jan 19, 2:53 am)