From owner-freebsd-mips@freebsd.org Sun Nov 1 20:47:55 2015 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 70AC2A23B79 for ; Sun, 1 Nov 2015 20:47:55 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2FC71192B for ; Sun, 1 Nov 2015 20:47:55 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iody8 with SMTP id y8so125865769iod.1 for ; Sun, 01 Nov 2015 12:47:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=xlBo2OHjAMYVN4QHrCR5fFtkHeynyZnFGfT8359H6VU=; b=Ct1mUvytbsVvsxree/mRySRoNTBB2NWsB0a/ly9h76yse6UV5oymoqB16QV4+4rJ7Q 2TrksN2QAlbN1bSoiTP9c7vb7CO8tht6IQu6CRtN52pYY5cgoYiDwYCLYIRigNBoitaU EgTKO22hb/bq67DokZcObnhbpDr45pZPHh4UWMpe6phEOSJx7UUI4/6qydC7hpiOxzO7 mUrXgLtH/OGgJ616JZdlzx9OtZN7coEnzeUTW2/XK+2E3qjxlBCBfQ3+r1MTQUOSG7Cl 2Hv6hv+v2WYOi1+DOVdZgBqZ9SRIT/UH9+rmCZSnzuP2VXoTD2+pu0Q6LH1szATNtJnA UTsA== MIME-Version: 1.0 X-Received: by 10.107.3.72 with SMTP id 69mr19030400iod.75.1446410874481; Sun, 01 Nov 2015 12:47:54 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.36.46.66 with HTTP; Sun, 1 Nov 2015 12:47:54 -0800 (PST) In-Reply-To: <56367686.4090801@grosbein.net> References: <56348063.3090508@grosbein.net> <56348239.3050701@grosbein.net> <563500FC.8020201@grosbein.net> <5635148B.2070307@grosbein.net> <56351AA6.80903@grosbein.net> <563523CA.3040207@grosbein.net> <56367686.4090801@grosbein.net> Date: Sun, 1 Nov 2015 12:47:54 -0800 X-Google-Sender-Auth: bdFhCBPoLGMCN5ynnuDaiC5QL00 Message-ID: Subject: Re: CPU underload From: Adrian Chadd To: Eugene Grosbein Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 20:47:55 -0000 Yeah, I'll poke at it tomorrow. I should just be able to fire up this in gdb and figure it out. How's it all looking so far? Is it still stable and still performing OK? -a On 1 November 2015 at 12:31, Eugene Grosbein wrote: > 02.11.2015 2:36, Adrian Chadd =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> >> Hi, >> >> Whilst I'm thinking about that, how about we take a look at the >> unaligned accesses? >> >> I bet it's pmcstat, so can you do this: >> >> gdb pmcstat >> list *0x(address of the 'pc' value returned by the kernel messages) >> >> I'd like to figure out where in pmcstat/libpmc it's doing stupid stuff >> and undo it. >> >> Thanks! > > > I'd like to, but there is no space for gdb on real device. > Is it possible to use qemu for that? > >