From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Jason@zx2c4.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id abe609b1 for ; Wed, 14 Jun 2017 13:50:37 +0000 (UTC) Received: from frisell.zx2c4.com (frisell.zx2c4.com [192.95.5.64]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id b93a0006 for ; Wed, 14 Jun 2017 13:50:37 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id de2c3259 for ; Wed, 14 Jun 2017 14:04:10 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 3dc1cc94 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Wed, 14 Jun 2017 14:04:09 +0000 (UTC) Received: by mail-ot0-f171.google.com with SMTP id s7so1191030otb.3 for ; Wed, 14 Jun 2017 07:05:28 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: "Jason A. Donenfeld" Date: Wed, 14 Jun 2017 16:05:27 +0200 Message-ID: Subject: Re: multiple wireguard interface and kworker ressources To: nicolas prochazka Content-Type: text/plain; charset="UTF-8" Cc: WireGuard mailing list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Jun 14, 2017 at 9:52 AM, nicolas prochazka wrote: > after create of wg interface, kworker thread does not return to a > normal state in my case, > kernel thread continues to consume a lot of cpu . > I must delete wireguard interface to kworker decrease. So you're telling me that simply running: for i in `seq 1 1000` ; do ip link add dev wg${i} type wireguard ; done Will keep a kworker at 100% CPU, even after that command completes? I'm unable to reproduce this here. Could you give me detailed environmental information so that I can reproduce this precisely? Something minimal and easily reproducable would be preferred.