From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0081.outbound.protection.outlook.com [104.47.1.81]) by dpdk.org (Postfix) with ESMTP id A9348A48B for ; Tue, 23 Jan 2018 23:33:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=PgpeKOlVcBc4aX/+EQk9At1kUAPYMNtHJsAHxE+tHY8=; b=BCTXkbFYjLeS3tbEVBfoXDBnc+FKyP1ALEbdXiwxwnhUaoE1czlCOXLVpZ0e/zVhxVt4I8AaQyyKdUIawgP37VB6ZPtZM7kSrYmCknug5UW+OmW6drszVB2H4tBg2WBLojIqTtLD1BKGSFOqGzOvcqf+U2KZJGwGBNaRDRuJq74= Received: from VI1PR0501MB2045.eurprd05.prod.outlook.com (10.167.195.147) by VI1PR0501MB2400.eurprd05.prod.outlook.com (10.168.135.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Tue, 23 Jan 2018 22:33:05 +0000 Received: from VI1PR0501MB2045.eurprd05.prod.outlook.com ([fe80::2d4b:9768:b21a:e7e9]) by VI1PR0501MB2045.eurprd05.prod.outlook.com ([fe80::2d4b:9768:b21a:e7e9%14]) with mapi id 15.20.0428.019; Tue, 23 Jan 2018 22:33:05 +0000 From: Yongseok Koh To: Anatoly Burakov CC: "dev@dpdk.org" , "andras.kovacs@ericsson.com" , "laszlo.vadkeri@ericsson.com" , "keith.wiles@intel.com" , "benjamin.walker@intel.com" , "bruce.richardson@intel.com" , Thomas Monjalon Thread-Topic: [dpdk-dev] [RFC v2 00/23] Dynamic memory allocation for DPDK Thread-Index: AQHTeLqnvCE6tnmIHEu8SC8jYl7Y16OCQs2A Date: Tue, 23 Jan 2018 22:33:05 +0000 Message-ID: <63712223-C6E5-4319-9958-86445D38F076@mellanox.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; x-originating-ip: [209.116.155.178] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0501MB2400; 6:WxQ7yxy9mA1QCRWz4IQ8ItivbcrnF79Y1fKNAyDoG/NkUYrALq8D/Sa5jpSZE3cde8wszyeDrYFhJVvONniwb7ttleaaKPNzIPvwTTcMst4XL0Dhy2j/vLBbEJlWzhj5ui8aa2TT5khao4FggE6a6ivRei4tHu2wx/2m41e+m9It3r64R9bd9/wzOjdmc5dFnn2rwpbs5RzFsBLca4UDsG5WcH0xZOjB1jzz5SfcZhmB8eB/MSLpc2Fw8TW7NMox8KH4bdnj/KAiQvjA9X1ssbmIp8AOf6rFrRIK2lJDSFbvc2Fontb+cj4tf9JwaJntcYdLNQwudO2xW9H7X2Md64kWJd5iIdF7x+SYaFnm3xP2RHG16xSByD/fW40zarkT; 5:28Zvkb/YNydZ5YNcpesPuKSkidPy1rGC2rcKVl8Gn60FZ5HInGZlbSJGlWV2Jn9Kgfyqxyo8QU+6Ub0VCu/ckVFKdoLQlRnFvE4i6soV7kCGoE2+NPLBtaSxpOWIUZuRP2tJqfE1CI8ApTo0ZVJhyxUYM1hAbmYPYXc4L1U5rvg=; 24:/SsmjjXXb7yX0NqPMQB9s3toTfbzE0Z91MOvb/3ZdelneLxrlT2tzhKicwgEC8XFOAVa7Y6Du7mtNoYmX6xJvpmEIA3pxjOkQt/18LfYmAo=; 7:cv5ZtqooMwnCXTuquXQp0754tOHPXzeizxr2ARWn1NYehwdQZ78cr9u8s1VI2kQjaWrZWepyosq7RoihfRPKLRVbZFmzxj1GmMf26vK+tFOmsr997SjURAuqRoRRN2AoAkbBCbi7LWgLya5I+mIkuPZfj5vZlBNX9nA7zFluotyItrgOfO/vsznU9xaln61eEgqFoRaqe2IRyFx4pltz6hXTk6YpvmBq3oV2pJgTowEdCYAQ20du3z7ltE/IVAfr x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: fc4a4d5f-10f9-4f48-0591-08d562b14521 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020); SRVR:VI1PR0501MB2400; x-ms-traffictypediagnostic: VI1PR0501MB2400: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231023)(2400081)(944501161)(6055026)(6041288)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:VI1PR0501MB2400; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0501MB2400; x-forefront-prvs: 05610E64EE x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(376002)(366004)(39380400002)(346002)(189003)(199004)(97736004)(6116002)(229853002)(5660300001)(86362001)(6512007)(25786009)(53936002)(99286004)(26005)(305945005)(2906002)(8936002)(66066001)(53546011)(102836004)(36756003)(6436002)(14454004)(3846002)(6486002)(4326008)(478600001)(68736007)(33656002)(6506007)(7736002)(5250100002)(81166006)(6916009)(81156014)(316002)(2950100002)(6246003)(54906003)(2900100001)(106356001)(3660700001)(8676002)(83716003)(82746002)(105586002)(76176011)(3280700002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0501MB2400; H:VI1PR0501MB2045.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: NqLUY87DdRV8PEKUr/H8hBY4qRKjVBJBDrVL/WP+fOtajGZJm+Ajghgds2V2F5gERANOfSS8BXtPQNMHkqNgSQ== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: fc4a4d5f-10f9-4f48-0591-08d562b14521 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jan 2018 22:33:05.0537 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB2400 Subject: Re: [dpdk-dev] [RFC v2 00/23] Dynamic memory allocation for DPDK 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, 23 Jan 2018 22:33:07 -0000 > On Dec 19, 2017, at 3:14 AM, Anatoly Burakov = wrote: [...] > Quick outline of all changes done as part of this patchset: >=20 > * Malloc heap adjusted to handle holes in address space > * Single memseg list replaced by multiple expandable memseg lists > * VA space for hugepages is preallocated in advance Hi Anatoly, I haven't looked through your patchset yet but quick question. As far as I understand, currently EAL remaps virtual addresses to make VA layout matche= s PA layout. I'm not sure my expression is 100% correct. By your comment above, do you mean VA space for all available physical memo= ry will always be contiguous? I have been curious about why VA space is fragmented in DPDK. Thanks, Yongseok