Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751028AbcCHR6M (ORCPT ); Tue, 8 Mar 2016 12:58:12 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35966 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750817AbcCHR55 (ORCPT ); Tue, 8 Mar 2016 12:57:57 -0500 Date: Tue, 8 Mar 2016 18:57:53 +0100 From: Ingo Molnar To: Dmitry Vyukov Cc: Peter Zijlstra , Wang Nan , Ingo Molnar , LKML , He Kuang , Alexei Starovoitov , Arnaldo Carvalho de Melo , Brendan Gregg , Jiri Olsa , Masami Hiramatsu , Namhyung Kim , Zefan Li , pi3orama@163.com Subject: Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Message-ID: <20160308175753.GA3015@gmail.com> References: <20160308162703.GB30211@gmail.com> <20160308164438.GA24109@gmail.com> <20160308164859.GA27516@gmail.com> <20160308172425.GA3017@gmail.com> <20160308173709.GC3017@gmail.com> <20160308174856.GA28862@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160308174856.GA28862@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1520 Lines: 30 * Ingo Molnar wrote: > Things got a lot more lively after that! > > But most of the overhead seems to come from systemd trying to dump core or > something like that: > > 85872 mingo 20 0 34712 3016 2656 S 4.6 0.0 0:00.14 systemd-coredum > 85440 mingo 20 0 34712 3028 2664 S 4.2 0.0 0:00.13 systemd-coredum > 85751 mingo 20 0 34712 3076 2716 S 4.2 0.0 0:00.13 systemd-coredum > 85840 mingo 20 0 34712 2988 2624 S 4.2 0.0 0:00.13 systemd-coredum > 85861 mingo 20 0 34712 3080 2720 S 4.2 0.0 0:00.13 systemd-coredum > 85954 mingo 20 0 34712 3028 2664 S 4.2 0.0 0:00.13 systemd-coredum > > and I have: > > fomalhaut:~/go/src/github.com/google/syzkaller> ulimit -c > 0 > > weird ... Has any of you seen such behavior? So the workaround for that is to disable systemd trying to log every core dump to the system journal (!), via: echo > /proc/sys/kernel/core_pattern Thanks, Ingo