Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp809242imw; Thu, 14 Jul 2022 11:08:52 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tVEOa4semKbGVa9uiQCFLM8Us3z3MyUPuUXcusUlYjRErxWAJybZVpFd3y+B/e4xr7owe5 X-Received: by 2002:a05:6808:170b:b0:335:1807:e4a2 with SMTP id bc11-20020a056808170b00b003351807e4a2mr4899319oib.89.1657822132055; Thu, 14 Jul 2022 11:08:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1657822132; cv=pass; d=google.com; s=arc-20160816; b=z9vgY3qnw1KRfJnhN0JxppZjcuszTIUQ0+xKficMkvlLpbBo709M9yIBHo3EkKvWE4 vH5rLDACM3cqtJMxSVz/nJ1S+CO/pw88u9re7Ubjasa8b0WNz7H3G783ln42450djVfH foiOUe1MUQoqswP9/tOLohYEwYwThrXo14dn+mA1zVoZX6dU7Cm0AafP+eK6RlIKnrbk aWTi20htXiFl1HQOS2yJIdEIYgYWvwvctxWTAfWnNWVBEvgZrRA5sexPj78rZ4nlJvcm YammlaC6r/zMReUwoUaTYK6JS+Kyl6GzD0r8VEmK9T+N5C/ti6HIjk4xxYxl/rjYPQ1b LULw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature:dkim-signature; bh=LhboHYCs2RMoSKQiyfr06fx3B9FmeWAMShplbtGV9fc=; b=dmlKhjI83CyTH/THVkOvSRLA65Vw/xGb9j8KBz1flLKA96IuiJrySKGqDgCOzazzmk taXPMjXYQ2AcVSnSn/i8CYORHwa+XG/YA5vEXQUXY05YPQx4zlqQXqKXToBFgQ3ZDXuM CipjTbfEgANBr5SxB2N7KH+9O28VsizpqMW3ZGysYa2kC9Zx+86Yrw+Mc0cvUYu9rMLM 84sfME+MBzXxxr1DaejiLA59ZFuVARwPLX94oIm0r1NYyQVyShv1QX3ctVvHXdGaVq+B 4JqQ/Vko8TUsi/KxOZ38ev7qHVWNl/MzgQmhk6/xukBYpOCLcoOf6D6wS++SxAQGvePw oZZw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=wn1AHHAK; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=VrKGoHB1; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c79-20020a4a4f52000000b00425812098c6si1981185oob.40.2022.07.14.11.08.28; Thu, 14 Jul 2022 11:08:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=wn1AHHAK; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=VrKGoHB1; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230512AbiGNR5C (ORCPT + 99 others); Thu, 14 Jul 2022 13:57:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230219AbiGNR5B (ORCPT ); Thu, 14 Jul 2022 13:57:01 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1ACF012604 for ; Thu, 14 Jul 2022 10:57:00 -0700 (PDT) Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 26EG0ac4026579 for ; Thu, 14 Jul 2022 17:56:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=LhboHYCs2RMoSKQiyfr06fx3B9FmeWAMShplbtGV9fc=; b=wn1AHHAKxAUwhmxGQIubEPPUO5J8uGdJOnasrZX3nXJPImMJgdn4RRB6lnzlhq8Ui05R +4ad2ge/ayxRpHDx+svkKfgv0qh8UPWZONYKzBeiZe3FbBcfvJjYPJjdYNRZ1fk9TNYY Zn7BlncmzUm4xQXND1mP2o6Kj7wCl+CgdGGe8DuZexjE6mMeMzKdDx37NYxpN0Hw0Rcl JiCNfG6TXSxyHN8akC0duimg6+6xUFp4dMgAPVeEDCJTVmxclro+TUAFS6lB2KtZxKTk clluya2hPVqihNsLDqPAZ725J2xRVal8621m8/JnwShNmzLEE783UaSHO8ypfh21ibxy KA== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3h71sgw8t4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 14 Jul 2022 17:56:59 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 26EHuiRY021361 for ; Thu, 14 Jul 2022 17:56:58 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2108.outbound.protection.outlook.com [104.47.55.108]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com with ESMTP id 3h7045u8wq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 14 Jul 2022 17:56:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TTFA1mcXTY8QKMGKzU7Cztl+wuk93eVDuxAjq3TKSZo0V0CFhgcAzmsSCKE+OsEeoNvU2TCHctC1MB1FLRCp0PTZ+sLKqWFWgtFL62yhLYwXPQ0EG5CWE6HVqQfA0l/1FOZMQidm9zBHlmPzS4FRXhD0L/rpqPToPFXUo7Wb19QldzJjZPPFdoaTLWsS5K/667cCReiFfgDrFG3TuCN47nZj2WO1sWt84HfM7XqD/OkPMmGZtxMQpPdHLgjPYTTHRiAJMdIc7VIL4Qbqc/vxxqesZakir/JfbPhmJBQJ0BrCh1XmMbLcKcXQB47QrRiB5n90ruPdO4tGPoNFc1Zjkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=LhboHYCs2RMoSKQiyfr06fx3B9FmeWAMShplbtGV9fc=; b=k7x/BOsb9SHjfVtToXGLUd18boL0eM/cDRWp1dHlSGD7c+S6y44j3C1/vEEVZvorg3vwvt2MUbPU5FZbGx5NLSJ3uOUrkUDswHXpiWgTLofPjYp0EjObX9Hm5vthzkSBCGgkfwxcZ9HgG48+hkdoozArS+6+iS753RE/+ab1KfTMBRCM3oRlb/TmPjJzVQKUiiw1p7vvGjpJpinyGtn//uIwlIqrMiqC0Oux4Hq3GNY0tYvrgE5ziDLLm8I05o6hQLDkldFvSxLlXyyPrTEjMCQz6+ZsGtvyyEIqZPEw69tpqO6CUDZYswj2GI+zbXw33mkBY2W0+ev3raxmP2rJOA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LhboHYCs2RMoSKQiyfr06fx3B9FmeWAMShplbtGV9fc=; b=VrKGoHB1vZERx/zyLzYqNmpjOkSZhyQZDxLfEP+jcnBtfJPqQqqYUV7tK61PtCCpZRt49rn8Bro28VmRMfA1EOmg8/LHsyBOumTdLyCOjcZDqPQDPSeygUXAqmoIjQMGgBbICx38FEhVnBXDV4qmIL9L3E+8VNc2Ytj0htGAnJs= Received: from BY5PR10MB4257.namprd10.prod.outlook.com (2603:10b6:a03:211::21) by CO1PR10MB4644.namprd10.prod.outlook.com (2603:10b6:303:99::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.20; Thu, 14 Jul 2022 17:56:56 +0000 Received: from BY5PR10MB4257.namprd10.prod.outlook.com ([fe80::d90f:4bba:3e6c:ebfd]) by BY5PR10MB4257.namprd10.prod.outlook.com ([fe80::d90f:4bba:3e6c:ebfd%4]) with mapi id 15.20.5438.014; Thu, 14 Jul 2022 17:56:56 +0000 Message-ID: <30ec26a2-cf4d-151d-9045-bcc382c633e5@oracle.com> Date: Thu, 14 Jul 2022 10:56:53 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v2 0/2] limit the number of v4 clients to 1024 per 1GB of system memory Content-Language: en-US To: Chuck Lever III Cc: Linux NFS Mailing List References: <1657815462-14069-1-git-send-email-dai.ngo@oracle.com> <86EDD9A1-CB3D-4E3F-B4EB-0FEB3EED37F2@oracle.com> From: dai.ngo@oracle.com In-Reply-To: <86EDD9A1-CB3D-4E3F-B4EB-0FEB3EED37F2@oracle.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DM6PR02CA0147.namprd02.prod.outlook.com (2603:10b6:5:332::14) To BY5PR10MB4257.namprd10.prod.outlook.com (2603:10b6:a03:211::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ea6bae3e-f3b4-4be6-1e22-08da65c23db9 X-MS-TrafficTypeDiagnostic: CO1PR10MB4644:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DVckjBuv+JVMTR/5WuavdfO5QngLJPVV7V7jl1QqYvsm51gMbfIDzsUXbdbWkImD3enkEeQy/LOL6JDh/EOi5v26Agn8UGVh2R7bgCt4sWssZsnr0kUml4mOCE55j87x8cyKarR7k/D2FwA2HMicmCOeR41ogOoO0mQMQK0WlskR68vQK4YJs7KwMvkAK3NL3H4QR1pEagWQ2zezOh/yu2N38xUkNkJNSQUngHWi3GkALeOPyc54zS8h8px8nb+r32xjuP3BOrJB6dHhBcanzHDc90Bd4vyqlZGp4Rd1f8EWCK6JsMwBusCEAx/HvGHiz5KBKq4tSTusrzJ70D2CNVyxZglYtrTnj3rz9tKLN4XW3ZMcrb4ch3uT39XcipnTuHnsqkuLOOrLYnDPs3TZabkiS0Ficf+fZO3rj8IuJRFzLjjSxaC0jivZTSe/igPy8eygkcEAnzXZo9OkJrShYHguoatW15L9IVC3qIOZge1tbNKuLrWfd910eKYiwgHVPLxzQMlEOxVNrp6zduEvqqBr+7kEdUfz++kq/9K0Fr6xWA4DtQXtvrZqs4F4SjHXfz9danmoJQzMTBbDxmXps++GiVboApEs1hFm2E+8oDd0ikqo0AtaN2ZzF+5Atsaye7pk0p8ymyxcrrXnBzddIaO69zu/qhoyYbJOf31l1td2o3q6iPJFHr+e+NJyGb/xRIsvYSA+OnOO8zTIXGMAHCcrG/QINwjsvRND6rwQLdzdbowbZ3khO9QdDPoOfAMEzTbkc26tWyBRJ23y8oLnY2NMvSEATDUgzOzX5rN+6wUW6FFCzp35HWIZuM6UQZ2L X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR10MB4257.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(396003)(39860400002)(346002)(136003)(366004)(376002)(66556008)(36756003)(8676002)(38100700002)(478600001)(316002)(37006003)(4326008)(31686004)(53546011)(66476007)(66946007)(83380400001)(2616005)(6862004)(86362001)(5660300002)(41300700001)(6506007)(186003)(9686003)(26005)(2906002)(31696002)(6486002)(6512007)(6666004)(8936002)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QWIvQWRMVVgrSW55cFlTOVFaWUZjUlpST2kzNlRSWGplN3dSMjRnR0R0V1F3?= =?utf-8?B?djBhUFlqVk5LcENlMXYxQmtNWWpZOFBITkVIZ2lSWi9PenpxSGMwcVhCZlBm?= =?utf-8?B?Qjhxa29waG96QUFTcTVUS1oweTlpYVY5MkhmWmIreWxNanRFZ1FpcUQ0YVd6?= =?utf-8?B?TGU2bnhZSldKQjhJaHkzRkF1MlRrQ3lzaTZuNlZlV01IQ0JVNG5GWURNLzNS?= =?utf-8?B?YnQ5RTh1a0lnd1g2QUUrRzhGaU5hdHRLa1B1SzJhY2pLZWlZVFp0Rm1HT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FuQStMeFRZd0VrMVFwTTRwUTlX?= =?utf-8?Q?s6xd/ieO7ZGyKXCLd7WUiMR9v?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: ea6bae3e-f3b4-4be6-1e22-08da65c23db9 X-MS-Exchange-CrossTenant-AuthSource: BY5PR10MB4257.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2022 17:56:56.1667 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: t0cAoEr9CBHYpwD4v3gLI2Q3AB3DFQUrcflHG5b4wObKPz+41C+j/zXHo6FXuHHHnC3X5dYRXvgQrEFB4DxINQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR10MB4644 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.517,18.0.883 definitions=2022-07-14_15:2022-07-14,2022-07-14 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 phishscore=0 mlxlogscore=946 suspectscore=0 adultscore=0 mlxscore=0 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2206140000 definitions=main-2207140078 X-Proofpoint-GUID: qhjARcaepoQasUX9TVeQf7Cxhe-A8J-D X-Proofpoint-ORIG-GUID: qhjARcaepoQasUX9TVeQf7Cxhe-A8J-D X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On 7/14/22 10:18 AM, Chuck Lever III wrote: > >> On Jul 14, 2022, at 12:17 PM, Dai Ngo wrote: >> >> This patch series enforces a limit on the number of v4 clients allowed >> in the system. With Courteous server support there are potentially a >> lots courtesy clients exist in the system that use up memory resource >> preventing them to be used by other components in the system. Also >> without a limit on the number of clients, the number of clients can >> grow to a very large number even for system with small memory configuration >> eventually render the system into an unusable state. >> >> v2: >> . move all defines to nfsd.h >> . replace unsigned int nfs4_max_client to int >> . kick start laundromat in alloc_client when max client reached. >> . restyle compute of maxreap in nfs4_get_client_reaplist to oneline. >> . redo enforce of maxreap in nfs4_get_client_reaplist for readability >> . use bit-wise interger to compute usable memory in nfsd_init_net. >> . replace NFS4_MAX_CLIENTS_PER_4GB to NFS4_CLIENTS_PER_GB. >> . use all memory, including high mem, to compute max client. > Hello Dai, I applied these two to NFSD's for-next branch for early > adopters and other testing and review. Thank you Chuck, -Dai > > >> --- >> >> Dai Ngo (2): >> NFSD: keep track of the number of v4 clients in the system >> NFSD: limit the number of v4 clients to 1024 per 1GB of system memory >> >> fs/nfsd/netns.h | 3 +++ >> fs/nfsd/nfs4state.c | 28 ++++++++++++++++++++-------- >> fs/nfsd/nfsctl.c | 8 ++++++++ >> fs/nfsd/nfsd.h | 2 ++ >> 4 files changed, 33 insertions(+), 8 deletions(-) >> -- >> Dai Ngo >> > -- > Chuck Lever > > >