Date: Tue, 10 Nov 2015 11:08:53 +0100 From: Sebastian Huber <sebastian.huber@embedded-brains.de> To: Hans Petter Selasky <hps@selasky.org>, freebsd-usb@freebsd.org Subject: Re: [PATCH] dwc_otg: Reduce interrupt load Message-ID: <5641C235.1040007@embedded-brains.de> In-Reply-To: <563F19B6.1010506@selasky.org> References: <1446212307-4660-1-git-send-email-sebastian.huber@embedded-brains.de> <56338480.3090607@selasky.org> <5637557A.1070007@embedded-brains.de> <56375A12.9060000@selasky.org> <563F19B6.1010506@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, On 08/11/15 10:45, Hans Petter Selasky wrote: > On 11/02/15 13:41, Hans Petter Selasky wrote: >> On 11/02/15 13:22, Sebastian Huber wrote: >>> >>> >>> On 30/10/15 15:53, Hans Petter Selasky wrote: >>>> On 10/30/15 14:38, Sebastian Huber wrote: >>>>> Tested on an Altera Cyclone V development kit. Here the=20 >>>>> controller has >>>>> 16 host channels. This change significantly reduced the time=20 >>>>> spent in >>>>> the dwc_otg_interrupt_poll_locked() function. >>>> >>>> Hi, >>>> >>>> Thank you for your optimisation patch: >>>> >>>> https://svnweb.freebsd.org/changeset/base/290195 >>> > > Hi Sebastian, > > You maybe also want to port these two patches, and measure the CPU=20 > load again: > > https://svnweb.freebsd.org/changeset/base/290489 > https://svnweb.freebsd.org/changeset/base/290542 I didn't notice a big overall difference. Highest CPU load is now due to=20 dwc_otg_read_fifo() instead of dwc_otg_interrupt_poll_locked(). --=20 Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.huber@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine gesch=E4ftliche Mitteilung im Sinne des EHUG.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5641C235.1040007>