All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: Mike Christie <michael.christie@oracle.com>
Cc: jasowang@redhat.com, mst@redhat.com, sgarzare@redhat.com,
	pbonzini@redhat.com, target-devel@vger.kernel.org,
	virtualization@lists.linux-foundation.org
Subject: Re: [PATCH v2 0/8] vhost-scsi: Memory reduction patches
Date: Wed, 4 Dec 2024 15:47:23 -0500	[thread overview]
Message-ID: <20241204204723.GA48585@fedora> (raw)
In-Reply-To: <20241203191705.19431-1-michael.christie@oracle.com>

[-- Attachment #1: Type: text/plain, Size: 777 bytes --]

On Tue, Dec 03, 2024 at 01:15:07PM -0600, Mike Christie wrote:
> The following patches were made over Linus's tree and also apply over
> the mst vhost branch. They reduce the memory use for vhost-scsi.
> 
> For a simple device with 1 queue and 128 cmds we use around 25 MB. These
> patches allow us to reduce that to 8.2 MB when supporting up to 128 8 MB
> IOs (the current passthrough max size).
> 
> For a more complex device with 16 queues we use around 2.5 GB. These
> patches allow us to reduce that to 77.1 MB when supporting 1024 8 MB IOs.
> 
> v2
> - Rebase against current trees/branches.
> - Fix email threading.
> 

Nice improvement! I haven't reviewed the patches in detail but this
sounds good.

Acked-by: Stefan Hajnoczi <stefanha@redhat.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

      parent reply	other threads:[~2024-12-04 20:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-03 19:15 [PATCH v2 0/8] vhost-scsi: Memory reduction patches Mike Christie
2024-12-03 19:15 ` [PATCH v2 1/8] vhost-scsi: Reduce mem use by moving upages to per queue Mike Christie
2024-12-03 19:15 ` [PATCH v2 2/8] vhost-scsi: Allocate T10 PI structs only when enabled Mike Christie
2024-12-03 19:15 ` [PATCH v2 3/8] vhost-scsi: Add better resource allocation failure handling Mike Christie
2025-02-24 22:53   ` dongli.zhang
2024-12-03 19:15 ` [PATCH v2 4/8] vhost-scsi: Return queue full for page alloc failures during copy Mike Christie
2024-12-03 19:15 ` [PATCH v2 5/8] vhost-scsi: Dynamically allocate scatterlists Mike Christie
2024-12-03 19:15 ` [PATCH v2 6/8] vhost-scsi: Stop duplicating se_cmd fields Mike Christie
2024-12-03 19:15 ` [PATCH v2 7/8] vhost-scsi: Allocate iov_iter used for unaligned copies when needed Mike Christie
2024-12-03 19:15 ` [PATCH v2 8/8] vhost-scsi: Reduce response iov mem use Mike Christie
2024-12-04 20:47 ` Stefan Hajnoczi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241204204723.GA48585@fedora \
    --to=stefanha@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=michael.christie@oracle.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=sgarzare@redhat.com \
    --cc=target-devel@vger.kernel.org \
    --cc=virtualization@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.