From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938987AbcJXNNo (ORCPT ); Mon, 24 Oct 2016 09:13:44 -0400 Received: from smtp1.openmailbox.org ([62.4.1.35]:40558 "EHLO smtp1.openmailbox.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932934AbcJXNNm (ORCPT ); Mon, 24 Oct 2016 09:13:42 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 24 Oct 2016 16:13:25 +0300 From: sonofagun@openmailbox.org To: Borislav Petkov Cc: linux-kernel@vger.kernel.org, Nikos Barkas Subject: Re: [PATCH] x86/AMD: Apply erratum 688 on machines without a BIOS fix In-Reply-To: <20161024093510.od57fbvn5rsgxcua@pd.tnic> References: <20161021230143.4wwop3giwwuzbkpr@pd.tnic> <52b804e35d9e82a46b35409586475ee2@openmailbox.org> <20161022141229.4us4iqy7dhgulssn@pd.tnic> <1651fbd1076bc365aef52a804d1ffbad@openmailbox.org> <20161023095722.n77oefpmttzvzqqc@pd.tnic> <4b27ef7e7a256a6c9341cf182ebceef7@openmailbox.org> <20161023172530.buklz6ir56dmbvu7@pd.tnic> <78e7e3b73f5ad8af44710a0e104301cb@openmailbox.org> <20161023213939.d55y5yc2megztnyr@pd.tnic> <6ce351cda59585ecdfdce361d885811e@openmailbox.org> <20161024093510.od57fbvn5rsgxcua@pd.tnic> Message-ID: <714acbaa1350bfe8927ccbea2425f4a9@openmailbox.org> User-Agent: Roundcube Webmail/1.0.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Sure, give me the exact command you're executing so that I can do it > here. No command needed, just type: sudo perf stat -a and immediately exit with ctrl+C. That will give you a glimpse. See "% of all branches" next open firefox, rerun the same command after firefox launches and immediately exit with ctrl+C On that piece of crap I get branch-misses above 10% from boot without executing anything and perf does not like it so it displays it with red colour. On my quad core kabini APU, in order to get 9% branch-misses I have to open 50 tabs on firefox. Something is terribly wrong here. > Out of pure interest: do you remember how exactly you did reproduce > this > issue? Yes, using Ubuntu 16.04 will just crash everything! For example I had crashes with the software updater program. Moreover firefox would become unresponsive even with one tab. Luckily initial tests of 16.10 seem promising as it is lighter and consumes 3~5% less RAM! Debian which was lighter was more responsive and had no crashes except an oops from adobe flash. I believe that the bug is triggered by the unusually high branch-misses specific to this machine. After the fix, I got better OS and program responsiveness.