From owner-freebsd-hackers@freebsd.org Thu Apr 15 21:38:36 2021 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1FF9C5D94A2 for ; Thu, 15 Apr 2021 21:38:36 +0000 (UTC) (envelope-from micchie.gml@gmail.com) Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FLt4q3FSSz4tdZ for ; Thu, 15 Apr 2021 21:38:35 +0000 (UTC) (envelope-from micchie.gml@gmail.com) Received: by mail-oi1-x22a.google.com with SMTP id k18so20861386oik.1 for ; Thu, 15 Apr 2021 14:38:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=M+/NttBwKhCQDigAJCcriRzOV7a3ORqSsSatYnnYmik=; b=dHZLc4CiJJAJRn2FS3Fd712bUupRPhReN2gLfq/6NQVVstnmnTQOJJPu/dM7jmul5c I2mkG0IUEN0GkYvMZzx7D5Hv39tq/s8nNGFaEpzXYTE0Ls3JelyugMspoxr8KKiLLnyk LGDUdP73JC7zBz/4Fkm0fM9UqxvtrBidk6cZGnbYX1nQKFPvqt+xd/DvYM6KRFo1bFJJ BQgxfNPH5IDLj7AuEdjLDe/jqXEhCARpQamnU9Q8zAXv2EXBReL58CsciWdwttCkuPdx m9iEQgz9wUIV4thf0J6dbGpY/3CBP4C97Y72omgwTfCXVc+hgxWCQ7N2q3x1J+50TyxV ixyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=M+/NttBwKhCQDigAJCcriRzOV7a3ORqSsSatYnnYmik=; b=jYL+PezqhR111ibihGRljDETLd/p4CnNr64ssDDTh6gjAcdC4PphfOeIUiEJgH3Wgk EseBemSJ4KaS5ZgFrNspafFviTDzZ1yu8YNiAp6e/zIdm3oT8LzCVeHHYEpiTc7fVUii 0RSZy6/evBQsM/FXhNMQT4mknra2F9uHt5Zv/YVbONAxIRWGrtWE1Kn3NkA876F67iO6 an/qW2Y2gwfKDEOiIsRVoEZbi8iJLopY76q7b4EhakSbhlYIc8U5dcEJCQjPXvA+a7LR s3cy6zPHFpZpLu0fuRBe6b+fo7HPGAL/W5t2RzsjtUwboTbsp6EWODs+7qJDHi1gyAcw 01gg== X-Gm-Message-State: AOAM532rJD4PR7KQixX0UoO1jl79fSJsREj0MVL2Tp0k+rQAeExZiBGu V2AoVssMEwyTbZ0hN8BR7YBd/kukzlbrgZRQ8eqjAf2L X-Google-Smtp-Source: ABdhPJwmMC33YAnwe0PIWdt2dJUlk+4i8MTroRCKrZza+5K9oBaQ2FGRUDGajb+OT+UwWngtm2uI8Ucva5fl8z+0v+c= X-Received: by 2002:aca:130f:: with SMTP id e15mr4053756oii.73.1618522713190; Thu, 15 Apr 2021 14:38:33 -0700 (PDT) MIME-Version: 1.0 From: Michio Honda Date: Thu, 15 Apr 2021 22:38:22 +0100 Message-ID: Subject: How to pin an interrupt thread to a specific CPU core? To: freebsd-hackers@freebsd.org X-Rspamd-Queue-Id: 4FLt4q3FSSz4tdZ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=dHZLc4Ci; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of micchiegml@gmail.com designates 2607:f8b0:4864:20::22a as permitted sender) smtp.mailfrom=micchiegml@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::22a:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::22a:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::22a:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2021 21:38:36 -0000 Hi, Does anyone know how to do this? I want to ensure both my kqueue-based TCP server app thread and the interrupt thread for the NIC to run at the same CPU core. Cheers, - Michio