Re: dummy_hcd performance / correctness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 30, 2014 at 5:53 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> On Fri, 30 May 2014 pktoss@xxxxxxxxx wrote:
> If someone is concerned about performance, they should not be using
> dummy-hcd.  It will never perform as well as the loop driver.  And
> that's okay, because it was never meant to be high-performance -- it
> was meant to help test gadget drivers.
>
> For testing purposes, faithful emulation is much more important than
> performance.  To get a good emulation, we need a timer resolution of
> 1000 Hz, so moving to hrtimers is a good idea.  But not for the reason
> mentioned in the patch description.

Indeed, I meant performance compared to a real USB device being connected
to a real controller, not as a substitute to the loop driver of course
:) It is true
that my motivation behind this work is to make dummy_hcd more useful to
host/gadget driver authors, not to replace other facilities :)

I will update the description of the series to be more clear.

Thanks a lot for the comments :)
Pantelis
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux