All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [SPDK] A question for bdev_io cache
@ 2019-10-09  2:09 Yijing Wang
  0 siblings, 0 replies; only message in thread
From: Yijing Wang @ 2019-10-09  2:09 UTC (permalink / raw
  To: spdk

[-- 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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-09  2:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-09  2:09 [SPDK] A question for bdev_io cache Yijing Wang

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.