Re: [patch 0/3] RFC: Low-latency SDIO

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christer Weinigel
Date: Thursday, October 2, 2008 - 2:19 am

Pierre Ossman wrote:

Yes, i think so.  My previous post was mostly handwaving and some claims 
of a performance improvement, I wanted to clean up my low latency 
patches first and show a concrete implementation of what I was thinking 
about before asking for more feedback.

This patch mostly adds things, the asynchronous API is available for for 
those that need it, but old drivers will still work as before.  There is 
a difference for host drivers, drivers that sleep in their request 
function will not work, but I believe request shouldn't do that anyway.

Anyway, is this the response you're thinking of:

September 5, Pierre Ossman wrote:


There are actually three issues I think, interrupt latency, command 
completion latency, and CPU load.

Using a busy-wait for command completion would both reduce the load and 
latency (because there will be no interrupt or wakeup overhead).  But it 
only helps for quick commands, for any commands that transfer data, 
we'll have to use an interrupt and get the wakeup latencies.  And for me 
  any latency, initial interrupt latency or latency after the data 
transfer, are killers, so that's what I'm trying to solve.

I did google a bit for a Linux trigger interface and for some reason (I 
can't remember exactly why now), I did not think that it would be 
suitable for what I want to do.

So I still would like to get something like this low-latency thing into 
the kernel.

  /Christer

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

Messages in current thread:
[patch 0/3] RFC: Low-latency SDIO, Christer Weinigel, (Tue Sep 30, 3:23 am)
Re: [patch 0/3] RFC: Low-latency SDIO, Pierre Ossman, (Thu Oct 2, 1:32 am)
Re: [patch 0/3] RFC: Low-latency SDIO, Christer Weinigel, (Thu Oct 2, 2:19 am)