From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754650AbdL1VH4 (ORCPT ); Thu, 28 Dec 2017 16:07:56 -0500 Received: from forward106o.mail.yandex.net ([37.140.190.187]:48404 "EHLO forward106o.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751220AbdL1VHy (ORCPT ); Thu, 28 Dec 2017 16:07:54 -0500 Authentication-Results: mxback4g.mail.yandex.net; dkim=pass header.i=@yandex.com.tr From: Ozgur Envelope-From: okaratas@yandex.com.tr To: Pavel Machek Cc: Mike Galbraith , Thomas Gleixner , kernel list , "mingo@redhat.com" , "hpa@zytor.com" , "x86@kernel.org" , "peterz@infradead.org" In-Reply-To: <20171228205933.GB20142@amd> References: <20171228121024.GA18152@amd> <1514467413.6886.35.camel@gmx.de> <20171228185354.GA3631@amd> <1150011514487512@web36o.yandex.ru> <20171228205933.GB20142@amd> Subject: Re: niced tasks on SMT system MIME-Version: 1.0 Message-Id: <4714011514495270@web30o.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Fri, 29 Dec 2017 00:07:50 +0300 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 28.12.2017, 23:59, "Pavel Machek" : > Hi! > >>  >>  > Ok, so I'm compiling, and I'd like to run a flight simulator. >>  >>  > >>  >>  > Flightgear normally does 20fps on my system... kinda low but playable. >>  >>  > >>  >>  > I have reniced make -j 5 fo kernel running. Scheduler gives 100% of >>  >>  > one of CPUs to Flightgear (good), but the smt sibling is used by the >>  >>  > compilation, and I'm down to 9 fps. Not good. >>  >>  > >>  >>  > Even with single-threaded make, I have 10-13fps. >>  >>  > >>  >>  > Is there way to learn which CPUs are SMT siblings? >>  >> >>  >>  cat /sys/devices/system/cpu/cpu{N}/topology/thread_siblings >>  > >>  > Thanks for a hint. >>  > >>  > Well, something is definitely wrong there: >>  > >>  > pavel@duo:/data/l/linux-n900$ cat >>  > /sys/devices/system/cpu/cpu0/topology/thread_siblings >>  > 03 >> >>  Ops, >> >>  do you fly on N900 via flightgear? :) >>  I have two N900 and one run gentoo. > > No, no flightgear on N900. It was preparing kernels for my N900 that > interfered with flying. I would like to be involved in the team and share the job. firstly I will read the project documents. > BTW there's lot of fun to be had with > N900. https://wiki.postmarketos.org/wiki/Nokia_N900_(nokia-rx51) I > even have voice calls working on Debian, help welcome :-). I use default Maemo, the n900 is already debian, gentoo run a chroot :) >                                                                         Pavel Ozgur > -- > (english) http://www.livejournal.com/~pavelmachek > (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html