Comments (5)
@kawasaki FYI
from nvme-cli.
Could you post the output of these commands here?
nvme id-ns /dev/nvmeXnY
cat /proc/meminfo
The test fails because the tests is allocate bigger chunks of linear memory and it might be that this machine runs out of big blocks of memory.
The allocation strategy is to use posix_memalign for allocation below 512k first. For larger allocation we try hugetlb and if this fails it's posix_memalign/madvise.
One thing you could try is, if /proc/sys/vm/nr_hugepages
is return 0, tell the kernel to reserve a few of the hugepages before running the test:
echo 20 > /proc/sys/vm/nr_hugepages
from nvme-cli.
Could you post the output of these commands here?
nvme id-ns /dev/nvmeXnY cat /proc/meminfo
Here is the info:
NVME Identify Namespace 1:
nsze : 0x200000
ncap : 0x200000
nuse : 0x200000
nsfeat : 0x12
nlbaf : 0
flbas : 0
mc : 0
dpc : 0
dps : 0
nmic : 0x1
rescap : 0
fpi : 0
dlfeat : 0
nawun : 0
nawupf : 0
nacwu : 0
nabsn : 0
nabo : 0
nabspf : 0
noiob : 0
nvmcap : 0
npwg : 0
npwa : 0
npdg : 7
npda : 7
nows : 0
mssrl : 0
mcl : 0
msrc : 0
nulbaf : 0
anagrpid: 1
nsattr : 0
nvmsetid: 0
endgid : 0
nguid : 00000000000000000000000000000000
eui64 : 0000000000000000
lbaf 0 : ms:0 lbads:9 rp:0 (in use)
MemTotal: 2020144 kB
MemFree: 1706188 kB
MemAvailable: 1820712 kB
Buffers: 5516 kB
Cached: 119724 kB
SwapCached: 0 kB
Active: 144008 kB
Inactive: 37584 kB
Active(anon): 56684 kB
Inactive(anon): 0 kB
Active(file): 87324 kB
Inactive(file): 37584 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 2019324 kB
SwapFree: 2019324 kB
Zswap: 0 kB
Zswapped: 0 kB
Dirty: 168 kB
Writeback: 0 kB
AnonPages: 56372 kB
Mapped: 47772 kB
Shmem: 332 kB
KReclaimable: 14016 kB
Slab: 61652 kB
SReclaimable: 14016 kB
SUnreclaim: 47636 kB
KernelStack: 3456 kB
PageTables: 6904 kB
SecPageTables: 0 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 3029396 kB
Committed_AS: 236332 kB
VmallocTotal: 534773760 kB
VmallocUsed: 20336 kB
VmallocChunk: 0 kB
Percpu: 24064 kB
CmaTotal: 4096 kB
CmaFree: 4096 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 1024 kB
Hugetlb: 0 kB
DirectMap4k: 116736 kB
DirectMap1M: 1980416 kB
DirectMap2G: 0 kB
The test fails because the tests is allocate bigger chunks of linear memory and it might be that this machine runs out of big blocks of memory.
The allocation strategy is to use posix_memalign for allocation below 512k first. For larger allocation we try hugetlb and if this fails it's posix_memalign/madvise.
One thing you could try is, if
/proc/sys/vm/nr_hugepages
is return 0, tell the kernel to reserve a few of the hugepages before running the test:echo 20 > /proc/sys/vm/nr_hugepages
Yeah, the nr_hugepages is 0, it works now after changing it to 20.
from nvme-cli.
https://lore.kernel.org/linux-nvme/[email protected]/
from nvme-cli.
Thanks, close this issue now.
from nvme-cli.
Related Issues (20)
- How do I make nvme-cli work to a /dev/sda device? HOT 1
- "nvme list" command not listing the NVMe device information HOT 35
- Request: please add the appimage to releases. HOT 1
- nvme effects-log shows nothing when set to binary HOT 2
- CI build: add a build job which builds the documentation
- AppImage doesn't include correct git version.
- nvme show-regs /dev/nvme0 returns: nvme0 failed to map. Did your kernel enable CONFIG_IO_STRICT_DEVMEM? HOT 7
- Main branch compilation error on struct nvme_nvm_id_ns HOT 2
- Race condition leading to segfault when subsystem/controller removed during nvme list HOT 2
- Build problem HOT 3
- problem with creating the rpm for 2.5 HOT 3
- Documentation install failure with `nvme-cli 2.10` HOT 4
- Building nvme-cli 2.10 with man documentation fails HOT 3
- nvme smart-log does not show temps in Celsius HOT 3
- How to Re-enable NVMe Write Cache via `nvme-cli`? HOT 4
- nvme-cli "nvme list" command shows wrong usage information HOT 5
- nvme-cli:2.10.2: LIBNVME_MI_ and LIBNVME_1.10 not found error seen with Ubuntu 24.04 (Kernel 6.8.0-31) HOT 3
- nvme list can't refresh the firmware version HOT 3
- FR: Improvements to Disk Sanitisation to assure destruction of data HOT 1
- [NVMeOF Host] Question with `nr-write/io-queues` in `nvme connect` HOT 3
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 nvme-cli.