Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2012 21:38:53 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-hackers@freebsd.org
Cc:        Vijay Singh <vijju.singh@gmail.com>
Subject:   Re: USB issue on 8.2
Message-ID:  <201202232138.53830.hselasky@c2i.net>
In-Reply-To: <CALCNsJRP7jEuF3_9ptUeCB-2znX2N9MnxfEe8C-sQnJ2cD2q8A@mail.gmail.com>
References:  <CALCNsJRP7jEuF3_9ptUeCB-2znX2N9MnxfEe8C-sQnJ2cD2q8A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 23 February 2012 18:52:50 Vijay Singh wrote:
> Hi hackers. I am seeing an issue where the USB controller is
> generating a large number of interrupts.
> 
> last pid:  6639;  load averages:  1.39,  1.48,  2.46  up 0+01:07:14   
> 12:35:05 2590 processes:9 running, 462 sleeping, 3 zombie, 2116 waiting
> CPU:  0.2% user,  0.0% nice, 11.5% system, 10.6% interrupt, 77.7% idle
> Mem: 277M Active, 425M Inact, 241M Wired, 2704K Cache, 7488K Buf, 1017M
> Free Swap: 1024M Total, 1024M Free
> 
>   PID USERNAME PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
>    10 root     171 ki31     0K    64K RUN     3  34:37 89.40% {idle: cpu3}
>    10 root     171 ki31     0K    64K CPU2    2  33:56 85.94% {idle: cpu2}
>    10 root     171 ki31     0K    64K CPU0    0  37:20 76.27% {idle: cpu0}
>    10 root     171 ki31     0K    64K RUN     1  25:09 55.27% {idle: cpu1}
>    11 root     -64    -     0K   480K WAIT    1  14:40 33.40% {irq16:
> ehci1}
> 
> interrupt                          total               rate
> irq16: ehci1                   488177801     114166
> 
> Is this known? Any patches I can test?

Hi,

There are some knobs under:

sysctl hw.usb.ehci

Which you can set to one in /boot/loader.conf

hw.usb.ehci.lostintrbug: 0
hw.usb.ehci.iaadbug: 0

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202232138.53830.hselasky>