From owner-freebsd-mips@freebsd.org Sun Nov 1 19:36:42 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 825E8A24DAF for ; Sun, 1 Nov 2015 19:36:42 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [IPv6:2607:f8b0:4001:c05::236]) (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 4CAE61BE5 for ; Sun, 1 Nov 2015 19:36:42 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igdg1 with SMTP id g1so43972215igd.1 for ; Sun, 01 Nov 2015 11:36:41 -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; bh=SANjMIWPM9tAMvUShlXeWLFpZV6JM6019YrLAoi/JO4=; b=ydyjXp1eJfa/4JCfqq80QtVdEBHfMM/2c1u8vq/EKdOgmQBMwncBXf5EwYP53jJHDT NZRjGSjkvWlJQeOxXkulI9ladpBXDtMaZ3sNUaSY+/B/NOl67CC/I/5t/qJPxa8To+YX D3o6FOV3qlAnqwdQiJuBnFhYhlGRqTqxl8bCcHau0lp07uUuGK2sDPb6c/2YcTCeGFxW bTGwlfa5IeeloeV8lkcC4cug19meRyYspr8emb/ro4ZQSHIHmHVl0jx2frEXANkWQWkI Pe3t430mgHEl6/oueNAMsyP1Y+C9EJfsnbKiftBN0WFyilieqy/R/YgAypsciRxeexxd 4aaw== MIME-Version: 1.0 X-Received: by 10.50.79.232 with SMTP id m8mr7489403igx.22.1446406601776; Sun, 01 Nov 2015 11:36:41 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.36.46.66 with HTTP; Sun, 1 Nov 2015 11:36:41 -0800 (PST) In-Reply-To: <563523CA.3040207@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> Date: Sun, 1 Nov 2015 11:36:41 -0800 X-Google-Sender-Auth: _HlLifmDth5nitC9dSyXD-YDWb0 Message-ID: Subject: Re: CPU underload From: Adrian Chadd To: Eugene Grosbein Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 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 19:36:42 -0000 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! -a