Comments (4)
and also from nvme spec PSDT need physical continuous, SPDK use huge page then each 2MB is continous, but jNVMf, have to use 4K continuous?
any insight to share me?
PRP or SGL for Data Transfer (PSDT): This field specifies whether PRPs or SGLs are used for any datatransfer associated with the command. PRPs shall be used for all Admin commands for NVMe over PCIe.SGLs shall be used for all Admin and I/O commands for NVMe over Fabrics. This field shall be set to 01b forNVMe over Fabrics 1.0 implementations. The definition is described in the table below.Value Definition00b PRPs are used for this transfer.01bSGLs are used for this transfer. If used, Metadata Pointer(MPTR) contains an address of a single contiguous physicalbuffer that is byte aligned.10bSGLs are used for this transfer. If used, Metadata Pointer(MPTR) contains an address of an SGL segment containingexactly one SGL Descriptor that is Qword aligned.11b ReservedIf there is metadata that is not interleaved with the logical block data, as specified in the Format NVMcommand, then the Metadata Pointer (MPTR) field is used to point to the metadata. The definition of theMetadata Pointer field is dependent on the setting in this field. Refer to Figure 11. | Value | Definition | 00b | PRPs are used for this transfer. | 01b | SGLs are used for this transfer. If used, Metadata Pointer(MPTR) contains an address of a single contiguous physicalbuffer that is byte aligned. | 10b | SGLs are used for this transfer. If used, Metadata Pointer(MPTR) contains an address of an SGL segment containingexactly one SGL Descriptor that is Qword aligned. | 11b | Reserved |
---|---|---|---|---|---|---|---|---|---|---|
Value | Definition | |||||||||
00b | PRPs are used for this transfer. | |||||||||
01b | SGLs are used for this transfer. If used, Metadata Pointer(MPTR) contains an address of a single contiguous physicalbuffer that is byte aligned. | |||||||||
10b | SGLs are used for this transfer. If used, Metadata Pointer(MPTR) contains an address of an SGL segment containingexactly one SGL Descriptor that is Qword aligned. | |||||||||
11b | Reserved |
from jnvmf.
Please take a look at the NVMe over Fabrics specification. Not all types are supported by NVMf. PRPs are NOT supported via NVMf.
from jnvmf.
nvmeof spec does not have it. this is defined in nvme spec. from the spec, it mention it need below payload is physical continuous. how about your jNVMf? SPDK use huge page, each page has 2MB. but jNVMf make sure underlying is physical continous?
req->cmd.dptr.sgl1.keyed.length = req->payload_size;
req->cmd.dptr.sgl1.address = (uint64_t)payload;
from jnvmf.
I can only urge you to read the NVMf specification. It is clearly layed out there how memory is handled. Certainly there is no need to make the underlying memory physical continuous since this is handled by the RDMA NIC.
from jnvmf.
Related Issues (15)
- have you verified the if this java host works well with kernel nvme-of target HOT 53
- failed to connect the NVMeOF kernel target HOT 6
- did JNVMf handle the NVME AER correctly? HOT 6
- Exception in thread "main" java.lang.NoSuchMethodError: HOT 9
- Target configuration error when create subsystems HOT 4
- Failed to do Latency measurements for jNVMf on HW HOT 9
- do we handle the fatal RDMA error in our code? HOT 2
- if this project support SGL RDMA read and write model now? HOT 3
- can you create one simple read/write example application HOT 6
- our nvme target subsystem nqn name is just one UUID string, not following NVMe spec strictly HOT 3
- if nvmeOF target does not exist, jNVMf will hand there instead report correct error then quit HOT 3
- can we work on the NVMeOF TCP at host side to connect kernel TCP target? HOT 1
- README sample program compile error HOT 14
- SPDK when do rdma connect they give below parameter to target, but jNVMf did not handle this HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jnvmf.