From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net From: Richard Miller <9fans@hamnavoe.com> Date: Mon, 5 Mar 2012 15:56:37 +0000 In-Reply-To: <2579b6.8126cb52.62GS.mx@tumtum.plumbweb.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] usb slowness Topicbox-Message-UUID: 6693185e-ead7-11e9-9d60-3106f5b1d025 > it turns out that _strayintr is taking up nearly all the time. Or maybe it isn't. Taking up nearly all the cpu time isn't the same as taking up nearly all the time. You can use time(1) while reading usb disk to see if cpu is really the bottleneck, or if in fact your machine is spending most of its time waiting for a usb interrupt. If the machine is mostly idle, profiling clock ticks should usually find it sitting at the HLT instruction which happens to be couple of bytes before _strayintr.