From: Yijing Wang <wangyijing0307 at gmail.com>
To: spdk@lists.01.org
Subject: [SPDK] A question for bdev_io cache
Date: Wed, 09 Oct 2019 10:09:51 +0800 [thread overview]
Message-ID: <56c7baa5-ee1e-2897-0be5-8890481b53cf@gmail.com> (raw)
In-Reply-To: 555b88e8-3d34-bbb1-d86c-4bcd68d195b6@gmail.com
[-- Attachment #1: Type: text/plain, Size: 675 bytes --]
Hi James,
I'm a spdk developer from china, I'm sorry to disturb you,
recently I read the latest spdk bdev io code, and found that spdk
prepopulate per-thread bdev_io cache in bdev module.
As we knew, dpdk rte_mempool_create has a parameter cache_size which
allow users to cache some objects in local cpu, my question is why you
post the patch to create bdev io cache
in bdev own list, but not use default dpdk rte_mempool cache mechnasim?
The reason is dpdk rte_mempool cache cannot prevent a bdev device in a
thread from starvation? Since dpdk
rte_mempool cache is preserved for all users in the same cpu thread.
Thanks!
Yijing.
reply other threads:[~2019-10-09 2:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=56c7baa5-ee1e-2897-0be5-8890481b53cf@gmail.com \
--to=spdk@lists.01.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox