RE: Scatter-gather list constraints

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alan Stern <stern@...>
Cc: David Vrabel <david.vrabel@...>, Kernel development list <linux-kernel@...>, AntonioLin <antonio.lin@...>, <linux-usb@...>, <inaky@...>
Date: Thursday, June 26, 2008 - 12:43 pm

>From: Alan Stern [mailto:stern@rowland.harvard.edu]

For WA, when we get a buffer to be sent from a URB, it has to be split
in chunks, each chunk has a header added. So we end up with a list of
chunks, most of them quite small. Each requires a single URB to send.
resources galore.

If we could queue all those, the overhead would be reduced to allocating
the headers (possibly in a continuous array) and the sg "descriptors"
to describe the whole thing.

However, the alignment stuff somebody mentioned in another email in this
thread might cause problems.

At the end it might not be all that doable (I might be missing some
subtle isssues), but it is well worth a look.


And the overhead of one URB per sg "node" kills it's usability for
WAs.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Scatter-gather list constraints, Alan Stern, (Fri Jun 20, 4:30 pm)
Re: Scatter-gather list constraints, David Vrabel, (Mon Jun 23, 10:46 am)
Re: Scatter-gather list constraints, Alan Stern, (Mon Jun 23, 11:12 am)
Re: Scatter-gather list constraints, David Vrabel, (Mon Jun 23, 3:06 pm)
RE: Scatter-gather list constraints, Perez-Gonzalez, Inaky, (Wed Jun 25, 12:02 am)
RE: Scatter-gather list constraints, Alan Stern, (Wed Jun 25, 10:24 am)
RE: Scatter-gather list constraints, Perez-Gonzalez, Inaky, (Thu Jun 26, 12:43 pm)
RE: Scatter-gather list constraints, Alan Stern, (Thu Jun 26, 3:34 pm)
Re: Scatter-gather list constraints, Inaky Perez-Gonzalez, (Thu Jun 26, 6:39 pm)
Re: Scatter-gather list constraints, Alan Stern, (Mon Jun 23, 3:45 pm)
Re: Scatter-gather list constraints, Stefan Richter, (Mon Jun 23, 5:53 pm)
Re: Scatter-gather list constraints, Andi Kleen, (Sat Jun 21, 9:59 am)
Re: Scatter-gather list constraints, Alan Stern, (Sat Jun 21, 10:54 am)
Re: Scatter-gather list constraints, Andi Kleen, (Sat Jun 21, 11:21 am)
Re: Scatter-gather list constraints, Alan Stern, (Sat Jun 21, 5:50 pm)
Re: Scatter-gather list constraints, FUJITA Tomonori, (Tue Jun 24, 6:41 am)
Re: Scatter-gather list constraints, Alan Stern, (Tue Jun 24, 10:57 am)
Re: Scatter-gather list constraints, FUJITA Tomonori, (Tue Jun 24, 8:18 pm)
Re: Scatter-gather list constraints, Alan Stern, (Wed Jun 25, 10:23 am)
Re: Scatter-gather list constraints, FUJITA Tomonori, (Wed Jun 25, 10:06 pm)
Re: Scatter-gather list constraints, FUJITA Tomonori, (Thu Jun 26, 1:39 am)
Re: Scatter-gather list constraints, Jens Axboe, (Thu Jun 26, 2:35 am)
Re: Scatter-gather list constraints, Alan Stern, (Thu Jun 26, 10:18 am)
Re: Scatter-gather list constraints, FUJITA Tomonori, (Thu Jun 26, 2:58 am)
Re: Scatter-gather list constraints, Jens Axboe, (Thu Jun 26, 8:39 am)
Re: Scatter-gather list constraints, Boaz Harrosh, (Thu Jun 26, 11:16 am)
Re: Scatter-gather list constraints, Jens Axboe, (Thu Jun 26, 1:39 pm)
Re: Scatter-gather list constraints, Alan Stern, (Thu Jun 26, 11:12 am)
Re: Scatter-gather list constraints, Jens Axboe, (Thu Jun 26, 1:41 pm)
Re: Scatter-gather list constraints, Alan Stern, (Wed Aug 27, 5:32 pm)
Re: Scatter-gather list constraints, Andi Kleen, (Thu Jun 26, 8:54 am)
Re: Scatter-gather list constraints, Jens Axboe, (Thu Jun 26, 9:00 am)
Re: Scatter-gather list constraints, Andi Kleen, (Sat Jun 21, 7:00 pm)
Re: Scatter-gather list constraints, Alan Stern, (Sun Jun 22, 10:35 am)
Re: Scatter-gather list constraints, David Miller, (Fri Jun 20, 4:50 pm)