From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-f48.google.com (mail-io1-f48.google.com [209.85.166.48]) by dpdk.org (Postfix) with ESMTP id ABC661B4CB for ; Sat, 1 Dec 2018 10:03:47 +0100 (CET) Received: by mail-io1-f48.google.com with SMTP id x6so6527667ioa.9 for ; Sat, 01 Dec 2018 01:03:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=wa35Yc/jLyLGaCkGpBNE/vpbmtEnCULXyTvWBkdJk5s=; b=H2yKQTb37bfPrrtBujGTU93S/0CsiL900rwUZYK/u2Lpe2Y73CHSjocviUV4Z+tqUq sPezyPgwNiat1ROOS2GJ1yAXMDkK1nll9lvWsclflp6FWSpUYPzUF+D8sWTexWcHS4pE gmR8xCXF1Dj9zNfQbaAITZWE4s6gMi3nSO54nYBSg0f37Wofye+1t4T2U8mnWJx0qaEC bSGiF0W7J6uO1q/aG348WlrUuxK0REPqAOu5VRxwLtrRl09pDcfpQpWG14n7RWr+0Qxs YBkJEnPYm5PZzq/1tR3CAjAx/J2T2QcxFYjsxY+nH2f74o46ynBUxPFRD4UtpMn68FUy 8aLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wa35Yc/jLyLGaCkGpBNE/vpbmtEnCULXyTvWBkdJk5s=; b=Zlg++Z6e/p9ti0a9w7+q8JDdO1HEUjNf9V1tGMP8tZofmGVVuM89J/+Du6cEgjtu4c dKsjGdtGjio1gJ0iS0xfwKZC6oZ148/UwNOUfYJs6KGvV6bWwLt4Z/0UPwwxGrhHxXpW 2wuWX64T3MQmRtYKUrrh6ORCTKqRTRheGyWuU0wUZX3g5oOZxRYqWnwEUN5njAhl90XR JecbQBm/Dy1OBdk2Yv2dzHuVc+ZjLLJsuYMtWJWbrXxNY6o61EfzdPiaBdu4y/D0y57R ME6pWQrWxjlXlT6DAJwgi5aFjN50xAeSjRhalM2ZTKDaXc4/B0vyi6OwTnuSDxI0W4o3 P6Eg== X-Gm-Message-State: AA+aEWaWIpbQlb3imeHugnbG/EyMqPWPykrkTeKyTceMLexi3bc5yPY7 ZzG1OQ111BLQ0uCeAZ6cY0R+eyUzJIi5Iq8cXSeqfTZHo8Q= X-Google-Smtp-Source: AFSGD/UIrpr4lF1Yy0BhU6ZQ/ghy1U+V9vPCW+5HtcPBVyCNF1fAC1CMzSbDzNB0m3ozPlXys+l2YFSnt9l/oS8exUQ= X-Received: by 2002:a5d:9359:: with SMTP id i25mr7667612ioo.30.1543655026632; Sat, 01 Dec 2018 01:03:46 -0800 (PST) MIME-Version: 1.0 From: Crane Chu Date: Sat, 1 Dec 2018 17:03:35 +0800 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] memzone reserve 2GB memory fail in dynamic memory mode X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Dec 2018 09:03:47 -0000 Hi, In my DPDK/SPDK application, it needs a large contiguous memory (2GB or even much larger) given enough memory pre-allocated. It works fine with DPDK before v18.05. Now, I want to upgrade DPDK to v18.10, which includes the reworked memory subsystem. In legary mode, rte_memzone_reserve_aligned can still reserve the memory successfully, and the application works fine. However, in new dynamic mode, rte_memzone_reserve_aligned(... 2GB, ..., RTE_MEMZONE_IOVA_CONTIG) fails always. So, in dynamic memory mode of the reworked memory subsystem, is it possible to allocate the large contiguous memzone? Is there any special configuration required? Thanks, -Crane