Return-Path: DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org A16E74149F DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 7453540622 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunadesign.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=XwZEK/z8IkghPi6SXMjduF4EbFW7PoC6xdkIcD88kHw=; b=z6WWd9JA4OeuObO6kFW+5tg6zI 9m7MTdCJJ1aUh0xdQd1CbS8R3ZqLfdAG9tH6Db22o5HY/kNG8sVIcJ1V2xlAy3rIzGVXqXYDHjeM2 t7v9j3590Y5yvjcNUY93faAUpWD4lGMDJAWmv3n0Ue2xeV3P/4ws2x5L9BuKn+y+4rWuAZwbUuSqd 7OyYZjiT7Q2A6sxdp0ZFN9Wd8pIojBuwMzBZqXr3jGuxN0nQdDSUD9gzMHHnRqMB6+8RMCZ+kwRcK H83qaZq9kPuEI+Zjd2cwNwaeR5t7nf3psYRhVbVuPZFvM9ifnjLsRA9p5jb1vhHk7fQcLC16EVXi4 YVh5iLrQ==; From: "Luis Navarro" Date: Mon, 10 Apr 2023 15:36:41 -0700 Message-ID: <43f301d96bfc$ebfc6e60$c3f54b20$@lunadesign.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_43F4_01D96BC2.3F9E0B90" Content-Language: en-us Subject: [SPDK] Can't create large Malloc bdev List-Id: Storage Performance Development Kit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: spdk@lists.linuxfoundation.org This is a multipart message in MIME format. ------=_NextPart_000_43F4_01D96BC2.3F9E0B90 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi all, I'm new to SPDK and testing out the SPDK NVMe-oF target with the latest ESXi 7.x initiator. I've got an Ubuntu 22.04 LTS server with 512 GB RAM and seem to be unable to create a Malloc bdev that's larger than 14 GB. Here's what I am seeing: $ sudo HUGEMEM=102400 scripts/setup.sh $ sudo scripts/rpc.py bdev_malloc_create -b malloc0 16384 512 request: { "num_blocks": 33554432, "block_size": 512, "name": "malloc0", "method": "bdev_malloc_create", "req_id": 1 } Got JSON-RPC error response response: { "code": -12, "message": "Cannot allocate memory" } What am I doing wrong? Thanks! Luis ------=_NextPart_000_43F4_01D96BC2.3F9E0B90 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi all,

 

I'm new to = SPDK and testing out the SPDK NVMe-oF target with the latest ESXi 7.x = initiator.

 

I've got an Ubuntu 22.04 LTS server with 512 GB RAM = and seem to be unable to create a Malloc bdev that's larger than 14 = GB.

 

Here’s what I am seeing:

 

$ sudo = HUGEMEM=3D102400 scripts/setup.sh

$ sudo scripts/rpc.py bdev_malloc_create -b malloc0 16384 = 512

request:

{

  = "num_blocks": 33554432,

  "block_size": 512,

  "name": = "malloc0",

  = "method": = "bdev_malloc_create",

  "req_id": 1

}

Got JSON-RPC error = response

response:

{

  = "code": -12,

  = "message": "Cannot allocate = memory"

}

 

What am I = doing wrong?

 

Thanks!

Luis

 

------=_NextPart_000_43F4_01D96BC2.3F9E0B90--