From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by dpdk.org (Postfix) with ESMTP id 5FBF61B1F9 for ; Wed, 30 Jan 2019 08:26:08 +0100 (CET) Received: by mail-wr1-f44.google.com with SMTP id f7so24917340wrp.1 for ; Tue, 29 Jan 2019 23:26:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QbHEwOprgJgXyBrCCMurrd23wmhWfyzM6GNwr13zVOg=; b=s/27n3DMtR4EZpQAlLZBYFZwC8wPC+qSvioIKsL3thw/JL+kyIx9BDDQsYPsGF4eNR 4tTVWL2bBRjb3uCq32mX2PYyAJv82u/nla5wNacQWyU9CRdhnDqaMmgZBm59dk+yHk/r F/sRvgFHSYGDnJM3L1Ql0PdPnl6Fzsqu7REw9E73Hny00oW3PCme0tQWgefdcffnytkv kyo5jzhL6oz++T8H0ZTKPou2UmBkQ5R/wXBbfZIY7dzzgkA4FacCc5KDh+gSTL7DSY6b sk07yPXT/ztYeQKKfaxM62UePtlNxZkKCDMFzZeHTUkUpUOqZEHHoInZbPgyv/BRARZC YZjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QbHEwOprgJgXyBrCCMurrd23wmhWfyzM6GNwr13zVOg=; b=R4FNL6lI5qdRkKSpz3Fjpzy8I8g9u8DU5c6u6bDzY7EjG7s7pL3q6dZISDyHcxe4qL cYEu/1pDW8OjzLwjG8sUbKEZuomYnfB3pttraD+maqxD1p7yXHN6KuwvJeXIxFbPN7hp UHWE/EhXKYG7XrmaFrvlMd1zjB82ynWOQD3bRIs+V1Ac1tBIPbzzek0xDuzABAD91J2P 1V4uugMPf2ryTt4+jBa7n6G/4XZIK2UTxPIMgz/kkrxEesc1kRHSWdNCSRzbbSz9lNM1 8DV0qSVuAvluwS9QyqVeNNY7foO7cuGjOWAjGZo75oezATvBKvyc7aqYDvpo/Wmj4iq8 zcZg== X-Gm-Message-State: AJcUukdYEaoDXGl+hjA9z3P2cQDo/yS1VtX9xxSwTVt1LtB5K7V8Jk1l a3KsqG91LeEqecTQrmrK9Voxn+wc6OzvQGGuTiJfI35H X-Google-Smtp-Source: ALg8bN5k43GR35sN1W5sze2sWRZdCf2XCcwljPipNRMX21wMZEroeHFrfqf6KyXv91X4ssi7C3uQhx4ZQtIx1AuPp8k= X-Received: by 2002:adf:fc09:: with SMTP id i9mr27713217wrr.299.1548833167929; Tue, 29 Jan 2019 23:26:07 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Rami Rosen Date: Wed, 30 Jan 2019 09:26:01 +0200 Message-ID: To: Shirley Avishour Cc: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] running dpdk application on the same machine with other none dpdk application X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2019 07:26:08 -0000 Hi Shirley, I think you are right, isolcpus is for userspace threads. ... "Use the isolcpus parameter on the kernel command line to isolate certain cores from user-space tasks." ... See: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/performance_tuning_guide/sect-red_hat_enterprise_linux-performance_tuning_guide-cpu-configuration_suggestions So if there is no way to configure JVM to use specified kernel cores (and I am afraid there is no such way), I am not sure how this can be solved. Regards, Rami Rosen On Wed, Jan 30, 2019 at 9:05 AM Shirley Avishour wrote: > Hi Rami, > > This is the printout for cat /proc/cmdline > BOOT_IMAGE=/boot/vmlinuz-4.15.0-43-generic > root=UUID=6f1a210b-a30f-456d-bf16-bbb210da5666 ro default_hugepagesz=2M > hugepagesz=2M hugepages=4096 isolcpus=1-5 nohz_full=1-5 rcu_nocbs=1-5 > > The requires cpus are in fact isolated but jvm generate some kernel > threads as well and I'm afraid that these kernel space threads eventually > use all cores. isolcpus is not applies on kernel space threads. > > Shirley. > > > > On Wed, Jan 30, 2019 at 8:57 AM Rami Rosen wrote: > >> Hi Shirley, >> >Running java based applications on the same server with a dpdk based >> application has an impact on the dpdk performance. >> Probably since the JVM generates kernel based processes. I >> >> This is true, but as far as I know, using isolcpus should prevent these >> processes to run on the isolated cores. >> >> Just to be on the safe side: did you make sure with cat /proc/cmdline on >> the kernel you are actually running indeed >> has the "isolcpus=1-5" you added in grub ? sometimes, especially in >> multi OS hosts, adding entries in /etc/default/grub and running grub2-mkconfig >> is not enough, if you boot from a different partition. >> >> Regards, >> Rami Rosen >> >> >> -- regards, Rami Rosen