Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp1828087rdb; Sat, 20 Jan 2024 16:05:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IHPuJ7cOeN4PvRCsRBpRKmacRTeyy5RpvLQNj8iypxHZNwqXvQ56lEEv3ydpyD946lyeA3a X-Received: by 2002:a05:6a20:8403:b0:199:359b:7e6d with SMTP id c3-20020a056a20840300b00199359b7e6dmr2547278pzd.108.1705795500582; Sat, 20 Jan 2024 16:05:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705795500; cv=pass; d=google.com; s=arc-20160816; b=dNWvvfvbyOwgKKyaQjEQoZosXmMYdRewXtgcpH8nyYJb6elOjMqy4V55vztegINDVh NJKb/nL1IkcYtrWKPXCkrFqqVT2VdFbYtN+ERwAtLJ7qyIP17uR+kZ/LnQ2tctImuUcG ZGAp8O8Kw9k9hr7hvA3sSopscPedq6Zoev7gRzBNzLmjO8agJ6xbzxCyvrQrzF/DgV1E 7QB/XTbbo+ewCTP11F3M6YBDC+OYnlxKtCYfsJoY/7M+QABtIb9+yykb4FF1nkY+aiBS gqZ9xZGiXktj1otyUrnaY2gGkn/jEbWipRfRtMoofCrQfiW5bT+CiD5tGaL8H7rD5Z0v GmEg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=st7iVNZ+1V2FHY2fuEvOmKbUbqLcSSt8iKDHfulcfHE=; fh=OpmAHzvA4s0mMKls3SM5JgNxG6ilBNLQ+gpAqpauLho=; b=DRzboE56PqDc2C5JUkvC6SJUYlJ+GZFab73bKH27t4/FkSW95ONRHj4nwDG3hLtBUC qDS0laGagOE2HY/w5xp4G+cJmJu5pnOWyJ5OrAISbwsnVdyIokK2QMBBROH2kqzW+Mg+ 6ex54F4/Lu+pkzPw6NbQNYf/CCSwADTDMIoprCPiB6HtXK/aWktiKDkyZHKaC0ZFukYm wRzOEygGWjborrmOx8Y/PF6mra9KU5Ikx0Qfs9lsSLmadW3x19oULn+gOJywytlTcv9T Vwc/ufjweQ19kGRT+WFVqdjP4gA53dqqOEJSm7WpZ/54g7S7rNWDlGee+jHI+c4BbqcW +zuA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@layalina-io.20230601.gappssmtp.com header.s=20230601 header.b=UjPGCFjV; arc=pass (i=1 spf=pass spfdomain=layalina.io dkim=pass dkdomain=layalina-io.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-31940-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31940-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 14-20020a63154e000000b005ce0160b1d3si5718524pgv.851.2024.01.20.16.05.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jan 2024 16:05:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31940-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@layalina-io.20230601.gappssmtp.com header.s=20230601 header.b=UjPGCFjV; arc=pass (i=1 spf=pass spfdomain=layalina.io dkim=pass dkdomain=layalina-io.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-31940-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31940-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 24CF62823D1 for ; Sun, 21 Jan 2024 00:05:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 758E4ED3; Sun, 21 Jan 2024 00:04:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=layalina-io.20230601.gappssmtp.com header.i=@layalina-io.20230601.gappssmtp.com header.b="UjPGCFjV" Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF31E379 for ; Sun, 21 Jan 2024 00:04:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705795490; cv=none; b=CYe/idGZVJ1DkeddNdAAWJziHDiq0past3dd2RQldaZYePn6MU7P/wXmLKA+qyzrHJSN/XnPtu8VuUuMA30KQUNhtV/9WYE3TUqwvqTHkumFGN9wbB/b3A462jal2IM7x/d5iXMhVekZTEpfKbW5C5tr4H0oNtF85JgrPi4hnL8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705795490; c=relaxed/simple; bh=7zYfoge1wGb12dswxvvyl9Z9+xVSot71rsCj7fShR1c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TPpwZ2O1NLIriqfqlVZBVY76ZR3WE2uSvPZEqjrNCO3stycku3Kr6bHDqtUhHpjfIWsQVQZXO12WJmHCYSKSmtFf2RBddW+tysXLT4B7oS9FM+Fx+4OMEhw/5KfmJpE0OJAqPmPrlwnG4J856hpuoXb52Wv3KZhDE8OdgNCUuAY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=layalina.io; spf=pass smtp.mailfrom=layalina.io; dkim=pass (2048-bit key) header.d=layalina-io.20230601.gappssmtp.com header.i=@layalina-io.20230601.gappssmtp.com header.b=UjPGCFjV; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=layalina.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=layalina.io Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-40e87d07c07so25324815e9.1 for ; Sat, 20 Jan 2024 16:04:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=layalina-io.20230601.gappssmtp.com; s=20230601; t=1705795487; x=1706400287; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=st7iVNZ+1V2FHY2fuEvOmKbUbqLcSSt8iKDHfulcfHE=; b=UjPGCFjVuUwHKMk7opIZM+q44XE0suuL/19K17Hbs1Fk1dn1b0MpqSkTjZ/zSi81xm guXLx96EqlzBj8/VSu9QKfpvOj193+jEMYn81Tf+/lCxNP/ZsoLhNUPP3XpeukrkHwKC h+pB+Qrs5E3yCSP6t2dXALSFbjCDhj7AN75kKKgReQZSUPfm3dcBw9dIqwJTfdsolOg9 y+6jPj0qdIS9miGgflPP/S0jpPXQEUIwpH9mxGN4PGzq01CbjMuOBZZZjXmNEUER8/WB jCsawl6U9zyZNl4edkuUktCAe/Sj3h1CHqADkTNv5FngzEn6amos0T7oo24wjY963HuA S5YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705795487; x=1706400287; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=st7iVNZ+1V2FHY2fuEvOmKbUbqLcSSt8iKDHfulcfHE=; b=Eep9EAmvA1UEzo9Q/e/NX3hmPTXBSDYdXPr9ReXgdRgEIAUTXO6mfNdT2qR63wDNop v2BkRmIN8zYUrk1hJTgPnAG85ZXa7qRx7bKJkZ+QYyRrva67HSSmKLW0chaOCfZLRF4p fPpvevEBmeL0zn348IuNDn7r1I12GfqEGRE/rRLUiayX+PSyX20H53hD5q406fkDFMYb KgfTiPqXcCgUA4hYmQ7XpmNoyRy9gyFM7/0NzqZpHvxTTHFk5knsU9WHFStI/RbKgjIC sbSqjxLUiM/UGvJHVG/Vb8yyej97DtmxBzx3fMXOLujygy1mzw+6UuG93glHXj1gZUiR 4awg== X-Gm-Message-State: AOJu0Yx8dzYmo4DuCoMsOzBVDjr5uTEY40ee780s18P+CdBCtRXcg1K7 Lhz2bCbihUAAH9gB8Zh9lViSuIrh/0cOVRuFJI5vQ/h1cwKim8443LvWzzFmRyk= X-Received: by 2002:a05:600c:310f:b0:40b:5e59:ccdb with SMTP id g15-20020a05600c310f00b0040b5e59ccdbmr1130429wmo.188.1705795486980; Sat, 20 Jan 2024 16:04:46 -0800 (PST) Received: from airbuntu ([213.122.231.14]) by smtp.gmail.com with ESMTPSA id 2-20020a05600c020200b0040ea00a0b75sm1255381wmi.0.2024.01.20.16.04.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jan 2024 16:04:46 -0800 (PST) Date: Sun, 21 Jan 2024 00:04:44 +0000 From: Qais Yousef To: Ashay Jaiswal Cc: Ingo Molnar , Peter Zijlstra , "Rafael J. Wysocki" , Viresh Kumar , Vincent Guittot , Dietmar Eggemann , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Lukasz Luba , Wei Wang , Rick Yiu , Chung-Kai Mei , quic_anshar@quicinc.com, quic_atulpant@quicinc.com, quic_shashim@quicinc.com, quic_rgottimu@quicinc.com, quic_adharmap@quicinc.com, quic_kshivnan@quicinc.com, quic_pkondeti@quicinc.com Subject: Re: [PATCH v2 8/8] sched/pelt: Introduce PELT multiplier Message-ID: <20240121000444.ghue2miejmiair6l@airbuntu> References: <20231208002342.367117-1-qyousef@layalina.io> <20231208002342.367117-9-qyousef@layalina.io> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Hi Ashay On 01/20/24 13:22, Ashay Jaiswal wrote: > Hello Qais Yousef, > > We ran few benchmarks with PELT multiplier patch on a Snapdragon 8Gen2 > based internal Android device and we are observing significant > improvements with PELT8 configuration compared to PELT32. > > Following are some of the benchmark results with PELT32 and PELT8 > configuration: > > +-----------------+---------------+----------------+----------------+ > | Test case | PELT32 | PELT8 | > +-----------------+---------------+----------------+----------------+ > | | Overall | 711543 | 971275 | > | +---------------+----------------+----------------+ > | | CPU | 193704 | 224378 | > | +---------------+----------------+----------------+ > |ANTUTU V9.3.9 | GPU | 284650 | 424774 | > | +---------------+----------------+----------------+ > | | MEM | 125207 | 160548 | > | +---------------+----------------+----------------+ > | | UX | 107982 | 161575 | > +-----------------+---------------+----------------+----------------+ > | | Single core | 1170 | 1268 | > |GeekBench V5.4.4 +---------------+----------------+----------------+ > | | Multi core | 2530 | 3797 | > +-----------------+---------------+----------------+----------------+ > | | Twitter | >50 Janks | 0 | > | SCROLL +---------------+----------------+----------------+ > | | Contacts | >30 Janks | 0 | > +-----------------+---------------+----------------+----------------+ > > Please let us know if you need any support with running any further > workloads for PELT32/PELT8 experiments, we can help with running the > experiments. Thanks a lot for the test results. Was this tried with this patch alone or the whole series applied? Have you tried to tweak each policy response_time_ms introduced in patch 7 instead? With the series applied, boot with PELT8, record the response time values for each policy, then boot back again to PELT32 and use those values. Does this produce similar results? You didn't share power numbers which I assume the perf gains are more important than the power cost for you. Thanks! -- Qais Yousef