From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0098.outbound.protection.outlook.com [104.47.2.98]) by dpdk.org (Postfix) with ESMTP id B9573237 for ; Tue, 5 Dec 2017 07:58:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector2-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=oKJx0LwT81OKHW6PzKv+sQ2B0b+t0moFFHxo+aMTbB0=; b=hV344GMP9nyrbgFay5WEyUOOK83wNZ/5urx24NzoGfB+A2QO/UPUjsgsKpnvsZ5YH+b+ExcDX/04Jq5UhXWma+SS4krZ/zz6Zmdc7iYwTEJVxao90WX4D0vaF3Kt8NppZgkdOeeflt8z3tHZYoIFRc3PMB2cv1a1qEfbHZjEE4Y= Received: from HE1PR07MB3449.eurprd07.prod.outlook.com (10.170.247.144) by HE1PR07MB3450.eurprd07.prod.outlook.com (10.170.247.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.282.3; Tue, 5 Dec 2017 06:58:53 +0000 Received: from HE1PR07MB3449.eurprd07.prod.outlook.com ([fe80::6903:c1ed:a83a:dbd7]) by HE1PR07MB3449.eurprd07.prod.outlook.com ([fe80::6903:c1ed:a83a:dbd7%13]) with mapi id 15.20.0282.010; Tue, 5 Dec 2017 06:58:53 +0000 From: "Wang, Wei 5. (NSB - CN/Hangzhou)" To: "dev@dpdk.org" Thread-Topic: The limitation of VHOST_MEMORY_MAX_NREGIONS in virtio-user with vhost-user backend Thread-Index: AdNtcbE2BaObdXMdQWCI5xLg0saOhg== Date: Tue, 5 Dec 2017 06:58:53 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [131.228.32.189] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR07MB3450; 6:pAkF1+4DmBV9hzhynEDH7KlLERLS+kC3+re1rDQ2KmutavebKDsNXHiYzaAuwb3A1MV07b6ymcc9sbv2zBiBmU/JdYr54sGkugT1TTFpCw9yGTyStRZoG0vkirHHyWQN61Y4tQidbMRe3eJlD+21v6lwZiI6UDOtz7HnZw1q/1LCR+w8A05nRQT/Kh8e/TjR6yew0EOZgCWExjUxlujM7lu8BjkiAUOFVIrhLALXk9917D4ZayrZCvaqzThh4kswbyaaTcqiZy7zISwCNP3aO1jWqeFBpt1NyrQyS6y12A4d/ZOHjy59RBxNycTJcAZprzkMoUok+2+hE//mAmk1FmNuAu4nxLvGpZVQJCp8XpA=; 5:qSywe1jH+SQBo0qgkAJqvkKsJbAmFf7TvKVd80ggzbjFvNWoz4b3vSVC2d+WtA8QkLVU1pyPsZPHHe+iCIZKcNyifmBmNIWw9GyPi/M/MFnzKKfVoYuRuTj5PqMlge0nVED2KciIjiygCg35Wrb9K575cWLVEngeUO5VblGBiFc=; 24:5grLe77MQaJDy/Iw3sakFpVfb75cDHuh1Dt3ovqJeNHrVDx9OOFXSFM/ScMtEj4iG4o6XTCveVcLTwXe3AynJKmVPXsq6cSKzZfBbi0tKnI=; 7:1rscBncdP1Vt4a+0EkA4zoeceRMskBBUbyO3kOqGCc43tAV27iT/CHq6o9FLUhNTydPhoWJO2KdqUHD3iBhrfStdIBlrDXD2XpZcPOQrVV86HkRy8er3f2UhCuMtHUyXL9eNXZpC/w58tH4N4CKbB8SlA/VLnCLKy9o4yhE3V0uZ6j06291zlEZ5czSj5FebrPiCIDzqoLzxg0buASZ1p9zNa6B+Lvl8Eb68DiJMuzvmTutqkrulAMRld+AkBKF0 x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: edf58584-3cbf-4cb5-6d27-08d53bada5ae x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(48565401081)(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603286); SRVR:HE1PR07MB3450; x-ms-traffictypediagnostic: HE1PR07MB3450: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(3231022)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(20161123562025)(20161123558100)(20161123564025)(6072148)(201708071742011); SRVR:HE1PR07MB3450; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:HE1PR07MB3450; x-forefront-prvs: 0512CC5201 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(376002)(366004)(346002)(39860400002)(199003)(189002)(99286004)(8676002)(2501003)(8936002)(478600001)(74316002)(66066001)(86362001)(3660700001)(5660300001)(6506006)(25786009)(101416001)(5640700003)(81156014)(3280700002)(6436002)(5250100002)(1730700003)(966005)(81166006)(6916009)(68736007)(3846002)(2351001)(54356011)(7696005)(97736004)(6306002)(14454004)(9686003)(189998001)(7736002)(105586002)(53936002)(55016002)(6116002)(102836003)(305945005)(106356001)(33656002)(316002)(2900100001)(2906002); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR07MB3450; H:HE1PR07MB3449.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:1; LANG:en; received-spf: None (protection.outlook.com: nokia-sbell.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=wei.5.wang@nokia-sbell.com; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nokia-sbell.com X-MS-Exchange-CrossTenant-Network-Message-Id: edf58584-3cbf-4cb5-6d27-08d53bada5ae X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Dec 2017 06:58:53.7533 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3450 X-Mailman-Approved-At: Tue, 05 Dec 2017 09:38:32 +0100 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] The limitation of VHOST_MEMORY_MAX_NREGIONS in virtio-user with vhost-user backend 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: Tue, 05 Dec 2017 06:59:00 -0000 Hi, all In DPDK document, it it described that Virtio in containers Cannot work whe= n there are more than VHOST_MEMORY_MAX_NREGIONS(8) hugepages. In another wo= rd, do not use 2MB hugepage so far. Do you know the reason of this limitati= on? In my envirionment, the pdpe1gb is not set in cpu flag, so hugepage can't b= e set to 1GB size. The hugepage number shall be more than 8 So is there any solution or workaround to fix this limitation? Or change dp= dk code to fix this limitation? Vivian seat: 19009 phone: 13738006921